script for phone ringing instead of notification

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

script for phone ringing instead of notification

Post by geronimobb » Sunday 18 December 2016 16:28

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: 2747
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: script for phone ringing instead of notification

Post by Egregius » Sunday 18 December 2016 17:05

If you have an iPhone you can (ab)use the Findmyiphone interface from apple.

Clemen
Posts: 127
Joined: Saturday 05 December 2015 16:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Europe
Contact:

Re: script for phone ringing instead of notification

Post by Clemen » Sunday 18 December 2016 17:22

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: 8721
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: script for phone ringing instead of notification

Post by gizmocuz » Sunday 18 December 2016 17:41

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 10:23
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: script for phone ringing instead of notification

Post by JohnBoy32 » Monday 19 December 2016 14:50

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: 2747
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: script for phone ringing instead of notification

Post by Egregius » Monday 19 December 2016 14:56

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: 127
Joined: Saturday 05 December 2015 16:11
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Europe
Contact:

Re: script for phone ringing instead of notification

Post by Clemen » Monday 19 December 2016 17:10

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: 356
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: script for phone ringing instead of notification

Post by DutchHans » Monday 19 December 2016 23:14

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: 205
Joined: Thursday 10 November 2016 10:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: script for phone ringing instead of notification

Post by lost » Tuesday 20 December 2016 16:28

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