So I need help with a simple use case… I looked everywhere and I tried all the examples. I don’t get an error but it just never fires. Any ideas? I do have other rules that turn off and on Garage power and they work fine. Thanks in advance.
Use Case = Turn on Garage Power at 6 AM
//Set Garage Door to close after 11*********
rule "Turn Garage Auto Close ON"
Time cron “0 0 6 * * ?“
logInfo(“In Cron------>ZooZ”,” Zooz power ON”)
Did you directly copy/paste bits of your rule from the forum? It looks like you have two different types of double quotes. You may need to retype them. I’ve copied examples from the forum and found that sometimes the double quotes someone had used would cause havoc for my rule.
If you are turning on/off garage power the same way in other rules, it wouldn’t be the problem, but you may also want to change to the sendCommand method… it’s much friendlier to use:
When I copy and paste your rule from your post into a text editor, it is clear that there are two different double quotes. The ones you had in the sendCommand (these ”) are curly (smart), where the others are straight ("). I’ve had issues with the curly ones. When you changed to the sendCommand method, it must have removed the offending quotes that were causing issues for the rule.