Is Flexy 205 able to give a call to Operator? - Printable Version +- Ewon Technical Forum (https://techforum.ewon.biz) +-- Forum: Development (https://techforum.ewon.biz/forum-50.html) +--- Forum: Ewon Embedded Technology (https://techforum.ewon.biz/forum-51.html) +--- Thread: Is Flexy 205 able to give a call to Operator? (/thread-1121.html) |
Is Flexy 205 able to give a call to Operator? - aucontech - 05-12-2019 Dear all, is there any possibilities for Flexy205 to give a call to Operators to get them attention to get back to control panel to rectify a problem if a digital input (this is used for Horn) is triggered? Thank you, Bach - Aucontech RE: Is Flexy 205 able to give a call to Operator? - simon - 08-12-2019 Hi, This is unfortunately not possible. :-( You should use SMS instead... Simon RE: Is Flexy 205 able to give a call to Operator? - aucontech - 09-12-2019 (08-12-2019, 11:04 PM)simon Wrote: Hi,Thank you Simon! RE: Is Flexy 205 able to give a call to Operator? - aucontech - 06-02-2020 (09-12-2019, 05:13 AM)aucontech Wrote:Hi Simon,(08-12-2019, 11:04 PM)simon Wrote: Hi,Thank you Simon! Is there anyway to give a call to a defined mobile phone number when pre-setting alarm triggered? Thank you, Bach RE: Is Flexy 205 able to give a call to Operator? - LewisH304 - 21-02-2020 Try this code it will help to get alarm emails. Onchange "test1", "@tagmail()" Onchange "test1", "@alarm()" Function tagmail() $EmailTo$ = "johnsmith@email.com" $EmailCC$ = "mikejones@email.com" $EmailSubject$ = "Daily Report" $EmailBody$ = "" $EmailBody$ = $EmailBody$ + "Value of First Tag is " + STR$ test@ + CHR$(13) + CHR$(10) // the CHR$(13) + CHR$(10) is the same as newline $EmailBody$ = $EmailBody$ + "Value of Second Tag is " + STR$ test1@ + CHR$(13) + CHR$(10) // Second line of email $EmailBody$ = $EmailBody$ + "Value of Third Tag is " + CHR$(13) + CHR$(10) // Third Line of email... ect $EmailBody$ = $EmailBody$ + "Time: " + TIME$ + CHR$(13) + CHR$(10) // Gives the full date when this was sent // Want to include data such as graphs as an attachment? see: https://ewonsupport.biz/ebd/ $EmailAttachment$ = "&[$dtUF $fnSomeIntegerReport.txt]" $EmailContents$ = $EmailBody$ + $EmailAttachment$ If test1@=1 Then SENDMAIL $EmailTo$, $EmailCC$, $EmailSubject$, $EmailContents$ Print "mail sent" Endif ENDFN Function Alarm() If test1@ >0 AND test1@ < 5 Then alarm@ = 0 Print"Low Low alarm" Else If test1@ > 5 AND test1@ < 10 Then alarm@ = 1 Print"Low alarm" Else If test1@ > 10 AND test1@ < 15 Then alarm@ = 3 Print"High alarm" Else If test1@ > 15 AND test1@ < 20 Then alarm@ = 4 Print"High High alarm" Else alarm@ = 2 Print "Running Normal" Endif Endif Endif Endif Endfn I hope this can lead you somewhere near the solution. Regards, Lewis |