Basic code to send daily SMS reporting current tag value
I have inherited an EWON Flexy set up with a modem extension card which I have no experience of. I have managed to get an alarm set up based on an analogue input but I would like to get an SMS sent every day that reports the current value of the analogue input as well.
From reading the manual and other support documents, it looks like I have to do this in Basic once I am logged in to the Flexy.
I have very little coding experience and none in Basic. Is there a code example anywhere that I could use to read a tag and send the value in an SMS?
Cheers,
Izzy.
-
Hi Izzy!
Take a look here at the whole post and especialy the last entry using basic is an option if you want to you can also just trigger it with the alarm itself:
Email & Text Messages (SMS) through the Talk2m SMTP Relay – HMS Support Portal
br
Franziska Gültig
0 -
Hi,
Thanks but I don't want to use the Talk 2M server because of the high ongoing cost. I already have SMS alarms running from my own SIM, I just need BASIC code to pick up the tag for the current value.
Cheers,
Izzy.
0 -
Hi Izzy,
Ah if you can already send it via alarms successfully and just need the Basic code: Then you need to check the Programming Reference Guide here: Basic | Ewon Developers
I belive it's chapter: 3.70
SENDSMS0 -
Hi,
Yes, thanks I have already done that and it is working. The issue I have is with getting the the current value of the analogue input into the SMS. I don't know how to code that bit.
Izzy.
0
Please sign in to leave a comment.
Comments
4 comments