A beginner's guide
Explore Plans
Mobile menu Close menu
RainMachineRainMachine

Add weather data

This action will save weather data. Make sure you have enabled Local Weather Push from Weather > Developer > Local Weather Push. The units for the data should be metric units.

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 save weather data. Make sure you have enabled Local Weather Push from Weather > Developer > Local Weather Push. The units for the data should be metric units.
API endpoint slug
rain_machine.add_weather_data
Filter code method
RainMachine.addWeatherData.skip(string?: reason)
Runtime method
runAction("rain_machine.add_weather_data", {})

Action fields

Sprinkler Dropdown list

Label
Which device?
Helper text
Device Name
Slug
sprinkler
Required
true
Can have default value
false

Min temp Text input > Other

Label
Minimum Temperature (Celsius)
Helper text
5
Slug
min_temp
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setMinTemp(string: minTemp)

Rain Text input > Other

Label
Rain (mm)
Helper text
3
Slug
rain
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setRain(string: rain)

Min humidity Text input > Other

Label
Minimum Relative Humidity (%)
Helper text
10
Slug
min_humidity
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setMinHumidity(string: minHumidity)

Pressure Text input > Other

Label
Pressure (kPa)
Helper text
101
Slug
pressure
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setPressure(string: pressure)

Max temp Text input > Other

Label
Maximum Temperature (Celsius)
Helper text
30
Slug
max_temp
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setMaxTemp(string: maxTemp)

Max humidity Text input > Other

Label
Maximum Relative Humidity (%)
Helper text
60
Slug
max_humidity
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setMaxHumidity(string: maxHumidity)

Wind speed Text input > Other

Label
Wind Speed (m/s)
Helper text
10000
Slug
wind_speed
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setWindSpeed(string: windSpeed)

Temperature Text input > Other

Label
Temperature (Celsius)
Helper text
20
Slug
temperature
Required
false
Can have default value
true
Filter code method
RainMachine.addWeatherData.setTemperature(string: temperature)