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

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
luckysession
Posts: 18
Joined: Saturday 13 July 2013 14:43
Target OS: -
Domoticz version:
Contact:

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

Post 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
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

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

Post by freijn »

Sure you can,

in the "notifications" on the sensor or with a script ( Blocky or Lua ) in the scripting part.
luckysession
Posts: 18
Joined: Saturday 13 July 2013 14:43
Target OS: -
Domoticz version:
Contact:

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

Post 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.
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

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

Post by freijn »

I do not understand your reply, or have misunderstood your question.. :-(
luckysession
Posts: 18
Joined: Saturday 13 July 2013 14:43
Target OS: -
Domoticz version:
Contact:

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

Post 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 1199 times
Better for understanding?

THX Lucky
Attachments
Utility-panel.PNG
Utility-panel.PNG (51.33 KiB) Viewed 1199 times
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

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

Post by freijn »

Capture.JPG
Capture.JPG (49.33 KiB) Viewed 1186 times

Code: Select all

script:///home/pi/domoticz/scripts/alexa_remote_control.sh -d Office -e speak:'The office light has been switched ON!'
luckysession
Posts: 18
Joined: Saturday 13 July 2013 14:43
Target OS: -
Domoticz version:
Contact:

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

Post 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)
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
luckysession
Posts: 18
Joined: Saturday 13 July 2013 14:43
Target OS: -
Domoticz version:
Contact:

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

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests