hello
I'm connecting / removing my own devices and use the description here https://www.domoticz.com/wiki/MQTT
It works, but everytime I remove a device and reconnect again, I get another IDX and I have to reprogram my own device.
Isn't possible to change the IDx in Domotics, so that you can smoothly add and remove devices ?
thanks,
Stef
change IDx is that possible ?
Moderator: leecollings
Re: change IDx is that possible ?
No, the IDx cannot be changed because there are too many tables in the database referencing this IDx. For some devices you can move (replace) the old data to the new device.
- Varazir
- Posts: 380
- Joined: Friday 20 February 2015 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: change IDx is that possible ?
It's sad if you have many blocky you have to change all of them.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Several IKEA devices/z-wave devices
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: change IDx is that possible ?
Had same in past. But learned the dzvents system and now have a global_data file with all my idx in it and a nice name. Build all scripts on the nice name. When a idx change I only chance it in the global_data fileVarazir wrote:It's sad if you have many blocky you have to change all of them.

Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 10
- Joined: Tuesday 30 January 2018 22:07
- Target OS: NAS (Synology & others)
- Domoticz version: 2021.1
- Location: France
- Contact:
Re: change IDx is that possible ?
Hi Poudenes,poudenes wrote: ↑Monday 20 August 2018 10:27Had same in past. But learned the dzvents system and now have a global_data file with all my idx in it and a nice name. Build all scripts on the nice name. When a idx change I only chance it in the global_data fileVarazir wrote:It's sad if you have many blocky you have to change all of them.problem solved
Verzonden vanaf mijn iPhone met Tapatalk Pro
I had a problem with the DB. I removed then reinstall some of my devices, and I got new idx and I had to modify some scripts.
I searched the solution you did to prevent the same situation in the future, but I can't find!...
Would it be possible to help me to make that magic file?!...
Thank you,
Jimmy
Synology 1010+ & DS216+ & DS720+ / PI 3 & Domoticz 2021.1 / RFPlayer / ZStick gen5 / Tasmota / Espeasy
Who is online
Users browsing this forum: No registered users and 1 guest