Page 1 of 1
change IDx is that possible ?
Posted: Sunday 19 August 2018 17:52
by Stef
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
Re: change IDx is that possible ?
Posted: Monday 20 August 2018 8:11
by SweetPants
Stef wrote: ↑Sunday 19 August 2018 17:52
Isn't possible to change the IDx in Domotics, so that you can smoothly add and remove devices ?
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.
Re: change IDx is that possible ?
Posted: Monday 20 August 2018 8:48
by Varazir
It's sad if you have many blocky you have to change all of them.
Re: change IDx is that possible ?
Posted: Monday 20 August 2018 10:27
by poudenes
Varazir wrote:It's sad if you have many blocky you have to change all of them.
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 file

problem solved
Verzonden vanaf mijn iPhone met Tapatalk Pro
Re: change IDx is that possible ?
Posted: Tuesday 07 January 2020 0:16
by Jimmy06
poudenes wrote: ↑Monday 20 August 2018 10:27
Varazir wrote:It's sad if you have many blocky you have to change all of them.
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 file

problem solved
Verzonden vanaf mijn iPhone met Tapatalk Pro
Hi Poudenes,
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