script for phone ringing instead of notification

Moderator: leecollings

Post Reply
geronimobb
Posts: 9
Joined: Thursday 05 June 2014 23:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

script for phone ringing instead of notification

Post by geronimobb »

Hy,

Is there a possibility to make my phone ring instead of receiving a notification, when fe my alarm is triggered? Not sure if this belongs to scripting.

Kind regards.
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: script for phone ringing instead of notification

Post by Egregius »

If you have an iPhone you can (ab)use the Findmyiphone interface from apple.
Clemen
Posts: 75
Joined: Saturday 05 December 2015 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Europe
Contact:

Re: script for phone ringing instead of notification

Post by Clemen »

I am using https://www.nexmo.com/ you can call a phone number with text to speech.

https://docs.nexmo.com/messaging/conversion-api
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: script for phone ringing instead of notification

Post by gizmocuz »

Clemen wrote:I am using https://www.nexmo.com/ you can call a phone number with text to speech.

https://docs.nexmo.com/messaging/conversion-api
Nice, maybe this can be build into a notification system for domoticz ? :)
Quality outlives Quantity!
JohnBoy32
Posts: 16
Joined: Friday 04 March 2016 9:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: script for phone ringing instead of notification

Post by JohnBoy32 »

Clemen wrote:I am using https://www.nexmo.com/ you can call a phone number with text to speech.

https://docs.nexmo.com/messaging/conversion-api
As far as I can oversee you will get calls from nexmo with sender "unknown number".
I find this rather unpractical (general behavior of ignoring number unknown and also do not disturb will not pass through these calls) for alarm and urgent matters.
Their solution is buy a number at nexmo?

Personally I like the (ab)use of findmyiphone of Egregius better.
Maybe (one day) the wiki can be optimized so LUA and Blocky-users can easily start to use it (or maybe even standard notification in Domoticz). Especially if you want to use only the part for messaging (of his broad contributions).
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: script for phone ringing instead of notification

Post by Egregius »

Believe me that the findmyiphone message will be heared :o
Do not disturb, switch to silent, no mather what the sound is there and it doesn't stop. Don't know how long it will be beeping...
You can try that easily on icloud.com and go to findmyiphone. Sent a message to yourself.
Clemen
Posts: 75
Joined: Saturday 05 December 2015 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Europe
Contact:

Re: script for phone ringing instead of notification

Post by Clemen »

JohnBoy32 wrote:
Clemen wrote:I am using https://www.nexmo.com/ you can call a phone number with text to speech.

https://docs.nexmo.com/messaging/conversion-api
As far as I can oversee you will get calls from nexmo with sender "unknown number".
I find this rather unpractical (general behavior of ignoring number unknown and also do not disturb will not pass through these calls) for alarm and urgent matters.
Their solution is buy a number at nexmo?

Personally I like the (ab)use of findmyiphone of Egregius better.
Maybe (one day) the wiki can be optimized so LUA and Blocky-users can easily start to use it (or maybe even standard notification in Domoticz). Especially if you want to use only the part for messaging (of his broad contributions).

Correct you need to buy a number to get a caller id.
But you can easy code you calling function to try diffenrent numbers, if the first phone dossent answer then call the next etc.

You can also with the api specifi that you want to place a voice mail message if the phone is unable.
DutchHans
Posts: 229
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: script for phone ringing instead of notification

Post by DutchHans »

I have an Android phone with the Autoremote app. I can send any message to my phone.. And with the 'voice notify' app all notifications are spoken.. With Tasker you can even answer to questions.. Like: 'Hans, the garagedoor is still open, do you want me to close it?' A spoken 'yes' or 'no' triggers a switch in Domoticz... The sky is the limit...
Cheers, Hans
lost
Posts: 616
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: script for phone ringing instead of notification

Post by lost »

gizmocuz wrote:
Clemen wrote:I am using https://www.nexmo.com/ you can call a phone number with text to speech.

https://docs.nexmo.com/messaging/conversion-api
Nice, maybe this can be build into a notification system for domoticz ? :)
Many internet providers use SIP on the home phone side and allow using it also from a computer so you can use your phone account worldwide as if you were at home... So it may only be a matter of sip & espeak to allow fixed home phone domoticz voice notification to a mobile/other phone to remain free of another third party, even if some custom scripting on the sip link setup side will still be needed as almost every operator have his own way to do so.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests