Explore Plans
Mobile menu Close menu
littleBitslittleBits

Set Output Level

This Action will set the output of your cloudBit to the specified level for the specified length of time.

Developer info

API endpoint slug
littlebits.set_output
Filter code method
Littlebits.setOutput.skip(string?: reason)
Runtime method
runAction("littlebits.set_output", {})

Action fields

Device ID Dropdown list

Label
Which cloudBit?
Slug
device_id
Required
true
Can have default value
false

Percent Text input

Label
Level (0-100%)
Helper text
A percent amount that you want to set the output level to.
Slug
percent
Required
true
Can have default value
true
Filter code method
Littlebits.setOutput.setPercent(string: percent)

Duration ms Dropdown list

Label
Duration
Helper text
How long to hold for?
Slug
duration_ms
Required
false
Can have default value
true
Filter code method
Littlebits.setOutput.setDurationMs(string: durationMs)