Page 1 of 1

Action on events...// Notification - call link or script

Posted: Thursday 03 January 2019 9:33
by luckysession
Hi all,

maybe possible to integrate actions on event in temperature, counter etc...

Like "ON or OFF actions" in switches... with and without delay... to start scripts or call link. (temperature under 5°C start script)

In my opinion it´s shown in notification tab.

Hope someone understand me, sorry for my english.

Thx
luckysession

Re: Action on events...// Notification - call link or script

Posted: Thursday 03 January 2019 10:14
by freijn
Sure you can,

in the "notifications" on the sensor or with a script ( Blocky or Lua ) in the scripting part.

Re: Action on events...// Notification - call link or script

Posted: Thursday 03 January 2019 11:06
by luckysession
freijn wrote: Thursday 03 January 2019 10:14 Sure you can,

in the "notifications" on the sensor or with a script ( Blocky or Lua ) in the scripting part.
Sure, but this is not comfortable, like the way in option "notifacation" in switches.

Re: Action on events...// Notification - call link or script

Posted: Thursday 03 January 2019 14:27
by freijn
I do not understand your reply, or have misunderstood your question.. :-(

Re: Action on events...// Notification - call link or script

Posted: Thursday 03 January 2019 16:03
by luckysession
freijn wrote: Thursday 03 January 2019 14:27 I do not understand your reply, or have misunderstood your question.. :-(
Okay, sorry, try in picture...
Switch-panel.PNG
Switch-panel.PNG (27.19 KiB) Viewed 1201 times
Better for understanding?

THX Lucky

Re: Action on events...// Notification - call link or script

Posted: Thursday 03 January 2019 20:46
by freijn
Capture.JPG
Capture.JPG (49.33 KiB) Viewed 1188 times

Code: Select all

script:///home/pi/domoticz/scripts/alexa_remote_control.sh -d Office -e speak:'The office light has been switched ON!'

Re: Action on events...// Notification - call link or script

Posted: Saturday 05 January 2019 11:29
by luckysession
Not action on switches!!!

ACTION on events, like ...

temperature below 15°C then start script(or call link)
utilities, counters, >> solar power > 2000W then start script(or call link)

Re: Action on events...// Notification - call link or script

Posted: Saturday 05 January 2019 12:18
by waaren
luckysession wrote: Saturday 05 January 2019 11:29 Not action on switches!!!

ACTION on events, like ...

temperature below 15°C then start script(or call link)
utilities, counters, >> solar power > 2000W then start script(or call link)
Thanks for the exclamation marks. That really helped to understand what you mean...
What you want is not in domoticz now. Developers are reading the forum and maybe one is willing to create a PR for this but I don't think it will get a high priority as there are many script like alternatives to achieve the same.

Re: Action on events...// Notification - call link or script

Posted: Saturday 05 January 2019 13:14
by luckysession
waaren wrote: Saturday 05 January 2019 12:18
luckysession wrote: Saturday 05 January 2019 11:29 Not action on switches!!!

ACTION on events, like ...

temperature below 15°C then start script(or call link)
utilities, counters, >> solar power > 2000W then start script(or call link)
Thanks for the exclamation marks. That really helped to understand what you mean...
What you want is not in domoticz now. Developers are reading the forum and maybe one is willing to create a PR for this but I don't think it will get a high priority as there are many script like alternatives to achieve the same.
Thanks!