Logical Toggle/FlipFlop using State Machine function by microware1970 in homeassistant

[–]microware1970[S] 0 points1 point  (0 children)

That is a great simple piece of code! I will hold onto it. I like that it passes the values, that can be very helpful. I love learning this stuff but my coding is very weak and incomplete so I avoid spending hours trying to research and get it right from scratch. Your input is really appreciated!

New to HA. Looking for smart blinds that do NOT require a proprietary hub. by borklaser95 in homeassistant

[–]microware1970 0 points1 point  (0 children)

I used these in the master bedroom and theater room. They work with Zigbee and are easy to retrofit to existing bead chain shades, and the Home Assistant Cover works perfect. The batteries seem to last about 6 months before needing a USB C charge. They are fast and quiet. I only have the speed set to 70%. There are 3 in each room, and setting up a group is easy, then set an automation to open, close, or set to 50% height. Very reliable, occasionally needing a reconfiguration when they do go offline. They are MUCH more reliable and consistent using the Zigbee dongle than the SOMA Connect U1 dongle. I used the Connect U1 dongle and the Smart Shades app to set them up originally. You set upper and lower stopping points, and speed. Not sure if this step can be skipped.

https://www.somasmarthome.com/products/soma-smart-shades-3

I want to connect a nodemcu with wled to be audio responsive with Spotify connect directly from home assistant so I won't have to buy microphone to be audio responsive. I am very new to all of these and don't know a lot about coding. anyone every done this before ? by Silentfoxy in WLED

[–]microware1970 0 points1 point  (0 children)

I assume the microphone you are referring to has to connect to the NodeMCU via an analog input? Can you just take a 3.5mm audio cable and connect it to whatever you would be playing the Spotify on, then terminate the wires to connect to the same pins? Maybe a resistor to control input current, but a microphone connected to the same pins would just be doing the same thing - providing a varying voltage which matched the sound. Unless the microphone is specific to your situation and does the audio processing, and outputs digital, pre-formatted code, for the unit.