Page 83 of 86

Re: homebridge-edomoticz Plugin

Posted: Saturday 13 February 2021 22:13
by felix63
Sorry. I think I misunderstood your question. What kind of Homekit device do you want to add?

Re: homebridge-edomoticz Plugin

Posted: Saturday 13 February 2021 22:40
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.

Re: homebridge-edomoticz Plugin

Posted: Monday 15 March 2021 13:56
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?

Re: homebridge-edomoticz Plugin

Posted: Wednesday 17 March 2021 23:05
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 ?

Re: homebridge-edomoticz Plugin

Posted: Saturday 12 June 2021 14:05
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?

Re: homebridge-edomoticz Plugin

Posted: Tuesday 29 June 2021 23:40
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.

Re: homebridge-edomoticz Plugin

Posted: Wednesday 30 June 2021 0:31
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

Re: homebridge-edomoticz Plugin

Posted: Sunday 25 July 2021 21:13
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

Re: homebridge-edomoticz Plugin

Posted: Thursday 29 July 2021 20:08
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

Re: homebridge-edomoticz Plugin

Posted: Friday 22 October 2021 22:04
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?

Re: homebridge-edomoticz Plugin

Posted: Wednesday 27 October 2021 11:04
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

Re: homebridge-edomoticz Plugin

Posted: Wednesday 27 October 2021 15:57
by Pupz
OK, done.

Re: homebridge-edomoticz Plugin

Posted: Sunday 14 November 2021 17:49
by marktn
Is there a way to make to users? So not every user can switch every Light.
Just like in domoticz.

Thanks,
Mark

Re: homebridge-edomoticz Plugin

Posted: Tuesday 08 February 2022 16:07
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

Re: homebridge-edomoticz Plugin

Posted: Saturday 12 February 2022 15:53
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.

Re: homebridge-edomoticz Plugin

Posted: Tuesday 15 February 2022 0:40
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?

Re: homebridge-edomoticz Plugin

Posted: Monday 18 April 2022 11:18
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.

Re: homebridge-edomoticz Plugin

Posted: Saturday 23 April 2022 22:51
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

Re: homebridge-edomoticz Plugin

Posted: Wednesday 18 May 2022 20:24
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:

Re: homebridge-edomoticz Plugin

Posted: Sunday 22 May 2022 20:06
by solarboy
Perhaps in a future update our concerns will be silently resolved... :mrgreen: