Taskrun in rules
Posted: 01 Dec 2019, 17:22
Hello friends,
I am using actually ESP_Easy_mega-20191116_normal_ESP8266_4M1M.bin
I increment/decrement a setpoint by push button Up and Down in var 1
I also display this set point on Oled Frame display
The refresh rate of the display is set to 30 sec because it shows temperature data
But when setpoint is changed by Up / down it should refresh display immediately.
I wanted to use Taskrun command in rules like this
But this command reboot the esp ?
If I give this command in the command line no reboot
Of course I can program refresh rate of display every sec but this consume cpu ressource
Is this a possible bug ?
Patou
I am using actually ESP_Easy_mega-20191116_normal_ESP8266_4M1M.bin
I increment/decrement a setpoint by push button Up and Down in var 1
I also display this set point on Oled Frame display
The refresh rate of the display is set to 30 sec because it shows temperature data
But when setpoint is changed by Up / down it should refresh display immediately.
I wanted to use Taskrun command in rules like this
Code: Select all
On Up#State=1 do
if [var#1]<=[Var#7] // compare if not above max value
let,1,[var#1]+0.5
taskrun,8
endif
endon
If I give this command in the command line no reboot
Of course I can program refresh rate of display every sec but this consume cpu ressource
Is this a possible bug ?
Patou