<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>homelab &#8211; AADSIT.COM</title>
	<atom:link href="https://aadsit.com/tag/homelab/feed/" rel="self" type="application/rss+xml" />
	<link>https://aadsit.com</link>
	<description>Homelab, Selfhosting, 3D and More</description>
	<lastBuildDate>Sat, 18 Jan 2025 17:55:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>LED Storm Cloud</title>
		<link>https://aadsit.com/designs/58/</link>
					<comments>https://aadsit.com/designs/58/#respond</comments>
		
		<dc:creator><![CDATA[AADSIT]]></dc:creator>
		<pubDate>Mon, 20 Mar 2023 19:14:52 +0000</pubDate>
				<category><![CDATA[Designs]]></category>
		<category><![CDATA[esphome]]></category>
		<category><![CDATA[homeassistant]]></category>
		<category><![CDATA[homelab]]></category>
		<guid isPermaLink="false">https://aadsit.com/?p=58</guid>

					<description><![CDATA[<p>I often find projects opportunities that I say are &#8220;for my wife&#8221; but really are just an excuse to [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://aadsit.com/designs/58/">LED Storm Cloud</a> first appeared on <a rel="nofollow" href="https://aadsit.com">AADSIT.COM</a>.&lt;/p&gt;</p>
]]></description>
										<content:encoded><![CDATA[
<p>I often find projects opportunities that I say are &#8220;for my wife&#8221; but really are just an excuse to have fun making something. In this case I have been intersted in making an LED storm cloud for a while, and decided it was time to go for it. </p>



<p>I had seen Youtube videos of people glueing LEDs to their ceiling or jammed inside paper lanterns, gluing cotton all over it, and calling it good. The effects can be pretty nice but I wanted something smarter. While I&#8217;m pretty happy with the end result of this project, if I was to do this again I would design 3D printed spheres instead of using paper lanterns to simplify things. </p>



<p>Hardware:</p>



<ul class="wp-block-list">
<li>WS2811 12v LED Strip (2-3 meters, prices vary)</li>



<li>ESP8266 ( $3-$5 on AliExpress, I usually use D1 Minis) (1/18/2025: I&#8217;ve almost exclusively switched to ESP32s with enough RAM for OTA updates. HomeAssistant allows ESP32s to host a Bluetooth proxy which makes coverage significantly better)
<ul class="wp-block-list">
<li>Any ESP32 or ESP-01 will also work, but ESP-01 will not usually have enough memory for OTA updates. </li>
</ul>
</li>



<li>1x 12v Power Supply with standard size Barrel Plug</li>



<li>Others:
<ul class="wp-block-list">
<li>A 12v to 5v adapter </li>



<li>12v female barrel plug</li>



<li>5v+ capacitor </li>



<li>6&#8243; paper lanterns (I got a 10 pack on Amazon for under 10 dollars). </li>
</ul>
</li>
</ul>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="990" height="491" src="https://aadsit.com/wp-content/uploads/2023/03/image-16.jpg" alt="" class="wp-image-61" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-16.jpg 990w, https://aadsit.com/wp-content/uploads/2023/03/image-16-300x149.jpg 300w, https://aadsit.com/wp-content/uploads/2023/03/image-16-768x381.jpg 768w" sizes="(max-width: 990px) 100vw, 990px" /><figcaption class="wp-element-caption">WS2811 LEDs come in various lengths, waterproof ratings, densities. </figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="594" height="400" src="https://aadsit.com/wp-content/uploads/2023/03/image-17.jpg" alt="" class="wp-image-62" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-17.jpg 594w, https://aadsit.com/wp-content/uploads/2023/03/image-17-300x202.jpg 300w" sizes="(max-width: 594px) 100vw, 594px" /><figcaption class="wp-element-caption">ESP8266</figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="398" height="280" src="https://aadsit.com/wp-content/uploads/2023/03/image-18.jpg" alt="" class="wp-image-63" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-18.jpg 398w, https://aadsit.com/wp-content/uploads/2023/03/image-18-300x211.jpg 300w" sizes="(max-width: 398px) 100vw, 398px" /><figcaption class="wp-element-caption">A generic step down regulator; 10 for $4 on AliExpress. </figcaption></figure>
</div>
</div>



<p><strong>Printables:</strong></p>



<p>There are two main components in my design: The interlocking mount that holds the paper lanterns and LEDs, and the controller box. The ZIP has two different lids for the controller box as I like to make my designs modular. </p>



<p></p>



<div class="wp-block-file"><a id="wp-block-file--media-e2cda334-ef9d-412e-a4f9-462c4e756b70" href="https://aadsit.com/wp-content/uploads/2023/03/LED-Cloud-Base.zip">LED Cloud Base</a><a href="https://aadsit.com/wp-content/uploads/2023/03/LED-Cloud-Base.zip" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-e2cda334-ef9d-412e-a4f9-462c4e756b70"><strong>Download STL Files</strong></a></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="613" height="410" src="https://aadsit.com/wp-content/uploads/2023/03/image-19.jpg" alt="" class="wp-image-68" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-19.jpg 613w, https://aadsit.com/wp-content/uploads/2023/03/image-19-300x201.jpg 300w" sizes="(max-width: 613px) 100vw, 613px" /><figcaption class="wp-element-caption">As usual I recommend using custom support settings and making the infill as light as possible. There are a lot of supports around the center structure. </figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="412" height="269" src="https://aadsit.com/wp-content/uploads/2023/03/image-20.jpg" alt="" class="wp-image-69" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-20.jpg 412w, https://aadsit.com/wp-content/uploads/2023/03/image-20-300x196.jpg 300w" sizes="(max-width: 412px) 100vw, 412px" /></figure>
</div>
</div>



<p><strong>Construction:</strong></p>



<p>After printing 5 of the mounts and making adjustments as I went I set to screwing, and later gluing, them together. This created a fairly sturdy structure to mount everything to before attaching the paper lanterns to the mount&#8217;s hooks and running LEDs throughout. </p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="935" height="463" src="https://aadsit.com/wp-content/uploads/2023/03/image-22.jpg" alt="" class="wp-image-76" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-22.jpg 935w, https://aadsit.com/wp-content/uploads/2023/03/image-22-300x149.jpg 300w, https://aadsit.com/wp-content/uploads/2023/03/image-22-768x380.jpg 768w" sizes="(max-width: 935px) 100vw, 935px" /><figcaption class="wp-element-caption">You can see the first two prints had issues with tabs, resulting in breakages. </figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="848" height="512" src="https://aadsit.com/wp-content/uploads/2023/03/image-23.jpg" alt="" class="wp-image-78" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-23.jpg 848w, https://aadsit.com/wp-content/uploads/2023/03/image-23-300x181.jpg 300w, https://aadsit.com/wp-content/uploads/2023/03/image-23-768x464.jpg 768w" sizes="(max-width: 848px) 100vw, 848px" /></figure>



<p>My workspace is limited, so I chose to use an old painting to protect our mini fridge.</p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="893" height="435" src="https://aadsit.com/wp-content/uploads/2023/03/image-24.jpg" alt="" class="wp-image-79" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-24.jpg 893w, https://aadsit.com/wp-content/uploads/2023/03/image-24-300x146.jpg 300w, https://aadsit.com/wp-content/uploads/2023/03/image-24-768x374.jpg 768w" sizes="(max-width: 893px) 100vw, 893px" /><figcaption class="wp-element-caption">Top View; I did not bother taking photos of the gluing process. </figcaption></figure>
</div>
</div>



<p>At this point I spent some time working on the controller; I had pieces on order but had to wait for the right power adapters to come in. </p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-4 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="526" height="585" src="https://aadsit.com/wp-content/uploads/2023/03/image-26.jpg" alt="" class="wp-image-81" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-26.jpg 526w, https://aadsit.com/wp-content/uploads/2023/03/image-26-270x300.jpg 270w" sizes="(max-width: 526px) 100vw, 526px" /><figcaption class="wp-element-caption">While not necessary, I chose to use a PCB to add header pins to the power supply for easy changes and addition. </figcaption></figure>



<p></p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="565" height="419" src="https://aadsit.com/wp-content/uploads/2023/03/image-27.jpg" alt="" class="wp-image-82" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-27.jpg 565w, https://aadsit.com/wp-content/uploads/2023/03/image-27-300x222.jpg 300w" sizes="(max-width: 565px) 100vw, 565px" /><figcaption class="wp-element-caption">The controller box was mounted on the back side of the cloud. </figcaption></figure>



<p>You might notice that the controller box is bright blue; it turns out that Pin 4 on this board controls the status LED and should NOT be used for the LED strip pin if you sleep in the same room. </p>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="698" height="309" src="https://aadsit.com/wp-content/uploads/2023/03/image-28.jpg" alt="" class="wp-image-83" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-28.jpg 698w, https://aadsit.com/wp-content/uploads/2023/03/image-28-300x133.jpg 300w" sizes="(max-width: 698px) 100vw, 698px" /></figure>



<p>Shot of a &#8220;strike&#8221;. </p>
</div>
</div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-5 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="643" height="627" src="https://aadsit.com/wp-content/uploads/2023/03/image-30.jpg" alt="" class="wp-image-86" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-30.jpg 643w, https://aadsit.com/wp-content/uploads/2023/03/image-30-300x293.jpg 300w" sizes="(max-width: 643px) 100vw, 643px" /><figcaption class="wp-element-caption">A white power cable extension tidies up the look.</figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="757" height="486" src="https://aadsit.com/wp-content/uploads/2023/03/image-31.jpg" alt="" class="wp-image-87" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-31.jpg 757w, https://aadsit.com/wp-content/uploads/2023/03/image-31-300x193.jpg 300w" sizes="(max-width: 757px) 100vw, 757px" /></figure>
</div>
</div>



<p><strong>Code:</strong></p>



<p>Right now I am getting the best effect out of Twinkle and Fireworks, but it&#8217;s my intention to write several Node-Red automations that will randomly change the color to regular lightning colors during the flashes, as well as set brightness and color for normal bedroom ambiance throughout the day. </p>



<p></p>



<pre class="wp-block-code has-cyan-bluish-gray-background-color has-background"><code>esphome:
  name: "ledcloud"

esp8266:
  board: d1_mini

# Enable Home Assistant API
api:
  encryption:
    key: "123456789123456789123456789123456789123456789"

ota:
  password: "1234567891423456789123456789"

wifi:
  ssid: !secret wifi_ssid5
  password: !secret wifi_password5

# Enable logging
logger:

status_led:
  pin:
    number: D0
    inverted: true

light:
  - platform: neopixelbus
    type: BRG
    variant: WS2812
    pin: D3
    num_leds: 60
    name: "LED Cloud"
    effects:
      - addressable_color_wipe:
      - addressable_color_wipe:
          name: Color Wipe Effect With Custom Values
          colors:
            - red: 100%
              green: 100%
              blue: 100%
              num_leds: 1
            - red: 0%
              green: 0%
              blue: 0%
              num_leds: 1
          add_led_interval: 100ms
          reverse: false
      - addressable_twinkle:
      - addressable_twinkle:
          name: Twinkle Effect With Custom Values
          twinkle_probability: 5%
          progress_interval: 4ms
      - pulse:
      - pulse:
          name: "Fast Pulse"
          transition_length: 0.5s
          update_interval: 0.5s
      - pulse:
          name: "Slow Pulse"
          # transition_length: 1s      # defaults to 1s
          update_interval: 2s
      - flicker:
      - flicker:
          name: Flicker Effect With Custom Values
          alpha: 95%
          intensity: 1.5%
      - addressable_fireworks:
      - addressable_fireworks:
          name: Fireworks Effect With Custom Values
          update_interval: 32ms
          spark_probability: 10%
          use_random_color: false
          fade_out_rate: 120</code></pre>



<p><strong>Coming up in Part 2:</strong></p>



<p>One of my intentions with this project was to include a real lightning detector; this would be a great addition to my unnecessary HomeAssistant sensors and create the potential for real-time lightning strike simulations during storms; something I know my wife would enjoy. </p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-6 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<figure class="wp-block-image size-full"><img decoding="async" width="481" height="452" src="https://aadsit.com/wp-content/uploads/2023/03/image-32.jpg" alt="" class="wp-image-88" srcset="https://aadsit.com/wp-content/uploads/2023/03/image-32.jpg 481w, https://aadsit.com/wp-content/uploads/2023/03/image-32-300x282.jpg 300w" sizes="(max-width: 481px) 100vw, 481px" /></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<p>I purchased a JMCU AS3935 Lighting Sensor and configured it for I2C communication, per ESPHome&#8217;s documentation and other online resources. Unfortunately I either have a faulty unit, or the I2C protocol on this device (as reported by some online) is not following the standard and is unreliable; the same setup worked with another I2C device so it&#8217;s hard to tell. </p>



<p></p>
</div>
</div>



<p><s>I intend to sort out the issues with the live lightning detector as well as add my own automations for part 2, and complete the writeup with several example videos.</s> </p>



<p>1/18/2025: We ended up moving before this could be revisited as we needed more space for our growing family, and while this project gave us a very unique and enjoyable bit of color we ultimately put this in the garage before scrapping the project. The best effects we found were to use the Fireworks mode with a yellowish tint, with Node-Red randomly switching to Blue or even Red for a split second to provide some extra flair. I hope to revisit this someday, maybe even on a larger scale for our daughter! </p>



<p></p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://aadsit.com/designs/58/">LED Storm Cloud</a> first appeared on <a rel="nofollow" href="https://aadsit.com">AADSIT.COM</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://aadsit.com/designs/58/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
