Page 85 of 86
Re: homebridge-edomoticz Plugin
Posted: Monday 19 December 2022 13:34
by Marci
ksacca wrote: ↑Friday 21 October 2022 10:20
I forked homebridge-edomoticz and made all code changes. It is available on
https://github.com/ksacca/homebridge-edomoticz.
You can see the changes to the code in each commit.
If you would like to test, you should be able to replace the files using the following commands (replace your-path-to-homebridge-edomoticz by the directory where your edomoticz plugin is installed). A backup of your old file will be made, so you can always revert the changes.
Code: Select all
cd <your-path-to-homebridge-edomoticz>
sudo wget --backups=1 https://raw.githubusercontent.com/ksacca/homebridge-edomoticz/master/config.schema.json
cd lib
sudo wget --backups=1 https://raw.githubusercontent.com/ksacca/homebridge-edomoticz/master/lib/constants.js
sudo wget --backups=1 https://raw.githubusercontent.com/ksacca/homebridge-edomoticz/master/lib/domoticz_accessory.js
Don't forget to restart homebridge once the files have been replaced.
Changes now merged into main git repo, and pushed up to npmjs alongside a few other changes (web-root, & a few TV Device fixes to allow for multiples) as v2.1.40
Any issues, log them on the git-repo.
Re: homebridge-edomoticz Plugin
Posted: Wednesday 21 December 2022 22:17
by ksacca
A new version will soon be available. Due to a mistake, some crucial code was reverted. This is now fixed, together with another fix for blinds having subtype RFY and for Venetian blinds (EU and US) where there was still a state mismatch in some cases. Thank you @marci for the quick merge.
Re: homebridge-edomoticz Plugin
Posted: Thursday 26 January 2023 16:20
by nigels0
I've successfully installed eDomoticz and home bridge, and managed to get some devices into Home. The problem I'm seeing though in either trying to add an AppleTV as a hub to Home before home bridge or after home bridge breaks edomoticz, and the devices are stuck in Updating...
They work fine in the Accessories section of the Homebridge web page, so it must be something to do with the link between Homebridge and Home.
After adding the AppleTV, on playing around with switching home bridge on and off, I managed to get the devices to show up - but they are now extremely slow - maybe 30 seconds to activate.
on removing the accessory - AppleTV - all works fast and OK again.
HAs anyone else seen this - or have a solution?
Re: homebridge-edomoticz Plugin
Posted: Thursday 16 February 2023 10:33
by harrykausl
Today I tried a second update to 2023.1 and have always the problem, that homebride-edomatics slows down homebridge. It seems, that some temperature devices make problems. I went back to 2022.2 and all is ok.
PS: Solved, I had to include 127.0.0.* to the list of secure networks.
Re: homebridge-edomoticz Plugin
Posted: Tuesday 21 February 2023 23:12
by Ralfie
harrykausl wrote: ↑Thursday 16 February 2023 10:33
Today I tried a second update to 2023.1 and have always the problem, that homebride-edomatics slows down homebridge. It seems, that some temperature devices make problems. I went back to 2022.2 and all is ok.
PS: Solved, I had to include 127.0.0.* to the list of secure networks.
Thanks a lot! Your solution of including (192.168.x.* in my case) to the trusted networks did the job. All my accessoiries are visible again in Apple HomeKit.
I also changed the server in the HomeBridge setting page of the homebridge-edomoticz plugin because of the much more strict security of Domoticz since version 2023.1 I had to create an admin user account. If Domoticz is set up to use basic or form login authentication, set Server to 'user:pass@ipadress'.
Re: homebridge-edomoticz Plugin
Posted: Tuesday 14 March 2023 13:54
by harrykausl
I'd like to replace my eurotronics-spirit zwave thermostats with homekit (perhaps eve) thermostats. Is there any possibility, to handle homekit devices in domoticz automatically or have I to use dummy thermostats in domoticz / homebridge and handle everything with events in homekit?
Re: homebridge-edomoticz Plugin
Posted: Wednesday 14 June 2023 22:44
by Naqua
Hello since the last beta 15326 of domoticz the api is changed.
Domoticz produces the following in the log when edomotics plugin is started.
No problem yet but the api calls will soon be depricated and edomoticz wont work anymore.
Please refer to
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s for the correct new api calls and please change edomoticz calls accordingly thank you.
023-06-14 22:40:36.085 Status: [WebServer] Depricated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (127.0.0.1)
2023-06-14 22:40:36.096 Status: [WebServer] Depricated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (127.0.0.1)
Re: homebridge-edomoticz Plugin
Posted: Wednesday 26 July 2023 16:50
by heggink
I saw a PR being merged for the homebridge edomoticz plugin: Merge pull request #264 from odelma/master at
https://github.com/patchworkboy/homebridge-eDomotic.
Weirdly, the changes do not show in the repo unless I am missing something. These changes were supposed to fix my last error messages abour deprecated calls. As a result, also no updates to the plugin in Homebridge
.
Anyone any clue? Cheers...
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 13:41
by altaphista
I've got Domoticz 2023.2 running, with the eDomoticz homebrigde plugin, but no luck getting it working.
This is what I tried:
In Domoticz I added 127.0.0.1 and 192.168.0.*. It is connected to a remote shared port (Settings -> Security)
Homebridge started all okay, see below. When I try to add it to Apple Home (add accessory) it says allready added.
So the only problem is that my Domoticz scenes, swithched and lights don't show up in Homebridge i think? How do i get this fixed of get more info in logs?
- Screenshot 2023-09-18 at 13.37.23.png (359.74 KiB) Viewed 5678 times
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 14:59
by TroisSix
Change the id and try again
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 16:55
by altaphista
TroisSix wrote: ↑Monday 18 September 2023 14:59
Change the id and try again
What do you mean? I've done both the reset options in the Homebridge settings (Unpair everything and Reset Accessories) both not succesfull.
Not a single Accessory is loading, also not in the Homebrigde UI, whilst the connection with Domoticz looks good.
EDIT: after I restarted, I changed the config of eDomoticz back and forth again and restarted again, and now it works and shows my Accessories at least in the Homebrigde UI. Still not showing in my Home app...
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 17:44
by TroisSix
Perhaps I wasn't clear enough, I meant by changing one letter in the
name and
username in the config of homebridge + restart of homebridge.
See:
Code: Select all
"bridge": {
"name": "Homebridge eeff",
"username": "aa:bb:cc:dd:ee:ff",
"port": 5190,
"pin": "123-45-678"
},
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 19:13
by altaphista
TroisSix wrote: ↑Monday 18 September 2023 17:44
Perhaps I wasn't clear enough, I meant by changing one letter in the
name and
username in the config of homebridge + restart of homebridge.
See:
Code: Select all
"bridge": {
"name": "Homebridge eeff",
"username": "aa:bb:cc:dd:ee:ff",
"port": 5190,
"pin": "123-45-678"
},
Thanks for your reply TroisSix, but I've tried this a couple of times but no luck. The accessories do show in the homebridge tab, but they won't show after I've added the bridge via 'Add Accessory' in my iOS Home app...
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 20:11
by TroisSix
Can you try the application MyTouchHome on IOS and add your
I tried this when I had difficulties like yours, hope this time it will help
Re: homebridge-edomoticz Plugin
Posted: Monday 18 September 2023 21:04
by altaphista
TroisSix wrote: ↑Monday 18 September 2023 20:11
Can you try the application MyTouchHome on IOS and add your
I tried this when I had difficulties like yours, hope this time it will help
that app is not available in my app store region unfortunately
Re: homebridge-edomoticz Plugin
Posted: Wednesday 20 September 2023 14:19
by altaphista
Anybody else any idea why my accessories show up in Homebridge-eDomoticz, but they are unvisible on my Home (or other, i've tried Eve) app on my iPhone, iPad and Macbook? Pairing the Bridge looks succesfull, but none of the accessories appear...
Edit:
Sollution
After strolling down the internetz looking for an answer, somebody suggested to tap Add Accessory again in the iOS Home app, click on "Other options..." and re-init the Bridge. This worked surprisingly!! Hopefully it helps somebody sometime
Re: homebridge-edomoticz Plugin
Posted: Tuesday 26 September 2023 18:16
by TroisSix
Glad to know it finally works for you
Re: homebridge-edomoticz Plugin
Posted: Friday 20 October 2023 8:03
by Egregius
I often have a problem with homekit-homebridge-domoticz. When I ask a simple task like "Hé Siri, switch light garden on" all lights known in Homebridge switch on.
Any ideas what causes this or ho to troubleshoot?
In domoticz this is the logfile:
Code: Select all
2023-10-20 07:41:27.176 Status: User: admin (IP: 127.0.0.1) initiated a switch command (2301/terras/On)
2023-10-20 07:41:27.176 ZWAVE: Domoticz has send a Switch command!, Level: 87, NodeID: 112 (0x70)
2023-10-20 07:41:27.177 ZWAVE: Light/Switch (terras)
2023-10-20 07:41:27.177 Status: User: admin (IP: 127.0.0.1) initiated a switch command (1383/lamp kast/On)
2023-10-20 07:41:27.178 ZWAVE: Domoticz has send a Switch command! NodeID: 88 (0x58)
2023-10-20 07:41:27.178 ZWAVE: Light/Switch (lamp kast)
2023-10-20 07:41:27.178 Status: User: admin (IP: 127.0.0.1) initiated a switch command (66/eettafel/On)
2023-10-20 07:41:27.179 ZWAVE: Domoticz has send a Switch command!, Level: 8, NodeID: 8 (0x08)
2023-10-20 07:41:27.179 ZWAVE: Light/Switch (eettafel)
2023-10-20 07:41:27.180 Status: User: admin (IP: 127.0.0.1) initiated a switch command (3325/tévé/On)
2023-10-20 07:41:27.181 Status: User: admin (IP: 127.0.0.1) initiated a switch command (2926/voordeur/On)
2023-10-20 07:41:27.181 ZWAVE: Domoticz has send a Switch command! NodeID: 127 (0x7f)
2023-10-20 07:41:27.181 ZWAVE: Light/Switch (voordeur)
2023-10-20 07:41:27.182 Status: User: admin (IP: 127.0.0.1) initiated a switch command (321/tuin/On)
2023-10-20 07:41:27.182 ZWAVE: Domoticz has send a Switch command! NodeID: 53 (0x35)
2023-10-20 07:41:27.183 ZWAVE: Light/Switch (tuin)
2023-10-20 07:41:27.183 Status: User: admin (IP: 127.0.0.1) initiated a switch command (3131/snijplank/On)
2023-10-20 07:41:27.183 ZWAVE: Domoticz has send a Switch command!, Level: 10, NodeID: 143 (0x8f)
2023-10-20 07:41:27.184 ZWAVE: Light/Switch (snijplank)
2023-10-20 07:41:27.184 Status: User: admin (IP: 127.0.0.1) initiated a switch command (3690/zithoek/On)
2023-10-20 07:41:27.184 ZWAVE: Domoticz has send a Switch command!, Level: 20, NodeID: 3 (0x03)
2023-10-20 07:41:27.185 ZWAVE: Light/Switch (zithoek)
2023-10-20 07:41:27.185 Status: User: admin (IP: 127.0.0.1) initiated a switch command (322/houtterras/On)
2023-10-20 07:41:27.185 ZWAVE: Domoticz has send a Switch command! NodeID: 52 (0x34)
2023-10-20 07:41:27.186 ZWAVE: Light/Switch (houtterras)
2023-10-20 07:41:27.186 Status: User: admin (IP: 127.0.0.1) initiated a switch command (2221/lichtbadkamer/On)
2023-10-20 07:41:27.186 ZWAVE: Domoticz has send a Switch command!, Level: 16, NodeID: 106 (0x6a)
2023-10-20 07:41:27.187 ZWAVE: Light/Switch (lichtbadkamer)
2023-10-20 07:41:27.187 Status: User: admin (IP: 127.0.0.1) initiated a switch command (2361/wasbak/On)
2023-10-20 07:41:27.188 ZWAVE: Domoticz has send a Switch command!, Level: 3, NodeID: 117 (0x75)
This also happens sometimes when I ask to set rollers to a certain percentage. It happens so often that I hardly use it because it takes way to much time to switch everything back off again.
Re: homebridge-edomoticz Plugin
Posted: Thursday 09 November 2023 17:22
by Nautilus
I've managed to cause this sometimes by requesting to switch on a device but with a little bit incorrect name, still recognizeable though (or maybe similar to a room name). Not sure if this is a plugin or Homekit (/Homebridge) "feature". Luckily it hasn't happened for a long time.
Re: homebridge-edomoticz Plugin
Posted: Friday 10 November 2023 15:27
by Egregius
I only have one room to avoid all those confirmations from Siri.
Here it happens so often that you would be afraid asking something.