idx number are being re-used on new devices
Posted: Tuesday 24 January 2023 14:19
Hi,
I have a huge issue with my Domoticz. A while back I created some new scenes and these got created with device idx's that were already in use by other sensors. I lost a lot of historical data I wanted. I did post about it in the bug section a few months back, but I did not hear anything, so...
I've just been trying to make some changes to my setup, and the device idx's are getting duplicated all over the place, which means I am losing devices and things are stopping working. I've gone back to a backup again, but if I add/change any devices, the issue will just start again.
I've seen a few threads in here about idx numbers, but nothing like this. I understand this idx is stored in the db somewhere, but I do not know if it is easy to change. Perhaps I can set it over my current highest value (210), somehow? Otherwise, it seems to start around 5/6 and I already have sensors there!
Anyone can help me with this? As I am totally stuck with it as is.... Thanks.
I have a huge issue with my Domoticz. A while back I created some new scenes and these got created with device idx's that were already in use by other sensors. I lost a lot of historical data I wanted. I did post about it in the bug section a few months back, but I did not hear anything, so...
I've just been trying to make some changes to my setup, and the device idx's are getting duplicated all over the place, which means I am losing devices and things are stopping working. I've gone back to a backup again, but if I add/change any devices, the issue will just start again.
I've seen a few threads in here about idx numbers, but nothing like this. I understand this idx is stored in the db somewhere, but I do not know if it is easy to change. Perhaps I can set it over my current highest value (210), somehow? Otherwise, it seems to start around 5/6 and I already have sensors there!
Anyone can help me with this? As I am totally stuck with it as is.... Thanks.