This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Pushover notification scripting
#4
(18.09.2016, 11:37)Erwin van der Zwart Wrote: Hi,


Use this in your event based script:

value = event.getvalue()
if value == true  then -- or use =< 21

-- put here your push command

elseif value == false then -- or use => 22

-- put here your action / command

end

BR,

Erwin

Hi again Erwin, another problem arose when i started using this for real. I get an alert every time the bus get's updated with a lower value than set. What would i need to add in the script to make it check previous value, and not to run the script if previous value already led it to run the script`?

BR,
Jørn

Best regards, Jørn.
Reply


Messages In This Thread
Pushover notification scripting - by Jørn - 18.09.2016, 11:00
RE: Pushover notification scripting - by Jørn - 25.10.2016, 15:08

Forum Jump: