Hi there all,
I want to make a rule for my son in order to let him to play with the Play Station for 2 hours.
I allready have the SonOff POW working and give me the watt number when power on whit this string in sitemap:
Text item=SonOff1Power label=“Power [%.1f Watt]” icon=“switch”
I must make e rule like:
if SonOff1Power > 10watt then add 1 every minute to the variableTotalMinutes.
When variableTotalMinutes > 120 minutes then send OFF command to the SonoffPOW item.
Can anybody please help me to make this rule please ?
Thanks in advance