0
4
RoganDawes

@infosec.exchange

Infosec researcher @ OrangeCyberDefense.
ALL people have the right to exist.

RoganDawes 3 points 16 days ago

@batmaniam #esphome uses python to read a yaml file and generate C++, and then compiles the result. In general, you can’t just trivially combine two esp32 projects into a single firmware. However, esphome has a component that accepts the #wled udp broadcast protocol from software running elsewhere on your network. This may or may not end up being a simplification - there are a small number of existing “senders”, mostly designed for coordinating large lighting installations such as Christmas light displays across multiple ESP32s.

Additionally, esphome has a number of built-in lighting effects (fewer than wled, and less flexible), which may be enough for your purposes. If so, you should be able to consolidate two esp32s into one.

Then again, the positioning of the esp32 probably plays a role in its ability to detect motion using the espectre component, so there may still be tradeoffs involved. Ie the led controller may be positioned near the ceiling where it is less able to detect movement.

path: 0 26057228, hotness: undefined, score: 3, children: 3
RoganDawes 2 points 16 days ago

@batmaniam the reason its not as easy as just including a library is that the two projects are not designed that way.

ESPHome and WLED are not libraries, they are complete projects in their own right.

Sure, you can bodge an air filter for one car into a different one, but you can’t (easily!) bodge a whole car into a different one! #StupidCarAnalogies

ESPectre is also a project in its own right, but additionally has been made available as an ESPHome external component- ie ESPHome has a feature to copy the relevant ESPectre code and ESPHome adapter/integration code into the ESPHome tree while doing its codegen/compilation step.

path: 0 26057228 26058090 26058309, hotness: undefined, score: 2, children: 1
RoganDawes 1 point a year ago

@tofubl try something with support for esphome?

path: 0 18900157, hotness: undefined, score: 1, children: 3
RoganDawes -1 points a year ago

@tofubl yeah, the idea would be to flash your own firmware configured precisely how you want it to work. update_interval: would be one of the knobs you could tweak. Just be aware that whatever you are feeding the readings to may end up storing a huge amount of data, if it is updating at more than 1Hz! The esphome sensor filters might also allow you to get rapid updates when it’s changing significantly, and reduce the rate when you don’t need it.

path: 0 18900157 18900158 18904090, hotness: undefined, score: -1, children: 1

thanks for using Leebra!

go to feed...