Page 1 of 1

Newbie needs help with SMS notifications

Posted: Sunday 02 April 2017 2:38
by orbitcoms
Hi,
I am new to Domoticz and currently creating an app that monitors several remote temperature nodes (Using ESP8266), the domoticz controller is hosted on Raspberry Pi 3.

I need a way to send alarm notifications via SMS (no wired internet available) to several mobile phone numbers.

I am using an Android tablet (which can support 3G) as a display and I also have 3G USB dongle I could plug into the Raspberry pi.

Looking at the Blockly script, it appears I can activate a script on the pi (I can write a python script to use AT commands to sent sms messages)

What I am not sure is how to set up a list where I can enter multiple mobile phone numbers and how to have blockly pass the numbers and message to my script.

Also, can blockly receive data from the pi? ie. If I sent a sms text to the device to request current temperature status ?

Thanks in advance

Regards

Dave

Re: Newbie needs help with SMS notifications

Posted: Sunday 02 April 2017 6:14
by Egregius
Why use blockly if you know how to write python?
Use a real time based script in Python, Lua, php and you'll have lot's more possibilities.

Re: Newbie needs help with SMS notifications

Posted: Sunday 02 April 2017 7:05
by orbitcoms
So, you are saying I can write a python script inside Domoticz that can read from a list of phone numbers and control the 3G USB dongle directly?

Which menu option do I use to create and edit scripts? Then do I call these scripts from Event?

I want users of the system to be able to enter a list of mobile numbers and set temperature limits (graphically) and when alarm occurs the event will run the script and send alert to the numbers in the list.

Re: Newbie needs help with SMS notifications

Posted: Sunday 02 April 2017 17:38
by DarkoBG
You can check this, it is on france but you can use google translate: http://domo-attitude.fr/communiquer-sms ... dem-usb-3g


Sent from my iPhone using Tapatalk