homebridge-edomoticz Plugin

Moderator: leecollings

loteran
Posts: 3
Joined: Saturday 02 December 2017 10:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by loteran »

Hello everyone,

I've got a problem with edomoticz when I update to V2 1 45-46 or 47.

Homebridge can't load my accessoires, but if I go back to V2 1 40 everything work

With v2 1 45+

Code: Select all

[14/11/2023, 19:03:24] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge DCF1) is running on port 51726.
[14/11/2023, 19:03:25] Télé 4EF7 is running on port 32991.
[14/11/2023, 19:03:25] Please add [Télé 4EF7] manually in Home app. Setup Code: 577-00-900
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp All. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Bridge. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Couloir. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Cuisine. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp SDB. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Salon. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[14/11/2023, 19:03:26] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[14/11/2023, 19:03:50] [Google Smart Home] Finished instance discovery
[14/11/2023, 19:04:05] [Google Smart Home] Sending Sync Request
[14/11/2023, 19:04:05] [Google Smart Home] Received SYNC intent
Any ideas why it's happend ??? I change nothing, just update and when i go back to v2 40 everything work again I can see my accessories.

Something strange, in v40 I see my accessories, edmoticz can see them and I can switch on or off, but in my logs i got this :

Code: Select all

[Domoticz] Device: éteins tout (1798)
[14/11/2023, 19:04:38] [Domoticz] External Device: LG TV - Status (1193)
[14/11/2023, 19:04:38] LG TV - Status BC65 is running on port 33579.
[14/11/2023, 19:04:38] Please add [LG TV - Status BC65] manually in Home app. Setup Code: 577-00-900
[14/11/2023, 19:04:38] [Domoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[14/11/2023, 19:04:39] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[14/11/2023, 19:05:02] [Google Smart Home] Finished instance discovery
[14/11/2023, 19:05:17] [Google Smart Home] Sending Sync Request
[14/11/2023, 19:05:17] [Google Smart Home] Received SYNC intent
[14/11/2023, 19:05:23] [Google Smart Home] Received QUERY intent
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: homebridge-edomoticz Plugin

Post by Egregius »

I have some other strange thing now...
Because I moved my Homepod mini to the bathroom I wanted it to start playing music as soon as I turn on the light from the bathroom.
That's when I noticed that the status of the light isn't updated in homebridge/homekit anymore.

When I send a switch command in domoticz homebridge and homekit don't see this until I refresh the homebridge ui accessoires page.
When I send the command from within the home app all is instantly up-to-date.
Tried returning to previous versions from homebridge and from edomoticz plugin but none works.

I also tried with 2 browser windows open. Refreshing one of them results in both being up-to-date. Strange thing...

Any ideas?
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: homebridge-edomoticz Plugin

Post by Nautilus »

loteran wrote: Tuesday 14 November 2023 18:57 Hello everyone,

I've got a problem with edomoticz when I update to V2 1 45-46 or 47.

Homebridge can't load my accessoires, but if I go back to V2 1 40 everything work

With v2 1 45+

Code: Select all

[14/11/2023, 19:03:24] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge DCF1) is running on port 51726.
[14/11/2023, 19:03:25] Télé 4EF7 is running on port 32991.
[14/11/2023, 19:03:25] Please add [Télé 4EF7] manually in Home app. Setup Code: 577-00-900
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp All. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Bridge. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Couloir. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Cuisine. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp SDB. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Salon. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[14/11/2023, 19:03:26] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[14/11/2023, 19:03:50] [Google Smart Home] Finished instance discovery
[14/11/2023, 19:04:05] [Google Smart Home] Sending Sync Request
[14/11/2023, 19:04:05] [Google Smart Home] Received SYNC intent
Any ideas why it's happend ??? I change nothing, just update and when i go back to v2 40 everything work again I can see my accessories.

Something strange, in v40 I see my accessories, edmoticz can see them and I can switch on or off, but in my logs i got this :

Code: Select all

[Domoticz] Device: éteins tout (1798)
[14/11/2023, 19:04:38] [Domoticz] External Device: LG TV - Status (1193)
[14/11/2023, 19:04:38] LG TV - Status BC65 is running on port 33579.
[14/11/2023, 19:04:38] Please add [LG TV - Status BC65] manually in Home app. Setup Code: 577-00-900
[14/11/2023, 19:04:38] [Domoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[14/11/2023, 19:04:39] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[14/11/2023, 19:05:02] [Google Smart Home] Finished instance discovery
[14/11/2023, 19:05:17] [Google Smart Home] Sending Sync Request
[14/11/2023, 19:05:17] [Google Smart Home] Received SYNC intent
[14/11/2023, 19:05:23] [Google Smart Home] Received QUERY intent
I think the api calls were updated in the latest release to reflect what Domoticz is using. Is your Domoticz up to date?
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 »

since i updated domoticz i keep getting these error messages, and i have traced it back to the edomoticz plugin in homebridge, is there a way to get rid of the errors?

2024-01-12 22:12:53.026 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (192.168.1.57)
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: homebridge-edomoticz Plugin

Post by waltervl »

Did you update he plugin already?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by akamming »

loteran wrote: Tuesday 14 November 2023 18:57 Hello everyone,

I've got a problem with edomoticz when I update to V2 1 45-46 or 47.

Homebridge can't load my accessoires, but if I go back to V2 1 40 everything work

With v2 1 45+

Code: Select all

[14/11/2023, 19:03:24] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge DCF1) is running on port 51726.
[14/11/2023, 19:03:25] Télé 4EF7 is running on port 32991.
[14/11/2023, 19:03:25] Please add [Télé 4EF7] manually in Home app. Setup Code: 577-00-900
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp All. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Bridge. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Couloir. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Cuisine. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp SDB. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] Could not fetch data for AppLamp Salon. (Device might have been removed?)
[14/11/2023, 19:03:25] [Domoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[14/11/2023, 19:03:26] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[14/11/2023, 19:03:50] [Google Smart Home] Finished instance discovery
[14/11/2023, 19:04:05] [Google Smart Home] Sending Sync Request
[14/11/2023, 19:04:05] [Google Smart Home] Received SYNC intent
Any ideas why it's happend ??? I change nothing, just update and when i go back to v2 40 everything work again I can see my accessories.

Something strange, in v40 I see my accessories, edmoticz can see them and I can switch on or off, but in my logs i got this :

Code: Select all

[Domoticz] Device: éteins tout (1798)
[14/11/2023, 19:04:38] [Domoticz] External Device: LG TV - Status (1193)
[14/11/2023, 19:04:38] LG TV - Status BC65 is running on port 33579.
[14/11/2023, 19:04:38] Please add [LG TV - Status BC65] manually in Home app. Setup Code: 577-00-900
[14/11/2023, 19:04:38] [Domoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
[14/11/2023, 19:04:39] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[14/11/2023, 19:05:02] [Google Smart Home] Finished instance discovery
[14/11/2023, 19:05:17] [Google Smart Home] Sending Sync Request
[14/11/2023, 19:05:17] [Google Smart Home] Received SYNC intent
[14/11/2023, 19:05:23] [Google Smart Home] Received QUERY intent
I see you are on homebridge 1.5 which itself is already on 1.7

i don't know if it fixes your problem. But never a good idea to be on old versions, cause very likely the developers will not test to old versions.

In my setup all works fine and i'm on the latest versions of all products:
- Homebridge 1.7
- Domoticz 2024.1
- Edomoticz 2.1.47
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by madpatrick »

Hi,

I'm trying the homebridge-edomoticz Plugin with homebridge and i noticed that my thermostats were not added.
After a search i've found out that is worling with domtoicz 2023.2, but not with 2024.x

Is somebody experiencing the same problems or does somebody has a solution for this?

- Debian 11
- Homebridge 1.7
- Domoticz 2024.4
- Edomoticz 2.1.47

Code: Select all

[11-2-2024 15:28:50] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge E72C) is running on port 51012.
[11-2-2024 15:28:50] [Domoticz] Device: Toon Thermostaat (255)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Erker (69)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Keukenzijde (59)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Openhaard (276)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Studeerkamer (355)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - TV (455)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Tuinzijde (64)
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by akamming »

madpatrick wrote: Sunday 11 February 2024 14:59 Hi,

I'm trying the homebridge-edomoticz Plugin with homebridge and i noticed that my thermostats were not added.
After a search i've found out that is worling with domtoicz 2023.2, but not with 2024.x

Is somebody experiencing the same problems or does somebody has a solution for this?

- Debian 11
- Homebridge 1.7
- Domoticz 2024.4
- Edomoticz 2.1.47

Code: Select all

[11-2-2024 15:28:50] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge E72C) is running on port 51012.
[11-2-2024 15:28:50] [Domoticz] Device: Toon Thermostaat (255)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Erker (69)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Keukenzijde (59)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Openhaard (276)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Studeerkamer (355)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - TV (455)
[11-2-2024 15:28:50] [Domoticz] Device: Wnk - Tuinzijde (64)
I also use domoticz and homebridge/edomoticz. Thermostat support is edomoticz is very limited: you can Only set the setpoint, where in HomeKit the device can also set heating mode, check current temp, etc… domoticz splits this functionality in 4 devices and that’s why edomoticz. Cannot convert

So I Made my own homebridge plug-in for domoticz thermostats: https://github.com/akamming/homebridge ... thermostat

I suggest you use this one. This also works around your issue and you have a better HomeKit experience
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by madpatrick »

Thanks.
Nice add on for Homebridge.
I've also found a Toon plugin for Homebrdige. SInce i've a Toon Thermostat this works better.

Never the less since Domtoicz 2024.x the thermostats are not working any more with Edomoticz.
So the problem lays with a change of Domoticz or Edomoticz needs an update, because i believe there was change in Domotivz for thermostats
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by akamming »

madpatrick wrote: Monday 12 February 2024 12:35 Never the less since Domtoicz 2024.x the thermostats are not working any more with Edomoticz.
So the problem lays with a change of Domoticz or Edomoticz needs an update, because i believe there was change in Domotivz for thermostats
best is to log an issue on the github page of edomoticz then i would say
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by madpatrick »

akamming wrote: Monday 12 February 2024 15:04
madpatrick wrote: Monday 12 February 2024 12:35 Never the less since Domtoicz 2024.x the thermostats are not working any more with Edomoticz.
So the problem lays with a change of Domoticz or Edomoticz needs an update, because i believe there was change in Domotivz for thermostats
best is to log an issue on the github page of edomoticz then i would say
Already done ;)

https://github.com/PatchworkBoy/homebri ... issues/279
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
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 »

akamming wrote: Sunday 11 February 2024 18:11 I also use domoticz and homebridge/edomoticz. Thermostat support is edomoticz is very limited: you can Only set the setpoint, where in HomeKit the device can also set heating mode, check current temp, etc… domoticz splits this functionality in 4 devices and that’s why edomoticz. Cannot convert

So I Made my own homebridge plug-in for domoticz thermostats: https://github.com/akamming/homebridge ... thermostat

I suggest you use this one. This also works around your issue and you have a better HomeKit experience
Alternative is to use homebridge-web-thermostat and NodeRed to knock up a flow that creates the required web endpoints that talk to the required virtual domoticz devices (3x setpoints: Heating, Cooling & Target) & monitors domoticz/in & out MQTT - S'how I've been running thermostats in homebridge for _years_
Attachments
Screenshot 2024-03-29 at 15.26.13.jpg
Screenshot 2024-03-29 at 15.26.13.jpg (199.3 KiB) Viewed 1497 times
Last edited by Marci on Friday 29 March 2024 16:40, edited 2 times in total.
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
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 »

madpatrick wrote: Monday 12 February 2024 12:35 Already done ;)

https://github.com/PatchworkBoy/homebri ... issues/279
Everything merged and published to NPM as v2.1.49 - with a tweak to maintain compatibility with BOTH 2023.x and 2024.x
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
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by madpatrick »

Marci wrote: Friday 29 March 2024 16:36
madpatrick wrote: Monday 12 February 2024 12:35 Already done ;)

https://github.com/PatchworkBoy/homebri ... issues/279
Everything merged and published to NPM as v2.1.49 - with a tweak to maintain compatibility with BOTH 2023.x and 2024.x
Many thanks.

Are there plans to make Groups available ?
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
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 »

What do you mean by “groups”?
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
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by madpatrick »

Marci wrote: Saturday 18 May 2024 16:59 What do you mean by “groups”?
In Domoticz you have groups and scenes
In a group you multiple devices (switches) you can switch on/off with one click
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest