IFTTT
IFTTT
Explore
Plans
Log in
Get started
Mobile menu
Close menu
Back
Smarthon IoT (micro:bit)
Control Command
You can use control command to control the IoT device. (e.g. turn on/off the light, control light intensity, control 180 servo, change variable for settings, set custom function)
Developer info
API endpoint slug
smarthon.controlcmd
Filter code method
Smarthon.controlcmd.skip(string?: reason)
Runtime method
runAction("smarthon.controlcmd", {})
Action fields
Device ID
Text input > Title
Label
Device ID
Slug
device_id
Required
true
Can have default value
true
Filter code method
Smarthon.controlcmd.setDeviceId(string: deviceId)
Command
Text input > Title
Label
Command
Slug
command
Required
true
Can have default value
true
Filter code method
Smarthon.controlcmd.setCommand(string: command)