1.1.5 • Published 4 years ago

homebridge-edomoticz-ui-x v1.1.5

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
4 years ago

npm (tag) npm

Homebridge-eDomoticz-ui-x

This is a plugin for Homebridge and Homebridge Config UI X Support and Domoticz. This is a fork of the work originally done by PatchworkBoy.

Supports:

Provides:

** assumes the EvoHome has been setup according to this script method.

Installation

Option 1: Install via Homebridge Config UI X:

  1. Navigate to the Plugins page in in homebridge-config-ui-x.
  2. Search for "domoticz" and install homebridge-edomoticz-ui-x.

Option 2: Manually Install:

sudo npm install -g homebridge-edomoticz-ui-x

Update

Option 1: Update via Homebridge Config UI X:

  1. Navigate to the Plugins page in homebridge-config-ui-x.
  2. Click the Update button for the eDomoticz-ui-x plugin.

Option 2: Manually Update:

sudo npm update -g homebridge-edomoticz-ui-x

Configuration

To configure homebridge-gsh you must also be running homebridge-config-ui-x.

  1. Navigate to the Plugins page in homebridge-config-ui-x.
  2. Click the Settings button for the eDomoticz-ui-x plugin.

    sDomoticz-ui-x

Manual Settings

~/.homebridge/config.json example:

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:21:3E:E4:DE:33",
        "port": 51826,
        "pin": "031-45-154"
    },
    "platforms": [
        {
            "platform": "eDomoticz-ui-x",
            "name": "Domoticz",
            "server": "127.0.0.1",
            "port": 8080,
            "ssl": false,
            "roomid": 0,
            "mqtt": true,
            "debuglog":false,
            "excludedDevices": [],
            "dimFix": 0
        }
    ],
    "accessories": []
}

To prevent certain Domoticz devices from showing up in HomeBridge it is possible to exclude them by setting the "excludedDevices" parameter. Provide an array of Domoticz Device IDX's, which can be found in the Domoticz dashboard on the "Setup > Devices" page and look for the "idx" column.

"excludedDevices": ["12","30","129"]

The dimFix variable relates to an early issue between HomeKit and Domoticz regarding scaling of dimmer values. These days, for the majority of setups this variable can be set to 0 or omitted entirely. If you find that you can never set your dimmers to 100%, then set this variable to 1. If you find that, when you set your dimmers, this starts a never ending loop of brightness increasing by 1%, then you MUST omit this variable or set it to 0.

"dimFix": 0

MQTT

By default, the plugin will grab hardware information regarding MQTT from Domoticz if mqtt is 1 or true in the configuration file. Advanced users can override their MQTT configuration as follows:

"mqtt": {
  "host": "alternate.mqtt.com",
  "port": 1234,
  "topic": "domoticz/out",
  "username": "username",
  "password": "password"
}

Values can be omitted from this dictionary, and the values that need overriding can be kept, e.g.

"mqtt": {
    "port": 1234
}

to only override the port value.

SSL

Set "ssl":1 or true in config.json to turn on SSL (ie: server connects with https:// rather than http://). You will need to specify your SSL port - usually "port":"443" by default.

Tips

Authentication

If Domoticz is set up to use basic or form login authentication, set "server":"user:pass@ip" within config.json. The plugin will internally extract the username and password, base64 encode it and send it as a http authorization header whenever it talks to your Domoticz server.

Issues pairing to Homebridge when you have a lot of Domoticz sensors...

If you have more than 99 devices in Domoticz, you need to limit the number of devices exposed to HomeKit (Homebridge only supports 99 Accessories on a single bridge - whilst we could combine multiple sensors into a single homekit accessory within the plugin, the possible combinations out there are endless, so we won't).

Therefore, to reduce the number of devices exposed from Domoticz, create a roomplan within Domoticz via Setup > More Options > Plans > roomplan. Add only the devices you wish to be exposed to HomeKit to this new roomplan within Domoticz, and then get it's roomidx number. Set "roomid" in your config.json file to this room number.

Is my device supported??

See Domoticz API Reference - query your device as per the instructions there, and if your device’s SwitchTypeVal isn't in the 'Supports:' list or Type/SubType aren’t in the ’Provides:' list above then it'll just appear as an On/Off switch. Open a new issue including the output from the json api and I’ll get look into supporting that particular device more fully!

What does the Override slider represent on the EvoHome Thermostat?

Override-Until time in minutes from the current time. Allows setting an override-until time upto 8 hours in the future. Setting this slider to 0 will set the heating mode to Auto. Setting it to 481 will set the override as a PermanentOverride.

Logging

Complies with Homebridge's native logging & debugging methodology - see https://github.com/nfarina/homebridge/wiki/Basic-Troubleshooting

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago