<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>day65 &amp;mdash; Gerrit Niezen</title>
    <link>https://gerritniezen.com/tag:day65</link>
    <description>Maker of open-source software and hardware.</description>
    <pubDate>Wed, 29 Apr 2026 07:00:40 +0000</pubDate>
    <image>
      <url>https://i.snap.as/aMPXpIot.png</url>
      <title>day65 &amp;mdash; Gerrit Niezen</title>
      <link>https://gerritniezen.com/tag:day65</link>
    </image>
    <item>
      <title>Hydroponics: Controlling AC mains devices</title>
      <link>https://gerritniezen.com/hydroponics-controlling-ac-mains-devices?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[For my hydroponics setup, I want to be able to turn on and off both the LED grow lights and the water pump using a microcontroller. This is typically done using relays, and is the implementation I described in yesterday&#39;s blog post. &#xA;&#xA;I&#39;ve been thinking it over more and realising that having a solution that can be implemented by anybody shouldn&#39;t rely on dealing with AC mains voltages and wiring. Smart plugs using Bluetooth or WiFi having been coming down in price a lot, to the extent that they&#39;re a viable alternative to relays, especially if you take the cost of AC sockets and enclosures into account. If you don&#39;t want to have exposed wiring, you may want to consider putting your electronics inside a plug case.&#xA;&#xA;Smart plug options&#xA;&#xA;Bluetooth LE smart plugs are used by HomeKit and Philips Hue, but they&#39;re still a bit expensive at around £30 per plug. They also don&#39;t make use of the standardised Bluetooth profiles and services, but implemented their own proprietary BLE services.&#xA;&#xA;WiFi smart plugs are around £10 each, and you can buy a WiFi power Strip with 3 outlets for £30. Unfortunately these smart plugs are getting more locked down, where you may be forced to use the manufacturer&#39;s app and proprietary API to get access to the plugs.&#xA;&#xA;Thanks to Espruino&#39;s excellent documentation, I found another option: remote control sockets at around £5 each. They operate in the 433MHz range, which means you use a dirt cheap 433MHz transmitter to talk to them.&#xA;&#xA;I really like this last option, as they use a simple wireless protocol that&#39;s easy to implement, and they&#39;re almost cheaper than using relays.&#xA;&#xA;---&#xA;I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.&#xA;&#xA;#100DaysToOffload #day65 #hydroponics&#xA;&#xA;iComment on this post/i&#xD;&#xA;div id=&#34;cusdis_thread&#34;/div]]&gt;</description>
      <content:encoded><![CDATA[<p>For my hydroponics setup, I want to be able to turn on and off both the LED grow lights and the water pump using a microcontroller. This is typically done using relays, and is the implementation I described in <a href="https://gerritniezen.com/hydroponics-setting-flood-interval-and-duration">yesterday&#39;s blog post</a>.</p>

<p>I&#39;ve been thinking it over more and realising that having a solution that can be implemented by anybody shouldn&#39;t rely on dealing with AC mains voltages and wiring. Smart plugs using Bluetooth or WiFi having been coming down in price a lot, to the extent that they&#39;re a viable alternative to relays, especially if you take the cost of AC sockets and enclosures into account. If you don&#39;t want to have exposed wiring, you may want to consider putting your electronics inside a <a href="https://www.okw.co.uk/en/Plastic-enclosures/Plug-Cases.htm">plug case</a>.</p>

<h2 id="smart-plug-options" id="smart-plug-options">Smart plug options</h2>

<p>Bluetooth LE smart plugs are used by HomeKit and Philips Hue, but they&#39;re still a bit expensive at around £30 per plug. They also don&#39;t make use of the standardised Bluetooth profiles and services, but implemented their own proprietary BLE services.</p>

<p>WiFi smart plugs are around £10 each, and you can buy a <a href="https://www.currys.co.uk/gbuk/smart-tech/smart-tech/smart-home/smart-security-and-cctv/tp-link-kasa-smart-wifi-power-strip-3-outlets-10206952-pdt.html">WiFi power Strip with 3 outlets for £30</a>. Unfortunately these smart plugs are getting more locked down, where you may be forced to use the manufacturer&#39;s app and proprietary API to get access to the plugs.</p>

<p>Thanks to <a href="https://www.espruino.com/Remote+Control+Sockets">Espruino&#39;s excellent documentation</a>, I found another option: remote control sockets at around £5 each. They operate in the 433MHz range, which means you use a dirt cheap 433MHz transmitter to talk to them.</p>

<p>I really like this last option, as they use a simple wireless protocol that&#39;s easy to implement, and they&#39;re almost cheaper than using relays.</p>

<hr/>

<p>I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting <a href="https://100daystooffload.com">https://100daystooffload.com</a>.</p>

<p><a href="https://gerritniezen.com/tag:100DaysToOffload" class="hashtag"><span>#</span><span class="p-category">100DaysToOffload</span></a> <a href="https://gerritniezen.com/tag:day65" class="hashtag"><span>#</span><span class="p-category">day65</span></a> <a href="https://gerritniezen.com/tag:hydroponics" class="hashtag"><span>#</span><span class="p-category">hydroponics</span></a></p>

<p><i>Comment on this post</i>
<div id="cusdis_thread" id="cusdis_thread"></div></p>
]]></content:encoded>
      <guid>https://gerritniezen.com/hydroponics-controlling-ac-mains-devices</guid>
      <pubDate>Thu, 24 Sep 2020 13:31:32 +0000</pubDate>
    </item>
  </channel>
</rss>