PHPackages                             rutgerkirkels/domoticz-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. rutgerkirkels/domoticz-php

ActiveLibrary[API Development](/categories/api)

rutgerkirkels/domoticz-php
==========================

Library for connecting to Domoticz

v0.1.1-alpha(8y ago)3171MITPHP

Since Feb 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rutgerkirkels/DomoticzPHP)[ Packagist](https://packagist.org/packages/rutgerkirkels/domoticz-php)[ RSS](/packages/rutgerkirkels-domoticz-php/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

DomoticzPHP
===========

[](#domoticzphp)

PHP Library for connecting to Domoticz

With this library you can control lights, switches, thermostats and other home automation devices with PHP by connecting to [Domoticz](http://domoticz.com), the open-source Home Automation System.

**Installation**

> php composer.phar require rutgerkirkels/domoticz-php

**Basic usage**

```
// Initialize the Domoticz library with the hostname of the Domoticz machine.
// If you didn't set login credentials, you can leave the username and password
// attributes empty.

$client = new \rutgerkirkels\DomoticzPHP\Client('http://YOUR_DOMOTICZ_MACHINE:PORT', , );

// Get all lights and switches
$lightsAndSwitches = $client->getDevices('light');

// Get the status of a device
$device = $client->getDeviceByIdx();
echo $device->getStatus();

// When the device is a dimmer, get the current set level in percentages (return false of not a dimmer)
$level = $device->getLevel();

// Initiate a controller for this dimmer
$dimmerController = (new \rutgerkirkels\DomoticzPHP\Factories\ControllerFactory($device))->get();

// and turn it on...
$dimmerController->turnOn();

// and off again...
$dimmerController->turnOff();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

2

Last Release

3016d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e2826b32aa4e5fd55d24a6d4f9a30e9337a85528a07073f34a662f61f4ee221?d=identicon)[rutgerkirkels](/maintainers/rutgerkirkels)

---

Top Contributors

[![rutgerkirkels](https://avatars.githubusercontent.com/u/7009325?v=4)](https://github.com/rutgerkirkels "rutgerkirkels (35 commits)")

---

Tags

client-librarydomoticzphprest-apiclienthome automationdomoticsdomoticz

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rutgerkirkels-domoticz-php/health.svg)

```
[![Health](https://phpackages.com/badges/rutgerkirkels-domoticz-php/health.svg)](https://phpackages.com/packages/rutgerkirkels-domoticz-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[gmostafa/php-graphql-client

GraphQL client and query builder.

3217.6M25](/packages/gmostafa-php-graphql-client)[kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3633.0M18](/packages/kunalvarma05-dropbox-php-sdk)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[softonic/graphql-client

Softonic GraphQL client

1343.3M7](/packages/softonic-graphql-client)[crowdin/crowdin-api-client

PHP client library for Crowdin API v2

611.5M5](/packages/crowdin-crowdin-api-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
