How to write OLED status to variable
Posted: 08 Jun 2021, 21:30
Hi all,
I am using the following rule to switch my OLED on and off:
Which is working perfectly, now I would like to write the status of the display to a dummy device. Due to my age I am to lazy to walk in to the living room to find out if the display is off I thought the following would help, but didn't:
or
Any idea how to solve?
Thanks and greetings
marstu
I am using the following rule to switch my OLED on and off:
Code: Select all
on Clock#Time=All,20:00 do //will run once a day
oledframedcmd,display,off
endon
on Clock#Time=All,06:30 do //will run once a day
oledframedcmd,display,on
endon
Code: Select all
on Display_XYZ#state=off do
taskvalueset,6,1,1
endon
Code: Select all
on displayoff do
taskvalueset,6,1,1
endon
Thanks and greetings
marstu