Page 1 of 1

Renaming a device after re-inclusion

Posted: 24 Feb 2016 00:37
by bogr
I had to re-include a device, and now it of course got a new id. Since I have some rules etc, I'd like it to be named as before the re-inclusion. So from the new "Routing Multilevel Sensor_16" I'd like it to go back to the old "Routing Multilevel Sensor_4". This of course goes for all the sensors for that device, i.e. "Alarm Tampering 16-0-113-7-3" => "Alarm Tampering 4-0-113-7-3". Just as long I know which files are affected I can just create a simple sed script, but I don't want to mess around in the wrong config files. Any ideas?

Re: Renaming a device after re-inclusion

Posted: 27 Feb 2016 21:24
by bogr
I've gone through all (?) "storage" files now and looks like I'm missing a last piece and one config reference that I haven't been able to find. I've changed all references in:

Code: Select all

automation/storage/configjson-06b2d3b23dce96e1619d2b53d6c947ec.json
automation/storage/notifications-f37bd2f66651e7d46f6d38440f2bc5dd.json
config/zddx/f214c069-DevicesData.xml
automation/apiary.apib
config/Configuration.xml
but something seem to be missing :evil: