I’ve been playing around with the Sleeper mode functionality in LC, which is excellent for low-cost deployments until something goes wrong.
I get sensors pushed out and auto-tagged with lc:sleeper
on install…however, now I have the issue of waking everything up again?
I get I can remove a tag manually, but what if I wanted to wake everything up at once?
It doesn’t look like a D&R rule will do this - I’m assuming becasue the sensors are asleep 
I managed to figure this out for anyone else who needs this in the future.
The CONNECTED
and SYNC
events never get triggered in Sleeper mode, so you can’t use those in a D&R rule.
You must use the 30m_per_sensor
event, which will be triggered every 30 minutes for each sensor. Then, you can modify the tags on the sensors.
Another option would be to use either the API or Python SDK and a playbook, or use the CLI.
CLI Version (after authenticating):
limacharlie mass-tag --remove-tags -t '`lc:sleeper`' 'tag == `lc:sleeper`'
Note the backticks around the tags. If these are omitted, you’ll get an “error compiling selector” error.
API version:
Grab a list of the sensors: Swagger UI
Iterate through the list and delete the sleeper tag: Swagger UI
More info: LimaCharlie SDK & CLI
1 Like