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
Have just checked everything over with v3.4834 - update via the webui worked fine, Domoticz comes back up cleanly, all plugin functions work fine. Safe to do an upgrade-in-place!
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
I use beta anyway, although the past few days have seen my zwave stuff misbehaving quite badly. I have bitten the bullet and ordered a Vera plus as I like the Vera gui and its stability
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
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
Ah you’ll be moving over to @DamianXD’s homebridge-vera plugin then I presume... https://www.npmjs.com/package/homebridge-vera
Last edited by Marci on Wednesday 02 March 2016 19:24, 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
Yep, hopefully he is as diligent and helpful as you
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
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
You can get an idea of the device support from https://github.com/damianxd/homebridge- ... ns.js#L106
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:
eDomoticz Homebridge-Plugin
Seems a bit lighter than yours but my Thermo is Hardware HomeKit so don't need that and my other stuff is mainly switches lights and temps
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
Nice plugin! Set it up today and am totally impressed with it! Just a small issue I run into. I have my evohome system connected to domoticz. Setting the temperature through siri/Eve works but as soon as I touch the override timer button homekit crashes (see below loging-info). Also don't understand how the general "evotouch" device is working. It seems I can change it's temp in e.g Eve but that command is not recognized. Changing the Mode (currently Heating) to anything else (off/heat/cool/auto) does not seem to trigger anything.
Code: Select all
[Domoticz] Setting thermostat SetPoint to 21
[Domoticz] Achterkamer sent command succesfully
Loaded plugin: homebridge-edomoticz
Registering accessory 'homebridge-edomoticz.eDomoticz'
Registering platform 'homebridge-edomoticz.eDomoticz'
---
Loaded config.json with 0 accessories and 1 platforms.
---
Loading 1 platforms...
[Domoticz] Initializing eDomoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] Initializing platform accessory 'Achterkamer'...
[Domoticz] Initializing platform accessory 'Alexander'...
[Domoticz] Initializing platform accessory 'Circle afzuiger switch'...
[Domoticz] Initializing platform accessory 'Eettafel'...
[Domoticz] Initializing platform accessory 'EvoTouch Colour'...
[Domoticz] Initializing platform accessory 'Hue Gang'...
[Domoticz] Initializing platform accessory 'P1 Electricity'...
[Domoticz] Initializing platform accessory 'Voorkamer'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
....
[Domoticz] Static Data for EvoTouch Colour: 1
[Domoticz] Setting thermostat SetPoint to 10
[Domoticz] There was a problem sending command toEvoTouch Colour
[Domoticz] undefined
[Domoticz] Setting thermostat SetPoint to 10.5556
[Domoticz] There was a problem sending command toEvoTouch Colour
[Domoticz] undefined
- 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
Duly noted... the guy who originally asked for EvoHome support never fed back on it to let me know what worked and what didn’t (cos I don’t have one, so it’s rather tricky!), so ta!! Have tagged it onto the end of the open issue for it over on the repo - will hopefully look at it this weekend.
See: https://github.com/PatchworkBoy/homebri ... /issues/13
Could you get it’s JSON output (destructions in original post) and add it into the github log above?
See: https://github.com/PatchworkBoy/homebri ... /issues/13
Could you get it’s JSON output (destructions in original post) and add it into the github log above?
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
Thanks for looking into this. Not exactly sure what you meant with the last comment. I've included the json description of the evohome control and from one of the zones. Is that what you meant?
Code: Select all
{
"ActTime" : 1457201936,
"ServerTime" : "2016-03-05 19:18:56",
"Sunrise" : "07:18",
"Sunset" : "18:27",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Auto",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 1,
"HardwareName" : "HGI80",
"HardwareType" : "Evohome USB (for HGI/S80)",
"HardwareTypeVal" : 39,
"HaveDimmer" : false,
"HaveGroupCmd" : false,
"HaveTimeout" : false,
"ID" : "4be9a",
"LastUpdate" : "2016-03-04 16:36:02",
"MaxDimLevel" : 0,
"Name" : "EvoTouch Colour",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Auto",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Evohome",
"SwitchType" : "evohome",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Heating",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "1"
}
],
"status" : "OK",
"title" : "Devices"
}
{
"ActTime" : 1457202001,
"ServerTime" : "2016-03-05 19:20:01",
"Sunrise" : "07:18",
"Sunset" : "18:27",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "21.8 C, (21.0 C), Auto",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 1,
"HardwareName" : "HGI80",
"HardwareType" : "Evohome USB (for HGI/S80)",
"HardwareTypeVal" : 39,
"HaveTimeout" : false,
"ID" : "",
"LastUpdate" : "2016-03-05 19:19:24",
"Name" : "Voorkamer",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"SetPoint" : 21.0,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Auto",
"SubType" : "Zone",
"Temp" : 21.80,
"Timers" : "false",
"Type" : "Heating",
"TypeImg" : "override_mini",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "4"
}
],
"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: eDomoticz Homebridge-Plugin
Yep, perfect. The EvoHome support was written for EvoHome-via-script rather than EvoHome-USB but leave it with me - I'll get something working for 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!
-
- Posts: 26
- Joined: Saturday 03 January 2015 20:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
thanks marci, great job today. all working perfectly under Jessie under the RPI3, already got Siri controlling the lights and also controlling via a dummy switch my Harmony Hub and the AV/Tv/and Sat box:)....got to say its so cool. Hey Siri, Turn on "the TV".
-
- Posts: 11
- Joined: Monday 07 March 2016 17:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Hi,
I managed to put eDomoticz on a Raspi with Domoticz V3.4834. I'm using Eve on my iPhone and my iPad it's working perfectly, thanks to you Marci
But I've got a problem : I'd like to use another iPhone (my brother's) but Eve can't see Homebrige... If I change the username and the port in the config.json file it's working but of course my iPhone and my iPad don't.
Did somebody have this problem ?
Hope that is clear with my english/french language :p
Thanks
Sylvain
I managed to put eDomoticz on a Raspi with Domoticz V3.4834. I'm using Eve on my iPhone and my iPad it's working perfectly, thanks to you Marci
But I've got a problem : I'd like to use another iPhone (my brother's) but Eve can't see Homebrige... If I change the username and the port in the config.json file it's working but of course my iPhone and my iPad don't.
Did somebody have this problem ?
Hope that is clear with my english/french language :p
Thanks
Sylvain
- 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
Just invite your brother's appleid via Settings > HomeKit from one of your devices. That bridge is already 'owned' by your appleid.
HomeKit apps on his devices should then automatically get the accessories list.
Nb: iCloud Drive needs to be enabled on all devices.
HomeKit apps on his devices should then automatically get the accessories list.
Nb: iCloud Drive needs to be enabled on all devices.
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: 26
- Joined: Saturday 03 January 2015 20:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Done a ikle write up on my wordpress for everyone.
https://mypocketfluff.wordpress.com/201 ... n-bbc-one/
https://mypocketfluff.wordpress.com/201 ... n-bbc-one/
-
- Posts: 11
- Joined: Monday 07 March 2016 17:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Thanks Marci I'm gonna try this
It's working !!! Yeah so cool !
It's working !!! Yeah so cool !
Marci wrote:Just invite your brother's appleid via Settings > HomeKit from one of your devices. That bridge is already 'owned' by your appleid.
HomeKit apps on his devices should then automatically get the accessories list.
Nb: iCloud Drive needs to be enabled on all devices.
Re: eDomoticz Homebridge-Plugin
Thanks for looking at the issue. Saw on the other thread you suggested to update the homekit plugin to solve the crash problem with Evohome. I can confirm that now it's not crashing anymore but as mentioned there the override does not work as expected (the temps are set as a permanent override). Included the log of homekit when trying to do the temporary update.
I did program a button to execute a script when going to bed early to turn down the heating. It executes a similar action to what this is trying. Maybe the syntax will give you a pointer? the url I use is
/usr/bin/curl -s -i -H "Accept: application/json" "http://$DOMOTICZ_SERVER/json.htm?type=setused&idx=4&setpoint=15.0&mode=TemporaryOverride&until="$DATE"T00:30:00Z&used=true"
with $DATE being:
DATE=`date --date="+1 day" +%Y-%m-%d`
Code: Select all
[Domoticz] Setting thermostat SetPoint to 19.5
[Domoticz] Achterkamer sent command succesfully
[Domoticz] Setting thermostat SetPoint to 20
[Domoticz] Achterkamer sent command succesfully
[Domoticz] Setting thermostat SetPoint to 20, mode to TemporaryOverride
[Domoticz] There was a problem sending command toAchterkamer
[Domoticz] undefined
/usr/bin/curl -s -i -H "Accept: application/json" "http://$DOMOTICZ_SERVER/json.htm?type=setused&idx=4&setpoint=15.0&mode=TemporaryOverride&until="$DATE"T00:30:00Z&used=true"
with $DATE being:
DATE=`date --date="+1 day" +%Y-%m-%d`
- 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
Cool - ta. Still working on it bit-by-bit...!
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: 113
- Joined: Friday 08 January 2016 12:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
Hi guys,
apologies if im being a idiot and have missed something, but im struggling to get this off the ground
I had been playing with the original homebridge that came on the SD card that i insalled last november.
I couldnt get it workign properly, and as i was waiting to update domoticz anyway, i backed up the database, and downloaded and installed the latest SD image.
It now seems different to before, and i cant get anything going.
Even following the wiki to configure homebrige doesnt work.
After the fresh install, i no longer have a homebridge directory, just .homebridge -- whick only has the config file ,and the persist folder.
Im not sure if i need to be insalling homebridge, or if its already there, and also if i still need to install the edomoticz plugin or if thats already there...
Can someone point me in the right direction as to what first steps should be when starting with the latest SD image?
Many thanks,
S.
apologies if im being a idiot and have missed something, but im struggling to get this off the ground
I had been playing with the original homebridge that came on the SD card that i insalled last november.
I couldnt get it workign properly, and as i was waiting to update domoticz anyway, i backed up the database, and downloaded and installed the latest SD image.
It now seems different to before, and i cant get anything going.
Even following the wiki to configure homebrige doesnt work.
After the fresh install, i no longer have a homebridge directory, just .homebridge -- whick only has the config file ,and the persist folder.
Im not sure if i need to be insalling homebridge, or if its already there, and also if i still need to install the edomoticz plugin or if thats already there...
Can someone point me in the right direction as to what first steps should be when starting with the latest SD image?
Many thanks,
S.
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
-
- Posts: 113
- Joined: Friday 08 January 2016 12:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
ok....
was being more of an idiot than i thought..
i just needed to boot up and type "homebridge" and everything worked..
S.
was being more of an idiot than i thought..
i just needed to boot up and type "homebridge" and everything worked..
S.
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: eDomoticz Homebridge-Plugin
Nice, thanks for the great description and tooling. One minor thing in the opening post:
should (in my case?) be
Code: Select all
sudo curl -sL https://deb.nodesource.com/setup_0.12 | bash -
Code: Select all
sudo curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Who is online
Users browsing this forum: No registered users and 0 guests