Quantcast
Channel: ESPHome - Home Assistant Community
Viewing all articles
Browse latest Browse all 1486

Write single monochromatic light output to multiple ledc output pins

$
0
0

@MaartenKleijwegt wrote:

Dear folks,

I’ve been using esphome for some while now and really like its large amount of components. I’ve already got a set of simple sensors around the house and some tuya converted lamps and switches running, however for my next project I wanted to step it up a bit.

I’ve created a hallway lamp with 4 dc led bulbs and a pir sensor to activate the lamp when someone is in the hallway. I’ve got an idea about some light effects I want to incorporate where the lights are slowly dimming and brightening at different frequencies while keeping the overall brightness constant. However,first I just want to hang the thing and test the pir sensor settings and general workings and later flash the effects over the air.

So for now, I wanted to create a single monochromatic light exposed to Home assistant, but couple all 4 outputs to the monochromatic light. However, I’m unable to find anything on how to couple multiple outputs.

I’ve also looked around for lambda’s that activate on every loop to copy the value of lamp 1 to 2, 3 and 4 but I’m only able to find time or trigger based solutions. Which currently feel to me like a bit of a hack.

Does anyone else know a good solution? Any insights would be greatly apreciated

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>