homebridge-edomoticz Plugin

Moderator: leecollings

Nederveen
Posts: 7
Joined: Saturday 29 April 2017 23:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Nederveen »

Dear all,

I am new to domoticz and have been trying desperately to get my fibaro dimmer 2 to work with homekit.
Hopefully you can help me out.

I am using the following setup
Raspberry pi
Fibaro Dimmer 2
aeotec z-stick

1. I installed raspbian jessie lite
2. followed the domoticz/homekit installation steps of this tutorial: https://possible.tweakblogs.net/blog/14 ... spberry-pi
3. Included my z-stick in domoticz via this tutorial http://domotica-projecten.nl/d/2-includ ... t-domoticz
4. installed the plugin for fibaro HC2 (since it states that the dimmer should be included) with the command (sudo npm install -g homebridge-fibaro-hc2)

I can see the homebridge in the homekit app, but when I add it, it says that I still have to identify an accessory.

I'm I missing a step? Is there anything I didn't do properly?
As far as I can understand I will have to do something with the homebridge/config.json but I am not sure.
Currently it is lie this:

{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3E:E4:DE:33",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"ssl": 0,
"roomid": 0,
"mqtt": 0
}
],
"accessories": []
}

I am looking forward to your responses.

Best,


:ugeek:
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

homebridge-edomoticz Plugin

Post by Trigun »

Hi Nederveen, you did add the hardware in domoticz for the z-stick? And you've added the fibaro via the stick instead of node management?


Sent from my iPhone using Tapatalk
Nederveen
Posts: 7
Joined: Saturday 29 April 2017 23:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Nederveen »

Trigun wrote:Hi Nederveen, you did add the hardware in domoticz for the z-stick? And you've added the fibaro via the stick instead of node management?

Thanks for your quick response. I added the domoticz hardware for the stick. After that I clicked the pairing button on the z-stick and held it next to the dimmer switch. After that the dimmer also showed up in domoticz hardware under the z-stick setup.


Sent from my iPhone using Tapatalk
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: homebridge-edomoticz Plugin

Post by Trigun »

Remember that if you use the z-stick, you have to restart domoticz to have a correct pairing.


Sent from my iPhone using Tapatalk
Nederveen
Posts: 7
Joined: Saturday 29 April 2017 23:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Nederveen »

Thanks. Unfortunately that didn't help. Is the config.json file correct though as posted above? i'm not sure. Or do I have to change stuff in domoticz before the dimmer will show up in homekit app?
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: homebridge-edomoticz Plugin

Post by Trigun »

I'll check my config and compare it with yours. Will probably be later today


Sent from my iPhone using Tapatalk
Nederveen
Posts: 7
Joined: Saturday 29 April 2017 23:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Nederveen »

PastedGraphic-1.png
PastedGraphic-1.png (269.21 KiB) Viewed 4285 times
Unfortunately I still can't get it running. If I run homebrigde on my pi. This is what I see.
It states loading 0 accessories. That can't be right can it?
Nederveen
Posts: 7
Joined: Saturday 29 April 2017 23:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Nederveen »

This is my config.json
Schermafbeelding 2017-05-01 om 22.48.36.png
Schermafbeelding 2017-05-01 om 22.48.36.png (76.34 KiB) Viewed 4284 times
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: homebridge-edomoticz Plugin

Post by Trigun »

Hi Nederveen, the config looks fine, did you check the stuff I sent you? According to the log it seems something goes wrong with the fibaro, do you have other devices as well?


Sent from my iPhone using Tapatalk
Nederveen
Posts: 7
Joined: Saturday 29 April 2017 23:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Nederveen »

Thanks, indeed I see that you sent me a pm.
I'll try you method from scratch.
Artic1980
Posts: 23
Joined: Monday 25 April 2016 17:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Artic1980 »

Nederveen wrote:PastedGraphic-1.png

Unfortunately I still can't get it running. If I run homebrigde on my pi. This is what I see.
It states loading 0 accessories. That can't be right can it?
I did so when it did not go
delete folder ~/.homebridge/persist
change code pair
reboot
MacJL
Posts: 51
Joined: Tuesday 22 April 2014 22:17
Target OS: OS X
Domoticz version: Beta
Location: France
Contact:

Re: homebridge-edomoticz Plugin

Post by MacJL »

anasazi wrote:Hi,

Is there support for IP Cameras?
I understand that HAP-Nodejs has support for this but how about homebridge and eDomoticz?
If you want to have your camera in Homekit, you can use this homebridge plugin :
https://github.com/KhaosT/homebridge-camera-ffmpeg

I'm using it in parallel of homebridge-edomoticz, and it's really nice to have all my switches and cameras in home App.
anasazi
Posts: 43
Joined: Saturday 06 August 2016 9:53
Target OS: Windows
Domoticz version:
Location: Sweden
Contact:

Re: homebridge-edomoticz Plugin

Post by anasazi »

MacJL wrote:
anasazi wrote:Hi,

Is there support for IP Cameras?
I understand that HAP-Nodejs has support for this but how about homebridge and eDomoticz?
If you want to have your camera in Homekit, you can use this homebridge plugin :
https://github.com/KhaosT/homebridge-camera-ffmpeg

I'm using it in parallel of homebridge-edomoticz, and it's really nice to have all my switches and cameras in home App.
Thanks for the tip!
Will check it out...
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: homebridge-edomoticz Plugin

Post by poudenes »

Love the plugin guys !!!! any news about using Scenes/Groups into Homebridge?

Or still create a switch with a on and off action in it?

I have a Nanoleaf Aurora lights panels... You can create scenes in their app and those scenes are pushed into Homekit.
So it would be great if Domoticz can push her scenes into homebridge as well so you can have them in Homekit
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
bxlouis
Posts: 45
Joined: Wednesday 16 December 2015 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Belgium
Contact:

Re: homebridge-edomoticz Plugin

Post by bxlouis »

Hi,

Maybe it has already been discussed but I can't find it on the forum - maybe I use the wrong keywords :?

I am wondering if it is possible to read the Homekit scenes and display/be able to trigger them from Domoticz?
That would be very useful!
Mazzokun
Posts: 89
Joined: Thursday 28 April 2016 23:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Milan, Italy
Contact:

Re: homebridge-edomoticz Plugin

Post by Mazzokun »

Hi all
is there a way to use "monit watchdog" to monitor the homebridge.service?

I've tried with

Code: Select all

check process homebridge with pidfile /var/run/homebridge.pid
start program = "/lib/systemd/system start homebridge.service"
stop program  = "/lib/systemd/system stop homebridge.service"
if failed host 127.0.0.1 port 51826 protocol http
and request "/accessories"
then restart
if 3 restarts within 5 cycles then timeout
but doesn't work, monit can't Initializing it... Any idea??
Thank you ;)
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: homebridge-edomoticz Plugin

Post by EdddieN »

MacJL wrote:
If you want to have your camera in Homekit, you can use this homebridge plugin :
https://github.com/KhaosT/homebridge-camera-ffmpeg
Fantastic tip! Just installed the Foscam plugin and works beautifully https://www.npmjs.com/package/homebridge-foscamcamera
11101101 - www.machinon.com
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

Re: homebridge-edomoticz Plugin

Post by theo69 »

Hi I am using the plugin together with Xiaomi Gateway (Domoticz Beta) and all items (switches, contacts etc.) are shown in HomeKit however i Can not control them and they are not being updated. You can not see when a switch was switched!
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

Re: homebridge-edomoticz Plugin

Post by theo69 »

HI I am new to Domoticz and trying to get homebridge connected, however I am always getting:

Code: Select all

[6/5/2017, 10:21:42 AM] [eDomoticz] Retrying connection to MQTT broker...
[6/5/2017, 10:21:42 AM] [eDomoticz] Could not connect to MQTT broker! (localhost:1883)
I am lost where did go wrong, added MQTT

[img]
screenshot_34.png
screenshot_34.png (138.04 KiB) Viewed 3817 times
[/img]
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

Re: homebridge-edomoticz Plugin

Post by theo69 »

The MQTT Broker was not installed properly, now i got the connection!
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest