July 17, 2020 Edit:
I do not recommend building this controller, as the Linknode intermittently loses wifi signal and freezes, sometimes causing stations to stick and stay on, requiring manual reboots (I’ve had this same issue occur on 2 separate Linknode devices). I have since built a replacement controller with a NodeMCU and 8 channel relay that has been completely solid for over a month. Details provided here
LinkNode R8 - 8 Station Sprinkler Controller
Created my first sprinkler relay system for Home Assistant for ~ $65.00 (could be cheaper depending on availability of parts/electronics).
The main device is a Linknode R8 flashed with Tasmota, communicating with hass via mqtt. I have basic python/hass scripts for running each station manually for a specific period of time, and also to push out timers to the Linknode R8 for scheduled watering (I wanted to make sure the R8 will still retain the schedules in the event of a power outage/wifi disconnect).
Part list
- Linknode R8 Relay ($15.09) (2020-04-08 - apparently now out of stock, amazon link here is dead: https://www.amazon.com/gp/product/B01N2ALK8X) - Relay Controller
- 24VAC wall wart ($14.82) - Solenoid Power
- Two stage conversion from 24VAC to 5VDC (for relay power)
- 24VAC->12VDC ($12.99)
- 12VDC->5VDC ($6.66) - Relay Power
- note: I couldn’t procure a single 24VAC -> 5VDC module/adapter, it may have been a bit easier and probably cheaper than using the two parts above.
Optional (buy if wanted/needed)
- 8 Position Terminals (2pack - cleaner relay wiring) ($6.99)
- ABS NEMA BOX ($20) - ~ 6.75" x 4.75" x 2.25" housing for components, bought locally. There may be cheaper sources for this.
- 2.1mm barrels
Note: My controllers are indoors. If your controllers will be outdoors, you may need to take extra precautions to keep the area safe and dry.
Cost could be significantly cheaper depending on sourcing and needs. I also used a couple inline fuses (most likely overkill and unnecessary).