triadastrategic.blogg.se

Opensprinkler github dan
Opensprinkler github dan











opensprinkler github dan opensprinkler github dan

Upon a successful irrigation the ESP sends a “success” with a “total time watered” back to MQTT.The irrigate time/length means the ESP will count down and switch off of it’s own accord in the event that the ESP can’t communicate with MQTT for an “stop” type message The message sent to the topic has the region name of the garden area to irrigate and the total time to irrigate (in minutes).The ESP boots, connects to wifi and subscribes to an ‘irrigation’ topic on the MQTT server.Each channel is connected in a “normally open” state - so that on a power off state at the controller all relays will be off - it won’t irrigate if the power fails.I have an 8 channel relay board that have hooked to an ESP8266: I can’t see any blockers at this stage that don’t begin with a dollar sign. Well - I’ve racked up some experience on a few things and do feel a lot more comfortable with HASS, Arduino and MQTT. I think I would have some scheduled scripts that have a “start” button in HA somewhere, some over-ride “all stop” command, maybe some weather logic (eg, rain forecast in the next 8 hours, rain has fallen in the last 8 hours, temp forecast over 27c etc) that kicks off extra cycles. Of course the published start events would come from HA - but here is where my details peter out. I’m also thinking of adding a flow meter - so that I will be able to count the litres used, and some alerts if a flow is happening that contravenes the current known/intended state. It will listen for over-riding stop commands. The controller will publish the successful start of a zone and its finish. I plan to have the ESP8266 controller hook up to my wifi and listen for MQTT commands that detail the start, duration and zone for irrigation. I think I’ll be able to control this via an 8 channel relay board and just a little ESP8266 NodeMCU. I’m planning on installing irrigation to 7 separate zones (a combination of vege patch, lawn, garden beds and decks). I’m not seeing much here on garden irrigation and this is something pretty important to me.













Opensprinkler github dan