Open pbecchi opened 5 years ago
First field store on cloud contain a 64 bit value , for a 64 control zone system. When a valve is open or a pump is running corresponding bit will be set to 1. Whe a valve is closed or pump stopped bit will be set to 0.
is it possible to write the external IP address as well so that if on a dynamic address and the internet goes down, we have a way of finding the new IP address when it resumes service? We have tried various dynamic DNS services with limited success, so keen to see if this might be a way to acheive a similar result?
Have to split the coding work in different parts:
Add sensor reading to remote lora stations SmartSolenoidEsp32
Transmit sensor readings to wifi connected Esp32 Lorasender via Lora.
Add to Lorasender local and cloud logging capabilities
Add to lorasender capabilities to get data from websites and locally control OpenSprinkler units.
I will prepare a masterplan of the code development ....workload is relevant...expect more than 2 month development!
Functionality of SmartSolenoid receivers used to control valves, pumps and to aquire sensor data are recorded to a Cloud Server to allow users surveillance and IFTTT notifications.
The could server selected is Thingspeak. A Lora contentrator unit based on a Esp32 Lora board will collect data from the remote units and send it to the Server via WiFi. We forseen an high frequency upload every minute to record following data:
n.of valve than has been open or closed (or pump if applicable)
pressure reading on pump line
flow measurement on pump line
last 2 values may be repeated for more than 1 pump.
We also forseen a low frequency upload (1/2hour or multiple) for all other sensors(temperature, humidity, battery statu and RSSI of various receivers, reservoir level......) All sensor data are aquired by remote Lora units with a dedicated aquisition code , sent to concentrator unit and uploaded to cloud and or locally used to control valve controller.