Page 68 of 86
Re: homebridge-edomoticz Plugin
Posted: Thursday 08 June 2017 17:24
by simon_rb
I am up to my 100 devices exposed to HomeKit using eDomoticz, I assume I can run a new bridge and run two eDomoticz on the same raspberry pi. Do I just add another instance within the config file? Didn't want to chance it without asking just in case I break it..
Cheerrs
Re: homebridge-edomoticz Plugin
Posted: Thursday 08 June 2017 18:45
by theo69
After reboot my iphone does not find homebridge (homebridge is running without error. When reinstalling homebridge-edomotics I am getting:
Re: homebridge-edomoticz Plugin
Posted: Friday 09 June 2017 10:43
by frizby66
Anyone having issues with Domoticz / eDomotics / Homebridge use with Nest?
If I make changes within Domoticz to the temp then there are no issues. If I make the change within Homekit I get multiple inputs showing in the log and Domoticz becomes very slow for a period of time. Have other devices on Homekit via eDomoticz and no issues with them (light switches).
Code: Select all
2017-06-09 09:35:43.419 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:35:43.438 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:35:48.613 Sending SetPoint to device....
2017-06-09 09:36:03.448 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:36:03.469 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:36:03.565 Sending SetPoint to device....
2017-06-09 09:36:23.449 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:36:23.466 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:36:23.479 (Heating) Lighting 2 (Home Hallway HeatingOn)
2017-06-09 09:36:43.467 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:36:43.485 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:37:13.984 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:37:14.000 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:37:44.505 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:37:44.521 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:38:15.067 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:38:15.084 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:38:45.590 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:38:45.602 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:39:16.124 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:39:16.142 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:39:46.648 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:39:46.664 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:40:22.652 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:40:22.666 (Heating) Temp + Humidity (Home Temperature)
2017-06-09 09:40:53.186 (Heating) Thermostat (Home Heating Set)
2017-06-09 09:40:53.202 (Heating) Temp + Humidity (Home Temperature)
Re: homebridge-edomoticz Plugin
Posted: Friday 09 June 2017 10:46
by frizby66
theo69 wrote:After reboot my iphone does not find homebridge (homebridge is running without error. When reinstalling homebridge-edomotics I am getting:
From what I see it looks like a simple warning to see some of the npm stuff has been updated.... might be time to backup you data and then update your system.
Re: homebridge-edomoticz Plugin
Posted: Saturday 10 June 2017 18:59
by matv
Since I could not find anything on this forum about this new announcement from Apple I decided to share this with you.
During the “What’s new in HomeKit” session developers were told that HomeKit smart devices—that had previously had to go through extensive testing and include a special cryptographic chip for authentication — can now use software based authentication, and be self-certified. You can in fact now even build your HomeKit devices out of an Arduino, or a Raspberry Pi.
Of course you could sort of do that before using something called HomeBridge—a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API—as it’s pretty easy to get HomeBridge running on the Raspberry Pi.
What’s different now is that, amongst other things, you don’t have to fear a DMCA take down notice from Apple.
But also that your microcontroller-based HomeKit device can talk directly to your phone, without going through a bridge.
source:
https://blog.hackster.io/why-apples-hom ... 3c3d7fdbc8
I'm abroad without my Pi for a while but please let me know your findings in case you are planning to try this out!

Re: homebridge-edomoticz Plugin
Posted: Thursday 15 June 2017 12:49
by theolsen
Hi all,
I am having trouble with scenes in the Home and Eve apps.
If I run a scene for example "Good Night" which in turn throws a switch in Domoticz, that is fine but if I try and run it again it does not respond. The only way to make it respond is to go into the Home app and toggle the scene to "Off".
Has anyone seen this behaviour?
TIA
Re: homebridge-edomoticz Plugin
Posted: Saturday 01 July 2017 3:51
by Onkytonk
Hi,
I've added a few Mi-Lights to my domoticz. These are rgb+cct bulbs. I also have a few rgb strip controllers.
These appear as the same type of switch in domoticz, but when I add them to homebridge, I can't change the colour/temperature of the rgb+cct bulb but it's available for the rgb strips (through HomeKit).
Any idea why HomeKit/homebridge isn't giving me that option with the rgb+cct bulbs?
Thanks.
Re: homebridge-edomoticz Plugin
Posted: Saturday 01 July 2017 8:08
by marcotrumpet
Onkytonk wrote:Hi,
I've added a few Mi-Lights to my domoticz. These are rgb+cct bulbs. I also have a few rgb strip controllers.
These appear as the same type of switch in domoticz, but when I add them to homebridge, I can't change the colour/temperature of the rgb+cct bulb but it's available for the rgb strips (through HomeKit).
Any idea why HomeKit/homebridge isn't giving me that option with the rgb+cct bulbs?
Thanks.
I've the same problem with mi-light rgbww bulbs and no idea..
Inviato dal mio iPhone utilizzando Tapatalk
Re: homebridge-edomoticz Plugin
Posted: Sunday 02 July 2017 8:54
by Onkytonk
theolsen wrote:Hi all,
I am having trouble with scenes in the Home and Eve apps.
If I run a scene for example "Good Night" which in turn throws a switch in Domoticz, that is fine but if I try and run it again it does not respond. The only way to make it respond is to go into the Home app and toggle the scene to "Off".
Has anyone seen this behaviour?
TIA
I had the same problem.
Basically homebride doesn't recognised Domoticz Scenes. So obviously the workaround is to create a dummy switch that triggers the scene. So because these are switches, they either stay on or off. Homekit doesn't work with push on switches either. The way to get it to function, is to set an off delay on the switch. That way, afer you use it to trigger the scene, it will turn itself off shortly afterwards. Allowing you to reuse it later.
Re: homebridge-edomoticz Plugin
Posted: Monday 03 July 2017 0:13
by theolsen
I had the same problem.
Basically homebride doesn't recognised Domoticz Scenes. So obviously the workaround is to create a dummy switch that triggers the scene. So because these are switches, they either stay on or off. Homekit doesn't work with push on switches either. The way to get it to function, is to set an off delay on the switch. That way, afer you use it to trigger the scene, it will turn itself off shortly afterwards. Allowing you to reuse it later.
Thanks for the reply, my problem is slightly different.
I do indeed have dummy switches so that homebridge can switch those and then Domoticz will run the scene. Let me clarify:
I have a door lock in Domoticz for example. I have a dummy switch called 'Door' that when turned on will unlock the door and then the switch turns off.
I create a scene in the Home app called 'Unlock the front door' which turns the Door switch on and yes, the door unlocks correctly. But when I issue the Unlock command to Siri for a second time nothing happens because in the Home app (or Elgato Eve app) the scene is already on. I think it happened with an iOS update as it used to be fine. i just can't remember when exactly it stopped working.
The problem appears to be in the Home app as if you look at the scenes section in there you can click a scene and it switches on and you can click it again and it switches off.
Hope that makes sense.
Re: homebridge-edomoticz Plugin
Posted: Sunday 09 July 2017 7:59
by edwin1234
My switches stopped working with homebridge,
The sensors and other stuff are ok
The switches are working in domoticz
How to solve this?
Thanks
Edwin
Re: homebridge-edomoticz Plugin
Posted: Tuesday 11 July 2017 20:02
by friso
Just another big thank you for all the work: following your clear instructions (made extra easy by providing all the commands) I managed to get HomeKit connected to my Homebridge. Almost magic when all my Domoticz devices are showing up in the Home app!
Using a 2b booting from a 16Gb usb stick.
Thanks!
Re: homebridge-edomoticz Plugin
Posted: Wednesday 12 July 2017 5:30
by jascai
Dear all:
I'm trying to add homebridge-edomoticz to my domoticz server following the wiki tutorial. But when I finished it and launch the homebridge, it got an error as the following and the homebridge cannot work.
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <
http://0pointer.de/avahi-compat?s=libd ns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <
http://0pointer.de/avahi-compat?s=libd ns_sd&e=nodejs&f=DNSServiceRegister>
[2017-7-12 11:17:14] Loaded plugin: homebridge-edomoticz
[2017-7-12 11:17:14] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2017-7-12 11:17:14] Registering platform 'homebridge-edomoticz.eDomoticz'
[2017-7-12 11:17:14] ---
[2017-7-12 11:17:14] Loaded config.json with 0 accessories and 1 platforms.
[2017-7-12 11:17:14] ---
[2017-7-12 11:17:14] Loading 1 platforms...
[2017-7-12 11:17:14] [eDomoticz] Initializing eDomoticz platform...
[2017-7-12 11:17:14] Loading 0 accessories...
[2017-7-12 11:17:14] [eDomoticz] Initializing platform accessory 'A'...
[2017-7-12 11:17:14] [eDomoticz] Initializing platform accessory 'B'...
[2017-7-12 11:17:14] [eDomoticz] Initializing platform accessory 'C'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 876-54-321 │
└────────────┘
events.js:163
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at Server.setupListenHandle [as _listen2] (net.js:1259:14)
at listenInCluster (net.js:1307:12)
at Server.listen (net.js:1406:7)
at EventedHTTPServer.listen (/usr/lib/node_modules/homebridge/node_modules/h ap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodej s/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/lib/node_modules/homebridge/node_modules/h ap-nodejs/lib/Accessory.js:486:16)
at Server._publish (/usr/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:372:14
How to solve this problem?
Many thanks!
Jas
Re: homebridge-edomoticz Plugin
Posted: Monday 17 July 2017 22:17
by Guiggess
Hello there,
I just finished the installation of Homebridge and eDomoticz plugin. Everything works fine so far. The only thing is that all of my Somfy blinds are shown up as switches. Not a big deal, but still annoying.
I just followed the official tutorial and installed node.js 8
Also, the actual "blind switches" are inverted. I need to ask "Open..." to actually close the blinds...
Thanks a lot
Re: homebridge-edomoticz Plugin
Posted: Monday 17 July 2017 22:18
by Artic1980
Inviato dal mio iPhone utilizzando Tapatalk
Re: homebridge-edomoticz Plugin
Posted: Thursday 20 July 2017 15:02
by martijnm
After installing the 2.0.0 version of Homebridge-eDomoticz I get this error message. I've cleaned the persist and accessories folder.
I have also tried to load an empty room in config.json without any Domoticz accessories configured, but still get the same message.
Code: Select all
Error: homebridge-edomoticz - eDomoticz attempt to unregister an accessory that isn't PlatformAccessory!
at API.unregisterPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/api.js:170:13)
at Object.configureAccessory (/usr/local/lib/node_modules/homebridge-edomoticz/index.js:176:16)
at Server._configCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:342:24)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:83:8)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Note: I downgraded to version 1.0.15, which is working fine.
Re: homebridge-edomoticz Plugin
Posted: Thursday 20 July 2017 21:55
by mcmikev
I updated totday to latest version but after a reboot there are no accessoires loaded. Went back to old version and works. Was version 2.0 I think
Re: homebridge-edomoticz Plugin
Posted: Thursday 20 July 2017 22:22
by martijnm
Have tested 2.0.3 as well. Now Homebridge is running as usual, but devices are not working in Home.app.
Have (again) cleaned the persist and accessories folder and removed my house in Home.app. After re-adding Homebridge, all devices are unresponsive.

Re: homebridge-edomoticz Plugin
Posted: Friday 21 July 2017 13:22
by mcmikev
Just upgraded to 2.0.4 and still no domoticz accesoires are loaded.
Code: Select all
[7/21/2017, 1:21:40 PM] Loaded plugin: homebridge-edomoticz
[7/21/2017, 1:21:40 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[7/21/2017, 1:21:40 PM] ---
[7/21/2017, 1:21:40 PM] Loaded plugin: homebridge-harmonyhub
[7/21/2017, 1:21:42 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[7/21/2017, 1:21:42 PM] ---
[7/21/2017, 1:21:42 PM] Loaded config.json with 0 accessories and 2 platforms.
[7/21/2017, 1:21:42 PM] ---
[7/21/2017, 1:21:42 PM] Loading 2 platforms...
[7/21/2017, 1:21:42 PM] [eDomoticz] Initializing eDomoticz platform...
[7/21/2017, 1:21:42 PM] [Harmony Hub] Initializing HarmonyHub platform...
[7/21/2017, 1:21:42 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
Re: homebridge-edomoticz Plugin
Posted: Friday 21 July 2017 15:16
by martijnm
Just upgraded to version 2.0.6, all things are back to normal. I did have to remove the persist and accessories folder contents. Also I have removed my house and added it as a new house in Home.app.
Thanks guys!