AI Linkedin Assistant
Explore Plans
Mobile menu Close menu
Smarthon IoT (micro:bit)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)

About this action

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
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)
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)