Digital input2 Database Record

MDSDa year ago

Dear Team,

Where may I find the Digital input 1,2 of tetonika FMC130 device in Database?

Anton Tananaeva year ago

I'm the position attributes.

MDSDa year ago

Hi Anton,

I found that "in2" become true but not notification has been shown in web app. What is the issue?
Below DB record from position attributes.

{"priority":1,"sat":13,"event":2,"ignition":false,"motion":true,"in1":false,"in2":true,"in3":false,"power":25.036,"battery":3.6,"io68":140,"distance":0.0,"totalDistance":1.0306626633891653E8,"driverUniqueId":"014656AD0100006C","hours":833818980} 
Anton Tananaeva year ago

Why would you expect a notification? What kind of notification?

MDSDa year ago

I need to receive Web Notification, Mail and SMS. in2 is linked with Child Safety system so if we receive in2=true then that mean driver not click on panic button/Alram button.

So when the in2 become true then I need to send Alarm in system with SOS sound, Email and SMS to multiple mobile phones.

Anton Tananaeva year ago

You should probably use a computed attribute to convert the input into an alarm.

MDSDa year ago

Thank you Anton for help.
I create computed attribute with Alarm Type

Attribute: alarm
Expression: in2==true?"Child On Board Take Action Immediate":null

  1. Is this correct?
  2. Now How send email and SMS if alarm has been triggered?
Anton Tananaeva year ago

You have to use one of the standard alarms.

MDSDa year ago

I have no context in how do that. Can you explain, share document or share old thread here to check it?

MDSDa year ago

Is this Right?

Notification:
Alarm No SOS, Geofence Exit, Removing, Accident Web, Mail

Computed Attributes:
Child Safety alarm in2==true?'SOS':null string

Anton Tananaeva year ago

I have no context in how do that.

That's why we have the forum and the documentation. This has been discussed previously many times. And there are some good examples available.