Newbie needs help with SMS notifications

Moderator: leecollings

Post Reply
orbitcoms
Posts: 11
Joined: Sunday 02 April 2017 2:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Newbie needs help with SMS notifications

Post 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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Newbie needs help with SMS notifications

Post 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.
orbitcoms
Posts: 11
Joined: Sunday 02 April 2017 2:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Newbie needs help with SMS notifications

Post 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.
DarkoBG
Posts: 2
Joined: Friday 26 August 2016 22:36
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Serbia
Contact:

Re: Newbie needs help with SMS notifications

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

Who is online

Users browsing this forum: No registered users and 0 guests