xcomfortd-go
xcomfortd-go copied to clipboard
Multiple simultaneous commands crash addon
I am having problems with the addon crashing when multiple simultaneous commands are sent
Example 1: 7 automations trigger to send current temp from RCT to heating actuators Example 2: Turn on/off all the lights on the first floor (8Devices)
Both will often result in the addon crashing with error: panic: runtime error: slice bounds out of range [1:0]
Log: runtime error.txt
Not sure what causes that, but I've pushed a change in 0.55 that should at least prevent the crash. Something appears to be going wrong, though. Set logging to verbose and see if you can provoke the error again?
Ah, wrong fix. Issuing new fix shortly.
Pushed 0.56. Test and report back.
Seems to work perfect. Thank you for the super fast fix Karl Anders 👍
Should be logging an error; "ignoring unexpected input", can your find that?
Tried sending alot of commands but cannot find that in the logs Not in regular log or verbose