i want disable in rules a action
Code: Select all
//On sonde1#temperature do
// if [sonde1#temperature] < 26 and %v1% = 1
// gpio,16,1
// endif
// if [sonde1#temperature] > 27
// gpio,16,0
// endif
//endon
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
//On sonde1#temperature do
// if [sonde1#temperature] < 26 and %v1% = 1
// gpio,16,1
// endif
// if [sonde1#temperature] > 27
// gpio,16,0
// endif
//endon
Code: Select all
On Xsonde1#temperature do
Code: Select all
On sonde1#temperature do
if %v2% = 0
if [sonde1#temperature] < 26 and %v1% = 1
gpio,16,1
endif
if [sonde1#temperature] > 27
gpio,16,0
endif
endif
endon
// to enable/disable use command: event,setsonde1=1 (disable) or =0 (enable)
on setSonde1 do
if %eventvalue1%=1
let,2,1 // Disable Sonde1 actions
else
let,2,0 // Enable Sonde1
endif
endon
ok , thank you , good ideachromo23 wrote: ↑10 Apr 2022, 17:14 you could do an intentional typo of the taskname.
example:Code: Select all
On Xsonde1#temperature do
Users browsing this forum: Google [Bot] and 95 guests