<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ESPHome on Arto&#39;s dev time by-products</title>
    <link>https://artosalminen.github.io/tags/esphome/</link>
    <description>Recent content in ESPHome on Arto&#39;s dev time by-products</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 21 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://artosalminen.github.io/tags/esphome/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to automate darts board lights with ESP32</title>
      <link>https://artosalminen.github.io/posts/how-to-automate-darts-board-lights-with-esp32/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      
      <guid>https://artosalminen.github.io/posts/how-to-automate-darts-board-lights-with-esp32/</guid>
      <description>&lt;p&gt;My dartboard has its own light and a score display, both on Tapo smart plugs. I wanted them to turn on when I start throwing and off when I stop, without touching a switch or a phone. The solution is a vibration sensor on the board, an ESP32 running ESPHome, and two Home Assistant automations.&lt;/p&gt;
&lt;p&gt;Full source: &lt;a href=&#34;https://github.com/artosalminen/esp32-vibration-sensor&#34;&gt;github.com/artosalminen/esp32-vibration-sensor&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;hardware&#34;&gt;Hardware&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.amazon.de/dp/B0DYV1TJQS&#34;&gt;diymore ESP32-C3 board with a 0.42&amp;quot; OLED&lt;/a&gt;. Native USB-C and a built-in 72x40 SSD1306 display.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.amazon.de/dp/B07XJTNRD8&#34;&gt;SW-420 vibration sensor module&lt;/a&gt;. A spring vibration switch with an LM393 comparator, a sensitivity potentiometer and a digital &lt;code&gt;DO&lt;/code&gt; output.&lt;/li&gt;
&lt;li&gt;Three Dupont jumper wires.&lt;/li&gt;
&lt;li&gt;A smart power strip for the light and display. I use a &lt;a href=&#34;https://www.verkkokauppa.com/fi/product/847273/TP-LINK-Tapo-P300-alyjatkojohto&#34;&gt;TP-Link Tapo P300&lt;/a&gt;, which has three individually switchable outlets. Through Home Assistant&amp;rsquo;s TP-Link Smart Home integration each outlet shows up in Home Assistant as its own switch, for example &lt;code&gt;switch.office_p300_darts_board_light&lt;/code&gt; and &lt;code&gt;switch.office_p300_darts_display&lt;/code&gt;, the entities used in the automations below.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Wiring is three wires:&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
