Hi,
I've recently encountered a problem because I wanted to change some devices in my Domoticz setup. My issue is that I can no longer add devices in DZGA.
I did some research on my end, but I didn't find a solution. However, I did find a workaround and might have some ideas for reproducing the bug.
I had to replace a Fibaro Z-Wave smart plug that broke down. I switched brands (Aerotec Smart Switch 7 in Zwave+), but I wanted to keep my consumption history. So, I carefully saved the kWh and wattage consumption in Domoticz. But by mistake, I deleted the rest of the old plug's settings, including the on/off button. No big deal, I thought... The new on/off button had a new IDX, 4375 instead of 1205. I added it to the plan used in DZGA and synchronized it there. I lost a device in DZGA. I tried renaming the plug to 4375 and changing the plug type, but nothing worked. I manually added it to the DZGA configuration file, but it deletes it during synchronization.
Since I use this outlet very often, I backed up the Domoticz database from before the removal of the 1205 On/Off button and replaced it with the new button, without changing the IDX, which therefore remains 1205. Everything works this way; I can synchronize in DZGA, and it doesn't lose it.
I tried creating a "dummy button" or older device with an IDX >2600, but it wasn't detected in DZGA (for example: IDX 2585 is recognized but not 2601).
I tried deleting the DZGA database, creating a new user, and changing the plane number in DZGA (and the 0 plan), but it didn't change anything
I've already done the same thing because the Fibaro sockets are not reliable at all, but I hadn't forgotten to keep the original IDX of the on/off socket (idx 1140).
Thank you in advance for your help, I really appreciate DZGA which truly simplifies the use of Google Home and Domoticz.
edit:
I looked, but I can't find any information on the IDX 2999, which is a smart plug.
However, I did find this, which seems strange to me:
Code: Select all
{
"id": "OnOff_890",
"type": "action.devices.types.OUTLET",
"traits": [
"action.devices.traits.OnOff",
"action.devices.traits.Timer"
],
"name": {
"name": "Prise HT",
"nicknames": [
"Prise HT"
]
},
"willReportState": true,
"attributes": {
"maxTimerLimitSec": 7200,
"commandOnlyTimer": true
},
"customData": {
"check_state": true,
"dzTags": false,
"idx": "890",
"domain": "OnOff",
"protected": false
},
"roomHint": "Bureau",
"notificationSupportedByAgent": false,
"deviceInfo": {
"manufacturer": "Domoticz",
"model": "2023.2",
"hwVersion": "1.0",
"swVersion": "1.0"
}
},
Each device is running Domoticz version
2023.2, while I'm currently on
2025.2.
I even have this information in DZGA:
Code: Select all
About
DZGA-Flask Version: 24.10
Domoticz Version: 2025.2
This could correspond to devices running version 2023.2 or higher.