homebridge-edomoticz Plugin
Moderator: leecollings
-
- Posts: 7
- Joined: Friday 16 May 2014 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Should contact sensors also work with mqtt now? I have mqtt up an running perfectly with switches and motion sensors but my two contact sensors does not send mqtt updates... is this a known issue?
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: homebridge-edomoticz Plugin
Try to delete your persist folder in ~/.homebridge/persist.Purejet wrote:Trying to install Homebridge again. Service is running now. But when i open an Homekit app i don't see my bridge to connect with...
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: homebridge-edomoticz Plugin
I'm not sure, never tested contact sensors as I myself don't have one.phobosman wrote:Should contact sensors also work with mqtt now? I have mqtt up an running perfectly with switches and motion sensors but my two contact sensors does not send mqtt updates... is this a known issue?
Could you send device output JSON? (see first post)
I'll check to see if they're implemented.
-
- Posts: 7
- Joined: Friday 16 May 2014 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Ok here's my JSON output, thanks!TheRamon wrote:I'm not sure, never tested contact sensors as I myself don't have one.phobosman wrote:Should contact sensors also work with mqtt now? I have mqtt up an running perfectly with switches and motion sensors but my two contact sensors does not send mqtt updates... is this a known issue?
Could you send device output JSON? (see first post)
I'll check to see if they're implemented.
{
"ActTime" : 1481660671,
"ServerTime" : "2016-12-13 21:24:31",
"Sunrise" : "08:39",
"Sunset" : "14:45",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 100,
"CustomImage" : 0,
"Data" : "Closed",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 5,
"HardwareName" : "Aeon ",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00001000",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-12-07 16:36:46",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Altandörren",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Closed",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "Contact",
"SwitchTypeVal" : 2,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "contact",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "302"
}
],
"status" : "OK",
"title" : "Devices"
}
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Re: homebridge-edomoticz Plugin
Didn't follow instructions accurately from the first post of this thread. Just start again from step 1 in the first post.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: homebridge-edomoticz Plugin
Will have a look!phobosman wrote:Ok here's my JSON output, thanks!
- Spoiler: show
-
- Posts: 43
- Joined: Sunday 26 October 2014 22:11
- Target OS: Linux
- Domoticz version:
- Location: france
- Contact:
Re: homebridge-edomoticz Plugin
Can someone can confirm all is ok with blind percentage
Because after after sometime statut in home don't update
the command is ok i open blind statut change but when i close and i reopen home statut is not ok the blind is close
all mqtt is ok
and before in use branche MQTT all is ok now i use branche master and my blind have bug with update position
i thinks it's when i choose a certain % of position
how can i do for know what's a problem log ?
i delete persist it's the same
If i restart homebridge statut ok and update ok
Because after after sometime statut in home don't update
the command is ok i open blind statut change but when i close and i reopen home statut is not ok the blind is close
all mqtt is ok
and before in use branche MQTT all is ok now i use branche master and my blind have bug with update position
i thinks it's when i choose a certain % of position
how can i do for know what's a problem log ?
i delete persist it's the same
If i restart homebridge statut ok and update ok
-
- Posts: 43
- Joined: Sunday 26 October 2014 22:11
- Target OS: Linux
- Domoticz version:
- Location: france
- Contact:
Re: homebridge-edomoticz Plugin
I delete all homebridge and npm on linux
i reinstall all
same bug after some move blind % statut don't update
So i try other branche mqtt-integration-RFXMeter
And now all is ok statut always update
If you wan't to try make virtual blind percentage inverted type 16
move on domoticz and you see home good statut finish by close blind and close and reopen home
If i wan't do something for find the problem
thanks a lot
i reinstall all
same bug after some move blind % statut don't update
So i try other branche mqtt-integration-RFXMeter
And now all is ok statut always update
If you wan't to try make virtual blind percentage inverted type 16
move on domoticz and you see home good statut finish by close blind and close and reopen home
If i wan't do something for find the problem
thanks a lot
-
- Posts: 8
- Joined: Tuesday 29 March 2016 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Hi,
I'm running the latest stable build 3.5877 (updated from the stable SD image of 4xxx).
Yesterday I updated eDomoticz and homebridge via the commands mentioned in the beginning of this topic:
sudo npm update -g homebridge --unsafe-perm
sudo npm update -g homebridge-edomoticz --unsafe-perm
Since then I receive below error when it's trying to initialize my Netatmo device's CO2 detector.
I'm running the latest stable build 3.5877 (updated from the stable SD image of 4xxx).
Yesterday I updated eDomoticz and homebridge via the commands mentioned in the beginning of this topic:
sudo npm update -g homebridge --unsafe-perm
sudo npm update -g homebridge-edomoticz --unsafe-perm
Since then I receive below error when it's trying to initialize my Netatmo device's CO2 detector.
Code: Select all
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[12/17/2016, 8:29:27 AM] Loaded plugin: homebridge-edomoticz
[12/17/2016, 8:29:27 AM] Registering accessory 'homebridge-edomoticz.eDomoticz'
[12/17/2016, 8:29:27 AM] Registering platform 'homebridge-edomoticz.eDomoticz'
[12/17/2016, 8:29:27 AM] ---
[12/17/2016, 8:29:27 AM] Loaded config.json with 0 accessories and 1 platforms.
[12/17/2016, 8:29:27 AM] ---
[12/17/2016, 8:29:27 AM] Loading 1 platforms...
[12/17/2016, 8:29:27 AM] [Domoticz] Initializing eDomoticz platform...
[12/17/2016, 8:29:27 AM] Loading 0 accessories...
[12/17/2016, 8:29:28 AM] [Domoticz] Initializing platform accessory 'Boiler'
*BREAK*
[12/17/2016, 8:29:28 AM] [Domoticz] Initializing platform accessory 'Eetkamer CO2'...
/usr/lib/node_modules/homebridge-edomoticz/lib/domoticz_accessory.js:1188
airQualityService.getCharacteristic(Characteristic.AirParticulateDensity).on('get', this.getValue.bind(this));
^
TypeError: Cannot read property 'on' of undefined
at Object.eDomoticzAccessory.getServices (/usr/lib/node_modules/homebridge-edomoticz/lib/domoticz_accessory.js:1188:79)
at Server._createAccessory (/usr/lib/node_modules/homebridge/lib/server.js:378:36)
at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:364:32)
at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
at Object.<anonymous> (/usr/lib/node_modules/homebridge-edomoticz/index.js:197:7)
at Request._callback (/usr/lib/node_modules/homebridge-edomoticz/lib/domoticz.js:78:9)
at Request.self.callback (/usr/lib/node_modules/homebridge-edomoticz/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request.<anonymous> (/usr/lib/node_modules/homebridge-edomoticz/node_modules/request/request.js:1082:10)
-
- Posts: 66
- Joined: Saturday 02 May 2015 21:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Bexleyheath, SE London, UK
- Contact:
Re: homebridge-edomoticz Plugin
Something that I have only just noticed but it may have been happening for a while now, is that my electricity consumption meter is no longer reporting properly.
It's an Owl device which is recognised by Domoticz as a CM113 Electrisave device, Domoticz shows the correct figures, I realise that this is not supported by the built-in 'home' app in iOS10 but it always used to work ok in Eve and now doesn't.
Domoticz, homebridge and the e-domoticz plug-in along with the Eve app itself have all been updated to the latest version - there are no obvious errors that I can see.
In the Eve app, the power consumption is shown as either 2W or 3W and sometimes (but not always) an error message 'The accessory sent an invalid response. Please try again later'.
I don't know how many others would be using this particular sensor (mine is a fairly old model) so it's quite possible that nobody else has had the same issue - I'd be grateful for any ideas or suggestions, is it possible that a update at some point has broken it? Like I said I have only just noticed it but it could have been not working for a while.
Json output for the device ID is listed below if it helps.
Many thanks
John
It's an Owl device which is recognised by Domoticz as a CM113 Electrisave device, Domoticz shows the correct figures, I realise that this is not supported by the built-in 'home' app in iOS10 but it always used to work ok in Eve and now doesn't.
Domoticz, homebridge and the e-domoticz plug-in along with the Eve app itself have all been updated to the latest version - there are no obvious errors that I can see.
In the Eve app, the power consumption is shown as either 2W or 3W and sometimes (but not always) an error message 'The accessory sent an invalid response. Please try again later'.
I don't know how many others would be using this particular sensor (mine is a fairly old model) so it's quite possible that nobody else has had the same issue - I'd be grateful for any ideas or suggestions, is it possible that a update at some point has broken it? Like I said I have only just noticed it but it could have been not working for a while.
Json output for the device ID is listed below if it helps.
Many thanks
John
Code: Select all
{
"ActTime" : 1481964674,
"ServerTime" : "2016-12-17 08:51:14",
"Sunrise" : "08:01",
"Sunset" : "15:49",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 100,
"CustomImage" : 0,
"Data" : "575 Watt",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "F200",
"LastUpdate" : "2016-12-17 08:49:55",
"Name" : "Electricity Consumption",
"Notifications" : "false",
"PlanID" : "11",
"PlanIDs" : [ 11 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"SubType" : "CM113, Electrisave",
"Timers" : "false",
"Type" : "Current",
"TypeImg" : "current",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"displaytype" : 1,
"idx" : "251"
}
],
"status" : "OK",
"title" : "Devices"
}
I firmly believe in having an open mind - although not so open that your brain falls out!
- sometimes attributed to Carl Sagan, but the original quote is much older than that
- sometimes attributed to Carl Sagan, but the original quote is much older than that
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Hi,
I'd like to see only the Domoticz groups that are in a room/floorplan in Homebridge/Eve. My roomidx is 7, but this doesn't work: I get the error that HomeBridge has a problem connecting to Domoticz.
"roomid": 7,
"loadscenes": 1
Is this related to this part of the manual on page 1?
q: Are Domoticz SCENES supported?
a: Not directly, but there's a straightforward workaround. Create a dummy/virtual/manual switch in Domoticz and set the On action to trigger the scene (see https://www.domoticz.com/wiki/Domoticz_ ... _on_or_off ), and an Off delay to reset the switch.
eDomoticz / Homebridge will see the virtual switch.
What is the best way for my setup?
- We use a KlikAanKlikUit double switch AWST-8802. The left switch turns on the dimmable led lights to soft. The right switch turns the dimmable lights to bright.
- We want to operate the lights with Siri/Homebridge (This configuration already works)
Txs
I'd like to see only the Domoticz groups that are in a room/floorplan in Homebridge/Eve. My roomidx is 7, but this doesn't work: I get the error that HomeBridge has a problem connecting to Domoticz.
"roomid": 7,
"loadscenes": 1
Is this related to this part of the manual on page 1?
q: Are Domoticz SCENES supported?
a: Not directly, but there's a straightforward workaround. Create a dummy/virtual/manual switch in Domoticz and set the On action to trigger the scene (see https://www.domoticz.com/wiki/Domoticz_ ... _on_or_off ), and an Off delay to reset the switch.
eDomoticz / Homebridge will see the virtual switch.
What is the best way for my setup?
- We use a KlikAanKlikUit double switch AWST-8802. The left switch turns on the dimmable led lights to soft. The right switch turns the dimmable lights to bright.
- We want to operate the lights with Siri/Homebridge (This configuration already works)
Txs
-
- Posts: 181
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: homebridge-edomoticz Plugin
Hello,
how can I see, if there's a new version of the plugin available and how can I install it.Thanks!
@fennec62 : I t seems that I also have problems with my blinds in IOS 10.2. What is mqtt-integration-RFXMeter
, is it a special mqtt?
how can I see, if there's a new version of the plugin available and how can I install it.Thanks!
@fennec62 : I t seems that I also have problems with my blinds in IOS 10.2. What is mqtt-integration-RFXMeter
, is it a special mqtt?
-
- Posts: 43
- Joined: Sunday 26 October 2014 22:11
- Target OS: Linux
- Domoticz version:
- Location: france
- Contact:
Re: homebridge-edomoticz Plugin
hiharrykausl wrote:Hello,
how can I see, if there's a new version of the plugin available and how can I install it.Thanks!
@fennec62 : I t seems that I also have problems with my blinds in IOS 10.2. What is mqtt-integration-RFXMeter
, is it a special mqtt?
in git you are 2 branches the master and mqtt-integration-RFXMeter
the second branche is older branche and closed branche but no bug with blinds
So place in folder node_modules for me /usr/local/lib/node_modules , remove homebridge-edomoticz and
Code: Select all
sudo service homebridge stop
sudo git clone -b mqtt-integration-RFXMeter https://github.com/PatchworkBoy/homebridge-edomoticz.git
cd homebridge-edomoticz
sudo npm install
sudo service homebridge start
-
- Posts: 181
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: homebridge-edomoticz Plugin
Hello,
thanks for the answer. My problem with my somfy blinds is: In Domotiticz they work with open, close and stop, in homebridge / eve they worked too since the last update to ios 10.2 or the newest eve. Now in eve they are blinds with percentage, before they were switches with open and off. This percentage is wrong, because my somfy blinds can't do that. Is there any homebridge configuration, where I can recustomice the blinds to switches or to other blinds? I think that could solve my problem of the incorrect percentage.
thanks for the answer. My problem with my somfy blinds is: In Domotiticz they work with open, close and stop, in homebridge / eve they worked too since the last update to ios 10.2 or the newest eve. Now in eve they are blinds with percentage, before they were switches with open and off. This percentage is wrong, because my somfy blinds can't do that. Is there any homebridge configuration, where I can recustomice the blinds to switches or to other blinds? I think that could solve my problem of the incorrect percentage.
-
- Posts: 350
- Joined: Sunday 19 April 2015 0:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.2
- Location: UK
- Contact:
Re: homebridge-edomoticz Plugin
I'm experiencing a similar (but different!) problem. I've got an Owl CM119, and Eve is reporting Today and Total Consumption incorrectly: 6208283.0 kWh and 6,208,283.00 kWh respectively - should be 13.339 kWh and 6208.283 kWh (Consumption is correct, at 671W).Jem101 wrote:Something that I have only just noticed but it may have been happening for a while now, is that my electricity consumption meter is no longer reporting properly.
It's an Owl device which is recognised by Domoticz as a CM113 Electrisave device, Domoticz shows the correct figures, I realise that this is not supported by the built-in 'home' app in iOS10 but it always used to work ok in Eve and now doesn't.
JSON output below:
- Spoiler: show
-
- Posts: 108
- Joined: Thursday 12 February 2015 7:51
- Target OS: Linux
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Hi,
I use HomeBridge/Elgato Eve and I rather not configure the iPhone and Domoticz both so I tried the following:
My setup:
- A Kaku AWST-8802 double wall switch.
- This same switch switches a number of lights distributed across multiple Kaku ACD 200 dimmers: The left switch turns the lights on soft. The right switch turns the lights on bright.
- Due to the multiple Kaku dimmers I let the 8802 switch over groups within Domoticz.
- Unfortunately you don't see groups in Homebridge / Elgato Eve (also no scenes), so I made a room and plan where I have placed virtual switches that switch the groups with Json. (Even with a timeout on the virtual switches)
- Within the Domoticz GUI it goes well. Not within Elgato Eve, because inside Eve the switch is not reset.
Because I have more of the above configurations and I like it / find easy to switch with Siri, I praise a gift of 10 Euro for the correct answer
Txs
I use HomeBridge/Elgato Eve and I rather not configure the iPhone and Domoticz both so I tried the following:
My setup:
- A Kaku AWST-8802 double wall switch.
- This same switch switches a number of lights distributed across multiple Kaku ACD 200 dimmers: The left switch turns the lights on soft. The right switch turns the lights on bright.
- Due to the multiple Kaku dimmers I let the 8802 switch over groups within Domoticz.
- Unfortunately you don't see groups in Homebridge / Elgato Eve (also no scenes), so I made a room and plan where I have placed virtual switches that switch the groups with Json. (Even with a timeout on the virtual switches)
- Within the Domoticz GUI it goes well. Not within Elgato Eve, because inside Eve the switch is not reset.
Because I have more of the above configurations and I like it / find easy to switch with Siri, I praise a gift of 10 Euro for the correct answer

Txs
-
- Posts: 181
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: homebridge-edomoticz Plugin
I checked my blind-devices again. In Domoticz they are switches with normal typ blinds, in EVE they appear as position devices with percantage. Can I change this, that in eve I have also normal blinds (switches) with on and off.
Now at the moment I use 2 dummy switches to load blinds on and blinds off scenes and it works in eve. The advantage is, that I can handle scenes totally in domoticz. I also tried it with a selecor and 2 positions in domotics (open and close blinds) an this works in domotics too, but the selector seems not to work in home / eve.
Now at the moment I use 2 dummy switches to load blinds on and blinds off scenes and it works in eve. The advantage is, that I can handle scenes totally in domoticz. I also tried it with a selecor and 2 positions in domotics (open and close blinds) an this works in domotics too, but the selector seems not to work in home / eve.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: homebridge-edomoticz Plugin
Did you already had a closer look at the dimlevel using MQTT (regarding the 1% off)?TheRamon wrote:I can confirm Authorization broke in the last commit. I was a bit too enthusiastic with the refactoring and all. Have just fixed this issue on git / master. My apologies.
PS. G3rard: good find! Let me investigate. Looks like this is a Domoticz thing.
Not using Domoticz anymore
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: homebridge-edomoticz Plugin
@phobosman:
I have just pushed a new version to git and npm. This version has contact switches implemented. (MQTT)
My apologies for only getting back to you now. I have been very busy lately!
@fennec62:
I have just tested both normal blinds and inverted blinds. They seem to work perfectly. Changing percentage shows the exact percentage in the Home app. Fully opening or closing also shows the right values.
Do you have any more info?
@Awst6000:
Heya, just tested "roomid", my room ID is 2 and seems to be working. Also have a working connection to Domoticz. Are you sure your roomid 7 is right?
See my config:
@harrykausl:
@G3rard:
I have just pushed a new version to git and npm. This version has contact switches implemented. (MQTT)
My apologies for only getting back to you now. I have been very busy lately!

@fennec62:
I have just tested both normal blinds and inverted blinds. They seem to work perfectly. Changing percentage shows the exact percentage in the Home app. Fully opening or closing also shows the right values.
Do you have any more info?
@Awst6000:
Heya, just tested "roomid", my room ID is 2 and seems to be working. Also have a working connection to Domoticz. Are you sure your roomid 7 is right?
See my config:
- Spoiler: show
@harrykausl:
There's a command, npm outdated. If you have the plugin installed globally, use npm -g outdated.harrykausl wrote:Hello,
how can I see, if there's a new version of the plugin available and how can I install it.Thanks!
@G3rard:
IIRC. I had already fixed this issue in a previous release. What version are you running? Are you still experiencing this issue?G3rard wrote: Did you already had a closer look at the dimlevel using MQTT (regarding the 1% off)?
-
- Posts: 7
- Joined: Friday 16 May 2014 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Wow! Tried it and it works perfectly!TheRamon wrote:@phobosman:
I have just pushed a new version to git and npm. This version has contact switches implemented. (MQTT)
My apologies for only getting back to you now. I have been very busy lately!![]()
Thank you for the Christmas gift!

Merry Christmas!
Who is online
Users browsing this forum: No registered users and 1 guest