You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pimatic-led-light is producing lots of errors for me:
error [pimatic-led-light]: [Error: write after end]
and
error [pimatic-led-light]: [Error: connection timeout]
Maybe connection handling in the "driver" needs to be refactored. Currently it establishes a new connection for each call. Might be better to go with a singleton pattern and reuse one connection.
Agree, but synchronizing to a single connection can be tricky as it may introduce hidden "race conditions" caused depending on the ordering of events processed. I had to implement a single connection handling as part of pimatic-denon-avr as the AVR only accepts a single connection.
pimatic-led-light is producing lots of errors for me:
error [pimatic-led-light]: [Error: write after end]
and
error [pimatic-led-light]: [Error: connection timeout]
See also #27
The text was updated successfully, but these errors were encountered: