Page 67 of 86

Re: homebridge-edomoticz Plugin

Posted: Saturday 29 April 2017 23:18
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:

homebridge-edomoticz Plugin

Posted: Sunday 30 April 2017 0:11
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

Re: homebridge-edomoticz Plugin

Posted: Sunday 30 April 2017 8:51
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

Re: homebridge-edomoticz Plugin

Posted: Sunday 30 April 2017 12:34
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

Re: homebridge-edomoticz Plugin

Posted: Sunday 30 April 2017 12:37
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?

Re: homebridge-edomoticz Plugin

Posted: Sunday 30 April 2017 12:54
by Trigun
I'll check my config and compare it with yours. Will probably be later today


Sent from my iPhone using Tapatalk

Re: homebridge-edomoticz Plugin

Posted: Monday 01 May 2017 22:43
by Nederveen
PastedGraphic-1.png
PastedGraphic-1.png (269.21 KiB) Viewed 4402 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?

Re: homebridge-edomoticz Plugin

Posted: Monday 01 May 2017 22:49
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 4401 times

Re: homebridge-edomoticz Plugin

Posted: Monday 01 May 2017 23:16
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

Re: homebridge-edomoticz Plugin

Posted: Tuesday 02 May 2017 10:18
by Nederveen
Thanks, indeed I see that you sent me a pm.
I'll try you method from scratch.

Re: homebridge-edomoticz Plugin

Posted: Tuesday 02 May 2017 11:18
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

Re: homebridge-edomoticz Plugin

Posted: Saturday 06 May 2017 23:31
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.

Re: homebridge-edomoticz Plugin

Posted: Monday 08 May 2017 12:52
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...

Re: homebridge-edomoticz Plugin

Posted: Monday 08 May 2017 14:37
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

Re: homebridge-edomoticz Plugin

Posted: Monday 29 May 2017 22:27
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!

Re: homebridge-edomoticz Plugin

Posted: Friday 02 June 2017 19:25
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 ;)

Re: homebridge-edomoticz Plugin

Posted: Friday 02 June 2017 23:29
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

Re: homebridge-edomoticz Plugin

Posted: Monday 05 June 2017 9:52
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!

Re: homebridge-edomoticz Plugin

Posted: Monday 05 June 2017 10:22
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 3934 times
[/img]

Re: homebridge-edomoticz Plugin

Posted: Tuesday 06 June 2017 20:15
by theo69
The MQTT Broker was not installed properly, now i got the connection!