Dis<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@lil5" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>lil5</span></a></span><span><br>First a quick rant: DO NOT BUY SWITCHBOT. They are unsafe and have no warranty and they can suck whatever piece of my anatomy they find most distasteful. We couldn't afford to replace them, but we had to anyway because Fire is Bad.<br><br>Ahem. Anyway. Yes! The grow is driven by </span><a href="https://infosec.town/tags/HomeAssistant" rel="nofollow noopener" target="_blank">#HomeAssistant</a><span> (along with the rest of the </span><a href="https://infosec.town/tags/snarkhouse" rel="nofollow noopener" target="_blank">#snarkhouse</a><span>.) I can post the grow hardware BoM (my lights, plugs, etc) if you're interested, but the basic stack is </span><a href="https://infosec.town/tags/HomeAssistant" rel="nofollow noopener" target="_blank">#HomeAssistant</a><span> as a </span><a href="https://infosec.town/tags/Truenas" rel="nofollow noopener" target="_blank">#Truenas</a><span> VM with everything else on ARM64 under </span><a href="https://infosec.town/tags/k3s" rel="nofollow noopener" target="_blank">#k3s</a><span>. The control plane is CM4 on </span><a href="https://infosec.town/tags/TuringPi2" rel="nofollow noopener" target="_blank">#TuringPi2</a><span>, and Zigbee/Zwave pods talk to ser2sock + node-feature-detector to find their USB radios. (They are plugged into the client port of the Turing, so I can move them programmatically.)<br><br>On the far side of the radios, a cheap </span><a href="https://infosec.town/tags/esp32" rel="nofollow noopener" target="_blank">#esp32</a><span> Rover handles </span><a href="https://infosec.town/tags/bigear" rel="nofollow noopener" target="_blank">#bigear</a><span> listening as well as the MiFloras and </span><a href="https://infosec.town/tags/BLE" rel="nofollow noopener" target="_blank">#BLE</a><span> hygrometers. Inside the grow tent, an </span><a href="https://infosec.town/tags/esp32cam" rel="nofollow noopener" target="_blank">#esp32cam</a><span> on a 3d printed mount watches over the grow. Power relays are a mix of old </span><a href="https://infosec.town/tags/Securifi" rel="nofollow noopener" target="_blank">#Securifi</a><span> peanuts and new </span><a href="https://infosec.town/tags/ThirdReality" rel="nofollow noopener" target="_blank">#ThirdReality</a><span> switches. (DO NOT BUY SWITCHBOT.)<br><br>Edit to add: I use power use to confirm that the lights and such are working, and templated 'traffic light' sensors (ok/error) confirm that the schedule, the switch and the power drain all align. If it goes red, the house starts shouting at us about it.<br><br></span><a href="https://infosec.town/tags/zigbee" rel="nofollow noopener" target="_blank">#zigbee</a><span> </span><a href="https://infosec.town/tags/zwave" rel="nofollow noopener" target="_blank">#zwave</a><span> </span><a href="https://infosec.town/tags/homeassistant" rel="nofollow noopener" target="_blank">#homeassistant</a><span> </span><a href="https://infosec.town/tags/snarkhome" rel="nofollow noopener" target="_blank">#snarkhome</a><span> </span><a href="https://infosec.town/tags/smarthome" rel="nofollow noopener" target="_blank">#smarthome</a><span> </span><a href="https://infosec.town/tags/homegrow" rel="nofollow noopener" target="_blank">#homegrow</a><span> </span><a href="https://infosec.town/tags/growyourown" rel="nofollow noopener" target="_blank">#growyourown</a><span> </span><a href="https://infosec.town/tags/smartgrow" rel="nofollow noopener" target="_blank">#smartgrow</a><span> </span><a href="https://infosec.town/tags/switchbot" rel="nofollow noopener" target="_blank">#switchbot</a><span> </span><a href="https://infosec.town/tags/thirdreality" rel="nofollow noopener" target="_blank">#thirdreality</a><span> </span><a href="https://infosec.town/tags/kubernetes" rel="nofollow noopener" target="_blank">#kubernetes</a><span> </span><a href="https://infosec.town/tags/k8s" rel="nofollow noopener" target="_blank">#k8s</a><span> </span><a href="https://infosec.town/tags/raspberrypi" rel="nofollow noopener" target="_blank">#raspberrypi</a></p>