- This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Comments, Suggestions, Requests › Wireless sensor data and using this data – newbie
Hi all, I just purchased an AC open sprinkler and looking for guidance.
I am looking to create a fail proof setting for irrigating. One that will read the soil sensor data and irrigate that zone for 30 sec when the Water Content is below 20% threshold. If there is no flow, it will also notify me as well. I have 4 wireless soil sensors to function on 2 zones. 2 sensors per zone.
I have the cloud based data from http://api.sigrow.com/
Here’s the kicker… I’m a total newbie with programming and can learn with guidance.
Anyone want to take me on to help in my project while I learn what needs to be done?
Andrew
Hello Andrew,
I can recommend Node-Red to read your API (ask their support if they please write a nodered library, else play with http- and function-block) on the one side and send HTTP GET commands to OS: https://openthings.freshdesk.com/support/solutions/articles/5000716363-os-api-documents
If you were to use a RaspberryPi for that, I’d advise using IOTstack: https://github.com/SensorsIot/IOTstack (NOTE: do install RaspAP FIRST!!! https://raspap.com/ )
Also think and read about the backup function BEFORE you go into production.
Good *uck!
PS: You could ofc try to modify the firmware, but for that you’d have to read into it first. For that I can recommend opening the firmware in PlatformIO and CTRL-clicking terms of interest to reveal their definitions or flat out searching for terms like MQTT, HTTP or STATE. Node-Red is the beginner friendly way, but it also has many pitfalls! Nevertheless there are many people who solved similar nodered problems on the internet, compared to OS-compile-problems.
Thank you. I appreciate the direction. I will attempt to understand your suggestions first and ask more questions at a road block.
Thank you.
OpenSprinkler › Forums › Comments, Suggestions, Requests › Wireless sensor data and using this data – newbie