New services
Explore Plans
Mobile menu Close menu
MobiLincMobiLinc

A variable is set to a value

This trigger fires when a state or integer variable is set.

About this trigger

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This trigger fires when a state or integer variable is set.
API endpoint slug
mobilinc.variable_current_value

Trigger fields

Variable value Text input > Other

Label
Trigger when the variable current value is?
Helper text
Firmware 4.x enter an integer like 1,2,3, etc. Firmware 5.x supports floating point numbers like 3.1415
Slug
variable_value
Required
true
Can have default value
true

Variable ID Dropdown list

Label
Which variable should we monitor?
Slug
variable_id
Required
true
Can have default value
false

Ingredients

Variable IDThe variable ID that triggered

Slug
variable_id
Filter code
Mobilinc.variableCurrentValue.VariableId
Type
String
Example
1

NameThe name of the variable that triggered

Slug
name
Filter code
Mobilinc.variableCurrentValue.Name
Type
String
Example
MobiLinc Geofence Variable

ValueThe value of the current value

Slug
value
Filter code
Mobilinc.variableCurrentValue.Value
Type
String
Example
1

Date timeThe date and time the trigger fired.

Slug
date_time
Filter code
Mobilinc.variableCurrentValue.DateTime
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00