This Action will set the output of your cloudBit to the specified level for the specified length of time.
- API endpoint slug
- littlebits.set_output
- Filter code method
- Littlebits.setOutput.skip(string?: reason)
- Runtime method
- runAction("littlebits.set_output", {})
Action fields
- Label
- Which cloudBit?
- Slug
- device_id
- Required
- true
- Can have default value
- false
- 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)
- 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)