Securifi Community Forum
Securifi Products => Almond+ => Topic started by: k1m on April 06, 2015, 10:56:14 pm
-
I want to rearrange my sensors so that they are grouped together by rooms. Is there a config file that holds the sensors and determines the order they get listed? I am comfortable with SSH if need be. Thanks
-
Does the silence mean no?
-
I've asked the software team to reply, but I guess they don't have an answer as there's nothing publicly available to do this.
-
@k1m: Have a look at /tmp/DeviceList.xml. A few things you should be aware of:
1) This file has a backup on a protected partition, so any manual changes may (possibly will) be reset on a reboot.
2) Every device has an ID, this is an attribute (Example: <Device ID="3">). Devices are ordered using this.
3) Changing the ID will (Definitely will) break the rules created before the ID change. The ID is a primary key for the sensors DB.
4) After changing the IDs, remember to "killall haserver;killall cloudha" on the console.
5) I'm sharing this information in the spirit of the community/hackability, the disclaimer reads that this may break some stuff so be wary. If something goes wrong, the only way to recover the device may be to reset the home automation subsystem (via the LCD) and add all your devices again manually.
Hope that helps,
Devesh
-
Thank you guys. One more question, restoring from a backup will not prevent the need to repair devices in case of a catastrophic oops? I will experiment at my own risk, I like to consider it the joys of hacking.
-
You'd be editing the "live" image. Hitting the reset button up top for 10 seconds will load a "backup" image from the flash that will overwrite most settings and should fix most things that you break this way.
-
Cool. Thank you. Off to hack.
-
Is there a way to update the device IDs in the rules?
Any estimate on when this functionality to re-order sensors will be added?