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
- This action will notify MIYO if it is raining or not. This action can be used to integrate existing rain sensors into your irrigation system.
- API endpoint slug
- miyo.rain
- Filter code method
- Miyo.rain.skip(string?: reason)
- Runtime method
- runAction("miyo.rain", {})
Action fields
Cube Dropdown list
- Label
- Which cube should be notified?
- Slug
- cube
- Required
- true
- Can have default value
- false
Rain Dropdown list
- Label
- Is it currently raining?
- Helper text
- Set to yes or no depending if sensor has detected rain or rain has stopped
- Slug
- rain
- Required
- true
- Can have default value
- true
- Filter code method
- Miyo.rain.setRain(string: rain)