[SOLVED] Time related rule using cron

This should be Time cron "10 0 0 * * ? *" as @Jim_Verspuij mentioned (be aware of the extra *), in case of 10 seconds after midnight, otherwise it should be Time cron "0 0 0 * * ? *"
On other option is to use Design Pattern: Time Of Day. It more advanced rule.

On other problem that can be is this:

This actions only accepts strings, OFF is not a string, "OFF" is. See MyItem.sendCommand(“new state”) versus sendCommand(MyItem, “new state”)

My advise is to use LuifelverlichtingSwitchBinary1.sendCommand(OFF)

1 Like