Ewon TechForum
Providing technical solutions to technical requests


Is Flexy 205 able to give a call to Operator?
aucontech Offline
Junior Member
#1
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
Reply

simon Offline
eWON Support
#2
Hi,

This is unfortunately not possible. :-(
You should use SMS instead...

Simon
Reply

aucontech Offline
Junior Member
#3
(08-12-2019, 11:04 PM)simon Wrote: Hi,

This is unfortunately not possible. :-(
You should use SMS instead...

Simon
Thank you Simon!
Reply

aucontech Offline
Junior Member
#4
(09-12-2019, 05:13 AM)aucontech Wrote:
(08-12-2019, 11:04 PM)simon Wrote: Hi,

This is unfortunately not possible. :-(
You should use SMS instead...

Simon
Thank you Simon!
Hi Simon,

Is there anyway to give a call to a defined mobile phone number when pre-setting alarm triggered?

Thank you,
Bach
Reply

LewisH304 Offline
Junior Member
#5
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
Reply





Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy