
homebridge-edomoticz Plugin
Moderator: leecollings
Re: eDomoticz Homebridge-Plugin
The sensor at right border is the sensor movement ms13 x10
Re: eDomoticz Homebridge-Plugin
The first on the second line instead is a x10 security movement sensor
- 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: eDomoticz Homebridge-Plugin
Ah. No idea then as don't have access to either. I've recreated your device here using your JSON output and it works fine in iOS9.3.4 & Eve & Home.
Try it on a non-beta OS. Until iOs10 is properly released I can't offer support to anyone running it.
Try it on a non-beta OS. Until iOs10 is properly released I can't offer support to anyone running it.
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!
Re: eDomoticz Homebridge-Plugin
Ok. Thank you anyway for your time
- 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: eDomoticz Homebridge-Plugin
(S'cos service types and characteristics are defined by hap-nodejs, part of homebridge, not part of the plugin. KhaosT has already said over on the hap-nodejs repo that he can't update hap-nodejs for iOS10 services & chars til the fall - some have changed, others have been added. Until he does that, anyone on iOS10 may have issues with some service types within homebridge.)
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!
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
ok so this is "Learning on the job"
i have realised i actually need an mqtt broker!, so i installed one on my pi, thats now working, domo is subscribed, I'm not sure what i should be subscribed too in the mqtt app to see the messages but the plugin still does not show me any messages in the home bridge log which is what i am expecting see.
when i switch a light on in domo i see the mqtt messages increase on the broker status page of the app i am using MQTT.fx
i have realised i actually need an mqtt broker!, so i installed one on my pi, thats now working, domo is subscribed, I'm not sure what i should be subscribed too in the mqtt app to see the messages but the plugin still does not show me any messages in the home bridge log which is what i am expecting see.
when i switch a light on in domo i see the mqtt messages increase on the broker status page of the app i am using MQTT.fx
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
- 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: eDomoticz Homebridge-Plugin
Domoticz publishes messages to the broker on domoticz/out, so you connect MQTT apps to the broker's IP on port 1883 and then subscribe specifically to domoticz/out, and you should see messages.
Presume you've added relevant bits to config.json to enable MQTT in the plugin?
Presume you've added relevant bits to config.json to enable MQTT in the plugin?
Last edited by Marci on Wednesday 10 August 2016 23:10, edited 1 time in total.
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!
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
Ok , I got a 5am start so I'll leave it for tonight, once again thanks for all your help
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
Speaking of new services, doorbell and live camera views sound great!
- 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: eDomoticz Homebridge-Plugin
Indeed... but I'm not entirely sure domoticz exposes cameras in a way that can be translated via the plugin. They'll be THE trickiest element of the lot. Might have to depend on external homebridge plugins to talk direct to the IP Cam.
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!
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
I think your right, only other option is for gizmocuz to update domoticz to export the cams a different way. Early days yet anywaysMarci wrote:Indeed... but I'm not entirely sure domoticz exposes cameras in a way that can be translated via the plugin. They'll be THE trickiest element of the lot. Might have to depend on external homebridge plugins to talk direct to the IP Cam.

- 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: eDomoticz Homebridge-Plugin
KhaosT says it'll need an RTP/SRTP node module.
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: eDomoticz Homebridge-Plugin
Hi Chris,chrispazz wrote:Ok. Thank you anyway for your time
I have just added your sensor to my system, and shows up properly as a "motion sensor" in HomeKit (iOS 10, too). No switch or anything.. I think it really has to do with your local caching. Somehow HomeKit still thinks this is a switch, like it was before.
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: eDomoticz Homebridge-Plugin
Yep, you need a broker. Normally Mosquitto (the broker) is shipped with Domoticz by default. You just enable it by going to "Setup > Hardware > MQTT Client Gateway with LAN interface". Fill in remote address "localhost" and port 1883 and add the "hardware".deejc wrote:ok so this is "Learning on the job"
i have realised i actually need an mqtt broker!, so i installed one on my pi, thats now working, domo is subscribed, I'm not sure what i should be subscribed too in the mqtt app to see the messages but the plugin still does not show me any messages in the home bridge log which is what i am expecting see.
when i switch a light on in domo i see the mqtt messages increase on the broker status page of the app i am using MQTT.fx
Domoticz now publishes all events on MQTT.
You then go to the config.json of the plugin (~/.homebridge/config.json) and add the MQTT config, resulting in:
Code: Select all
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"ssl": 0,
"roomid": 0,
"mqttenable": 1,
"mqttserver": "localhost",
"mqttport": "1883",
"mqttauth": 0,
"mqttuser": "",
"mqttpass": ""
Re: eDomoticz Homebridge-Plugin
This is more and more strange ahahaTheRamon wrote:Hi Chris,chrispazz wrote:Ok. Thank you anyway for your time
I have just added your sensor to my system, and shows up properly as a "motion sensor" in HomeKit (iOS 10, too). No switch or anything.. I think it really has to do with your local caching. Somehow HomeKit still thinks this is a switch, like it was before.
Thank you, this evening I will play again with it....
Can you post the json output for your sensor?
- 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: eDomoticz Homebridge-Plugin
You're not getting how things work - we spool up a fake web server that imitates Domoticz by serving YOUR JSON output, which replicates your sensor exactly, therefore, the JSON output we're using is exactly as you shared earlier in the thread - a direct copy & paste.
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!
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
Will this MQTT method speed up the updating/refreshing of domoticz devices within HomeKit?
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
- 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: eDomoticz Homebridge-Plugin
Yes, should be instantaneous when on same LAN. When over the net, dependant on lots of things out of our hands.
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!
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
Marci wrote:Yes, should be instantaneous when on same LAN. When over the net, dependant on lots of things out of our hands.
Excellent!! Looking forward to this! eDomoticz works very well, just HomeKit is slow to update and grab statues when you open the app which will now be a thing on the past. Might go and setup MQTT now so it's ready!! Thanks everyone for you hard work.
These projects seem to be going from strength to strength!

Sent from my iPhone using Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest