homebridge-edomoticz Plugin

Moderator: leecollings

User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: homebridge-edomoticz Plugin

Post by felix63 »

Sorry. I think I misunderstood your question. What kind of Homekit device do you want to add?
User avatar
Pupz
Posts: 9
Joined: Sunday 29 November 2015 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by Pupz »

My home automation runs on Domoticz, but I have a Tuya plug and a Homekit bulb connected to Homebridge/Homekit. And I am looking for a way to control these from Domoticz too.
harrykausl
Posts: 180
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: homebridge-edomoticz Plugin

Post by harrykausl »

It's my question too. I have a real homekit switch which works in homekit, lets call it switch_homekit. I can create a dummy-switch in Domoticz, lets call it swich_domoticz and share it with homekit via homebridge. So in homekit I have the real switch switch_homekit and the dummy switch switch_domoticz. To transform action between the 2 switches, I have to perform 4 automations in homekit. If switch_domoticz is activated, avtivate switch_homekit. If switch_homekit ist aktivated, activate switch_domoticz. And the same for deactive. In normal homebridge I have a fixed connection beween the domoticz and the homebridge / homekit switch. Would it not be possible to define a connection between a real homekit-switch and a domoticz / homebrdige switch. Perhaps in the config.json?
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by extremeaudio »

I set up everything as per the wiki. Everything seems fine. Except that the first time I use home bridge, all the devices in Domoticz show up in the home bridge accessories page. But after that any devices I add don’t show up. How do I perform a new fetch ?
Plantje
Posts: 451
Joined: Friday 16 October 2015 7:58
Target OS: Windows
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by Plantje »

Recently, I have setup Homebridge in order to connect my Domoticz to Google Home. However, every now and then almost all of my Domoticz devices are moved to the default room again in Google Home and the swtiches cannot be controlled anymore.

Basically this means that I cannot create reliable routines interacting with Domoticz. Is there anything I can do about this?
pvdgulik
Posts: 21
Joined: Friday 28 December 2018 20:23
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: homebridge-edomoticz Plugin

Post by pvdgulik »

JonyBCN wrote: Thursday 17 September 2020 9:05 I think that should be done by the domoticz itself, rather than a plugin that "pulls" information from it.
Homebridge should be included in the Hardware tab, either native or via a python plugin.
Yes, that would be marvellous, a plugin for Homekit or Homebridge, so you can add all kind of Homekit-accessories.
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 »

pvdgulik wrote: Tuesday 29 June 2021 23:40
JonyBCN wrote: Thursday 17 September 2020 9:05 I think that should be done by the domoticz itself, rather than a plugin that "pulls" information from it.
Homebridge should be included in the Hardware tab, either native or via a python plugin.
Yes, that would be marvellous, a plugin for Homekit or Homebridge, so you can add all kind of Homekit-accessories.
You can check my plugin :
https://github.com/macjl/Domoticz-HomekitInsecureClient
pvdgulik
Posts: 21
Joined: Friday 28 December 2018 20:23
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: homebridge-edomoticz Plugin

Post by pvdgulik »

Thanks!! I installed it but got errors...

Code: Select all

2021-07-25 21:08:01.086 Status: Homekit: (Homekit) Started.
2021-07-25 21:08:01.086 Status: Homekit: (Homekit) Entering work loop.
2021-07-25 21:08:01.226 Status: Homekit: (Homekit) Initialized version 2.0, author 'MacJL'
2021-07-25 21:08:11.145 Error: Homekit: (Homekit) 'onMessage' failed 'JSONDecodeError'.
2021-07-25 21:08:11.146 Error: Homekit: (Homekit) ----> Line 202 in '/home/pi/domoticz/plugins/HomekitInsecureClient/plugin.py', function onMessage
2021-07-25 21:08:11.146 Error: Homekit: (Homekit) ----> Line 85 in '/home/pi/domoticz/plugins/HomekitInsecureClient/plugin.py', function onMessage
2021-07-25 21:08:11.146 Error: Homekit: (Homekit) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2021-07-25 21:08:11.146 Error: Homekit: (Homekit) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-07-25 21:08:11.146 Error: Homekit: (Homekit) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2021-07-25 21:08:21.062 Homekit: (Homekit) Connection Lost. Reconnecting.
Wrong python version?

Thanks
User avatar
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: homebridge-edomoticz Plugin

Post by Marci »

You can also tap up the Homebridge-config-ui-x Swagger API... swift bit of Node-Red to translate from the API to MQTT or to poll and trigger HTTP updates of Domoticz. https://github.com/oznu/homebridge-conf ... -Reference
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!
User avatar
Pupz
Posts: 9
Joined: Sunday 29 November 2015 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by Pupz »

MacJL wrote: Wednesday 30 June 2021 0:31
pvdgulik wrote: Tuesday 29 June 2021 23:40
JonyBCN wrote: Thursday 17 September 2020 9:05 I think that should be done by the domoticz itself, rather than a plugin that "pulls" information from it.
Homebridge should be included in the Hardware tab, either native or via a python plugin.
Yes, that would be marvellous, a plugin for Homekit or Homebridge, so you can add all kind of Homekit-accessories.
You can check my plugin :
https://github.com/macjl/Domoticz-HomekitInsecureClient
I Installed this plugin. And it connects to a plug on Homebridge, but then it disconnects again, showing errors in the log:

Image

show full size

What is wrong?
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 »

Pupz wrote: Friday 22 October 2021 22:04 I Installed this plugin. And it connects to a plug on Homebridge, but then it disconnects again, showing errors in the log:
Hello Pupz

I've published a new realease with more logs, when in debug mode. Can you update and select 'Plugin Debug' in the debug conf. Then send the new logs.

And can we continue this discussion in the thread related to my plugin, because this is not related to homebridge-edomoticz ?

=> viewtopic.php?f=65&t=36148
User avatar
Pupz
Posts: 9
Joined: Sunday 29 November 2015 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by Pupz »

OK, done.
marktn
Posts: 233
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by marktn »

Is there a way to make to users? So not every user can switch every Light.
Just like in domoticz.

Thanks,
Mark
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
uermend
Posts: 5
Joined: Monday 11 February 2019 11:10
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10055
Contact:

Re: homebridge-edomoticz Plugin

Post by uermend »

Hi,

I've updated my Domoticz running in docker and it is now accessible on 10.x.x.x/domoticz/:8080
it was 10.x.x.x:8080 before.

how do I set up homebridge E-domoticz plugin to look in /domoticz/ folder?

regards
JonyBCN
Posts: 39
Joined: Tuesday 24 May 2016 22:39
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by JonyBCN »

uermend wrote: Tuesday 08 February 2022 16:07 Hi,

I've updated my Domoticz running in docker and it is now accessible on 10.x.x.x/domoticz/:8080
it was 10.x.x.x:8080 before.

how do I set up homebridge E-domoticz plugin to look in /domoticz/ folder?

regards
eDomoticz must not be in the Domoticz folder. It is a Homebridge plugin, you install it in it and point to the Domoticz address in its configuration.
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by tjabas »

any idea why homebridge and google voice doenst work any more? i has been working without any problems for years now, but suddenly google syas that it couldnt connect to homebrigde, ehat could be wrong?
harrykausl
Posts: 180
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: homebridge-edomoticz Plugin

Post by harrykausl »

I have a Pi3 with domoticz, homebridge and homebrdige-edomaticz running since many years, actually at the newest beta. Now I installed a new pi4 with the same status domoticz but the newest homebridge and homebridge-edomatics. I changed the settings in the new config to the old ones, shutdown the old pi and bootet the new. I would have hoped, that all works immedeatly. But in IOS home, I see only actualising. I could scan the new code (which is the same as the old one ), but I have a lot of shortcuts with homekit equipment and I don't want to loose this. Would it run, if I would change the ip-adress of the new pi to the old one, or how does homekit identify the devices. Rebooting the old pi, all works. Thanks a lot for an advice.
solarboy
Posts: 320
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: homebridge-edomoticz Plugin

Post by solarboy »

I love this plugin apart from the fact it spams my logs every few minutes with :

2022-04-23 21:47:34.732 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.740 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.747 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.754 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.761 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.769 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.777 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.784 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.792 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.799 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.806 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.813 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.820 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.827 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.834 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.841 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.848 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.855 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.862 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.870 Status: Incoming connection from: 192.168.2.9
2022-04-23 21:47:34.877 Status: Incoming connection from: 192.168.2.9
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
TroisSix
Posts: 91
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: homebridge-edomoticz Plugin

Post by TroisSix »

@solarboy,
I have the same behaviour and I don't know how to remove it.
Juste surprised that no one is concerned by this? :roll:
VM Debian - Domoticz stable v2023.1, RFXtrx433, Aeotec Z-Stick Gen5, APC ES700
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, gps Pilot
solarboy
Posts: 320
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: homebridge-edomoticz Plugin

Post by solarboy »

Perhaps in a future update our concerns will be silently resolved... :mrgreen:
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest