Open tremby opened 2 years ago
Sorry, for only coming back now. To which extend does the situation occur, if you handle the responses per request properly ? Currently, you are just flooding requests without reading responses (that is not how the API works)
I didn't know I needed to read responses -- I don't much care about them in this case and I didn't see anything in the docs saying I need to so it didn't occur to me. So do I understand right that after every write I need to read until there's nothing else to read?
Bug report
Steps to reproduce
Send a lot of
color
commands.Here's my current code. It's using this visualizer as an external binary: https://github.com/karlstav/cava then modifying the data from that a little and turning it into commands for Hyperion.
Config for cava:
Node.js code (it's a work in progress):
What is expected?
No crash.
What is actually happening?
Within a couple of minutes, sometimes much faster, Hyperion crashes.
Samples from my syslog:
System