new request: telegram call as notification for emergency alarms

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
megamarco83
Posts: 107
Joined: Friday 21 September 2018 15:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

new request: telegram call as notification for emergency alarms

Post by megamarco83 »

in domoticz we have multiple notification and one of these is telegram notification
i tried telegram notification creating a telegram bot, and then a public channel where i added multiple user (including the bot)
this is very useful to receive a notification when something happen to a group user (typical the user group are the familiars inside the house)

now, a notification, play a sound only for a few seconds (like when you receive a message), so i prefer (at least for emergency alarms) to receive a call or something that can continue ringing UNTIL the first user inside the group will stop it (receiving a call for example, it will ring until someone inside the group answer)

my request comes from "emergency alarms" lilke when a sensor detect a presence when there is none at home.
in this case receive a notification that make a single sound could be not sufficient to recognize the emergency
if we think about alarm system to protect the house they make a phone call to a user group and continue to call this phone numbers till someone of the group answer and delete the alarm condition.
is it possible to implement also a telegram call as a notification?

p.s. i mention telegram because it could be "the easiest" way...but honestly i don't know, maybe there will be others ways
lost
Posts: 616
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: new request: telegram call as notification for emergency alarms

Post by lost »

megamarco83 wrote: Tuesday 04 October 2022 11:59 i mention telegram because it could be "the easiest" way...but honestly i don't know, maybe there will be others ways
Why not just making a true phone call to a list of mobiles? IMO, if your home is calling you when not at home, this may be enough to warn you for a check!

That's IMO better approach than adding another (for some time) fancy messaging/call system.

Most of lines are now VoIP, probably using SIP, so a call may be made from anything connected to your LAN with right SW support.

Even if it's not the case (some dumb providers, as Orange in France, lock SIP to avoid direct use), an old USB modem with AT command set (to send on it's serial-usb interface) will do the job: That's just sending ATDT dial commands with phone Nb in sequence, after one modem setup+tuning timeout (ATS7=8 should allow 2 rings), and wait for a "NO CARRIER" or "OK" answer depending if someone took the call or not.

I have such setup. Was 1st intended to use as a phone spammer filter (does the job nicely, answering and hanging auto-magically at 1st or 2nd ring depending if in local blacklist or online check was needed, but much more complex setup than just making calls) but later extended to warn me if alarm is triggered so I can check my mail for more information (sensor(s) that triggered, IP camera captures...).

This'll always work & not change user APIs or terms when I'm on holidays!
megamarco83
Posts: 107
Joined: Friday 21 September 2018 15:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: new request: telegram call as notification for emergency alarms

Post by megamarco83 »

lost wrote: Wednesday 05 October 2022 11:02
Why not just making a true phone call to a list of mobiles? IMO, if your home is calling you when not at home, this may be enough to warn you for a check!
i fully agree with you!
that's a wonderful solution
lost wrote: Wednesday 05 October 2022 11:02 I have such setup. Was 1st intended to use as a phone spammer filter (does the job nicely, answering and hanging auto-magically at 1st or 2nd ring depending if in local blacklist or online check was needed, but much more complex setup than just making calls) but later extended to warn me if alarm is triggered so I can check my mail for more information (sensor(s) that triggered, IP camera captures...).

This'll always work & not change user APIs or terms when I'm on holidays!
i'm very interested on it
can you help me to implement it?
or share some info how to proceed. (consider that i'm not so familiar with VoIP call or other stuff)

i would like to receive a phone call to a user group when a dummy switch in domoticz is turned on.
then when the first user group answer and give the "OK" the system can reset and stop calling till a new alarm will be detected.
thanks!
lost
Posts: 616
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: new request: telegram call as notification for emergency alarms

Post by lost »

megamarco83 wrote: Thursday 06 October 2022 11:21 or share some info how to proceed. (consider that i'm not so familiar with VoIP call or other stuff)
On my side, I could not use VoIP/SIP as this is not possible with my internet provider... So I reused an old PSTN USB modem (those that were used before ADSL).

So this needs specific HW & not using the phone RJ11 that does the SIP gateway & is normaly used to wire the phone (my fiber modem have DECT included so I do not use it, so RJ11 could be used).

That's IMO a bit specific, but if this may apply to you I can help!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest