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 Label Which device? Helper text Device Name Slug sprinkler Required true Can have default value false 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) Label Rain (mm) Helper text 3 Slug rain Required false Can have default value true Filter code method RainMachine.addWeatherData.setRain(string: rain) 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) Label Pressure (kPa) Helper text 101 Slug pressure Required false Can have default value true Filter code method RainMachine.addWeatherData.setPressure(string: pressure) 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) 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) 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) Label Temperature (Celsius) Helper text 20 Slug temperature Required false Can have default value true Filter code method RainMachine.addWeatherData.setTemperature(string: temperature)