Yup... however communicating with the milight api isn't of much use if trying to bridge Domoticz...!?NewFolk wrote:
Do you know about https://github.com/dotsam/homebridge-milight ?
I`m using it 2 weeks and it is pretty stable.
homebridge-edomoticz Plugin
Moderator: leecollings
- 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
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: 13
- Joined: Thursday 25 June 2015 15:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.2563
- Contact:
Re: eDomoticz Homebridge-Plugin
I don't know what I'm doing wrong... I'm getting frustrated.
Every attempt to install node.js results in errors, now I'm getting segmentation fault when doing node -v
I have a RPi B+ with clean install of Domoticz SD card image, Rasbian Jessie
Edit:
Thanks to this post: viewtopic.php?f=36&t=10272&start=340#p89318 I've managed to get it working again!
pffff... what a trouble to find the right info.
Tomorrow I will proceed to get it working with the script for starting after boot
Every attempt to install node.js results in errors, now I'm getting segmentation fault when doing node -v
I have a RPi B+ with clean install of Domoticz SD card image, Rasbian Jessie
Edit:
Thanks to this post: viewtopic.php?f=36&t=10272&start=340#p89318 I've managed to get it working again!
pffff... what a trouble to find the right info.
Tomorrow I will proceed to get it working with the script for starting after boot
-
- Posts: 39
- Joined: Wednesday 02 September 2015 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
YesMarci wrote:Yup... however communicating with the milight api isn't of much use if trying to bridge Domoticz...!?
So I looking forward for RGB support in eDomoticz
- 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
I'm back!!! I moved everything back over from the Vera to domoticz and removed verahomekitbridge and reinstalled e-domoticz
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
- 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
Am I right in thinking the shim still can't access domoticz scenes ? I have a dummy switches for some scenes as I remember it couldn't access them when I used it last time
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
Re: eDomoticz Homebridge-Plugin
Hi!
I have just installed Domoticz (with mochad), Homebridge and the Domoticz plugin.
While X10 lights are working good, I have some problems with sensor movements (Marmitek MS13).
In Domoticz it is managed correctly and it changes status when movement is detected but this status changes are not intercepted by homebridge.
The movement sensor is correctly exposed by homebridge (I can see in in Eve and Homekit) but it never chages is status.
Any idea?
Thank you
Chris
I have just installed Domoticz (with mochad), Homebridge and the Domoticz plugin.
While X10 lights are working good, I have some problems with sensor movements (Marmitek MS13).
In Domoticz it is managed correctly and it changes status when movement is detected but this status changes are not intercepted by homebridge.
The movement sensor is correctly exposed by homebridge (I can see in in Eve and Homekit) but it never chages is status.
Any idea?
Thank you
Chris
- 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
@deejc - correct, virtual switches are still the method.
@chrispazz - changes aren't pushed, they're pulled. You'd need to open Eve and pull down / scroll up&down to trigger a refresh from Domoticz. Only other solution would be a looped timer that retrieves status from Domoticz every few seconds, but this would end up rather resource intensive, and give you a sluggish response to commands as you'd have to wait for a gap before commands would be received and processed.
@chrispazz - changes aren't pushed, they're pulled. You'd need to open Eve and pull down / scroll up&down to trigger a refresh from Domoticz. Only other solution would be a looped timer that retrieves status from Domoticz every few seconds, but this would end up rather resource intensive, and give you a sluggish response to commands as you'd have to wait for a gap before commands would be received and processed.
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
Thank you Marci.
I was asking because for X10 system a triggered movement detected from a MS13 acts like a switch sending on power line a ON command on the configured address.....
In this case sensor movements (as alerts or trigger) are pretty useless if exposed on Homekit....
Am I wrong?
Thanks
I was asking because for X10 system a triggered movement detected from a MS13 acts like a switch sending on power line a ON command on the configured address.....
In this case sensor movements (as alerts or trigger) are pretty useless if exposed on Homekit....
Am I wrong?
Thanks
- 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:
eDomoticz Homebridge-Plugin
Nope, you're correct... motion sensors etc end up useless. Actions & triggers based on motion need to be defined and handled in Domoticz, rather than within HomeKit...
You can use pushbullett or an MQTT client to receive realtime notifications of motion outside of HomeKit... S'about the only method at the moment, until I can write routines to separate out motion / occupation sensors so they can be polled on a timer.
You can use pushbullett or an MQTT client to receive realtime notifications of motion outside of HomeKit... S'about the only method at the moment, until I can write routines to separate out motion / occupation sensors so they can be polled on a timer.
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
Great, waiting for next upgrade then....
- 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
Amazing plugin, thank you.
I have added support for RGB lamps:
https://github.com/PatchworkBoy/homebri ... cz/pull/27
When this gets approved one could change the colour though homekit too.
I have added support for RGB lamps:
https://github.com/PatchworkBoy/homebri ... cz/pull/27
When this gets approved one could change the colour though homekit too.
- 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
Excellent - thanks Ramon... I've just merged it in.
Folks - wget the latest raw index.js from GitHub to get the above update. Am afk at the mo so can't update the npmjs repo...
Folks - wget the latest raw index.js from GitHub to get the above update. Am afk at the mo so can't update the npmjs repo...
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: 39
- Joined: Wednesday 02 September 2015 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Hello,
Great News. Thank you !!!
But unfortunately Milight bulbs does not work for me.
I have type: lighting limitless/applamp, RGBW, Dimmer.
And my lamp only work as dimmer, without RGB.
Great News. Thank you !!!
But unfortunately Milight bulbs does not work for me.
I have type: lighting limitless/applamp, RGBW, Dimmer.
And my lamp only work as dimmer, without RGB.
- 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
Without JSON output for your device we can't really do anything. Instructions are in first post for getting this...
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
That's weird, my lamp has got the same subtype. "RGBW".
Can you actually change the colour of your lights through Domoticz? The update for the bridge uses the same method.
Try cleaning your homebridge cache (~/.homebridge/persist) to remove all 'cached' data, but prepare to re-pair your homekit bridge though.
EDIT: ^ Read the post above
Can you actually change the colour of your lights through Domoticz? The update for the bridge uses the same method.
Try cleaning your homebridge cache (~/.homebridge/persist) to remove all 'cached' data, but prepare to re-pair your homekit bridge though.
EDIT: ^ Read the post above
-
- Posts: 39
- Joined: Wednesday 02 September 2015 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Yes I can. I use https://github.com/dotsam/homebridge-milight in parallel and it is working good.Can you actually change the colour of your lights through Domoticz?
I`m not ready to reconfig because of my wife use it every day. (I`m afraid to change something )Try cleaning your homebridge cache (~/.homebridge/persist)
Without JSON output for your device we can't really do anything.
I hope this will be enough. Device name is "Living room main"
- Spoiler: show
- 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
That's not the JSON output from Domoticz... that's the Homebridge run-log.
See https://www.domoticz.com/wiki/Domoticz_ ... fic_device
See https://www.domoticz.com/wiki/Domoticz_ ... fic_device
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: 39
- Joined: Wednesday 02 September 2015 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Could you help me to find JSON log?
I see only add JSON log to domoticz by link above.
I see only add JSON log to domoticz by link above.
- 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
Retrieve status of specific device...
You can get the status of a specific device with:
http://domoticzip:port/json.htm?type=devices&rid=IDX
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
You can get the status of a specific device with:
http://domoticzip:port/json.htm?type=devices&rid=IDX
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
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: 8
- Joined: Saturday 09 July 2016 14:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Hi Marci,
I just performed the steps you described in the start of this post:
I skipped forever install as I ruined my pi image once before, so I don't want it running always just yet.
mkdir gave an error, something like folder already exist.
I continued with editing the config.json, that looked ok as it was (no roomID, no accessories, default IP, etc).
When I type
I see this:
Also, the EVE app sees nothing. It keeps on searching for accessories.
Any suggestions?
I just performed the steps you described in the start of this post:
Code: Select all
sudo apt-get update && sudo apt-get upgrade
Code: Select all
sudo apt-get install libavahi-compat-libdnssd-dev
Code: Select all
sudo npm install -g homebridge --unsafe-perm
Code: Select all
sudo npm install -g homebridge-edomoticz
Code: Select all
mkdir ~/.homebridge && pico ~/.homebridge/config.json
I continued with editing the config.json, that looked ok as it was (no roomID, no accessories, default IP, etc).
All did not go well, I assumeIf all went well you should now see a device entitled “Homebridge” to pair with from your chosen homekit app, which contains all your accessories! Done!
When I type
Code: Select all
pi@raspberrypi:~$ homebridge
Code: Select all
pi@raspberrypi:~$ homebridge
*** 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=libdns_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=libdns_sd&e=nodejs&f=DNSServiceRegister>
[7/19/2016, 3:30:06 PM] Loaded plugin: homebridge-edomoticz
[7/19/2016, 3:30:06 PM] Registering accessory 'homebridge-edomoticz.eDomoticz'
[7/19/2016, 3:30:06 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[7/19/2016, 3:30:06 PM] ---
[7/19/2016, 3:30:06 PM] Loaded config.json with 0 accessories and 1 platforms.
[7/19/2016, 3:30:06 PM] ---
[7/19/2016, 3:30:06 PM] Loading 1 platforms...
[7/19/2016, 3:30:06 PM] [Domoticz] Initializing eDomoticz platform...
[7/19/2016, 3:30:06 PM] [Domoticz] Fetching Domoticz lights and switches...
[7/19/2016, 3:30:06 PM] Loading 0 accessories...
[b][7/19/2016, 3:30:06 PM] [Domoticz] There was a problem connecting to Domoticz.
[/b]pi@raspberrypi:~$
Any suggestions?
Who is online
Users browsing this forum: No registered users and 1 guest