OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Feature request: API interface for external sensors › Reply To: Feature request: API interface for external sensors
Sorry, just noticed that I have not responded to this thread. I think this is a great suggestion. The tricky part is: what does the firmware do with these variables? It can store the variables, but the current design of the firmware make weather query through a script, which obtains the weather data and calculates a simple watering level to return to the firmware. So in a sense the firmware is not aware of any weather data. So to make it compatible with the current design, it’s better to send the variables to a server that can make use of them to calculate a watering level, and either uses the existing OpenSprinkler API (i.e. setting the ‘wl’ variable) to feed the resulting watering level to the firmware, or have the firmware call a script on the server to return the calculated watering level.