Is there a programmatic way to set a particular device’s Advanced variables to specific settings? I have a couple of the Aeotec switched plugs that have to have a default capability removed in order to work properly. And, if someone turns the thing on manually, it puts the capability back and effectively “breaks” the automation of that switch. I’m looking for a way to set the capabilities programmatically, possibly on a repeating schedule, to ensure that they are set properly so that scenes and such can actually control them.
You should be able to access/set them using Luup Variables: http://wiki.micasaverde.com/index.php/Luup_Variables
If you hover over the variable name on the advanced page, it will give you the service id in a tooltip.