Christopher Hoch
Christopher Hoch
Maybe buffering=0? `open("/dev/tty", "r+b", buffering=0)` From https://bugs.python.org/issue20074
Seems like that did the trick
Okay, got your latest serialpy (starts fine now, thanks) and flashed the 20220726 firmware again. Also, I disabled my "threaded zigpy-znp stuff" just to be sure.
Just curious, was there a reason you started your own serial implementation?
Very interesting! And a bit over my head :-D My controller locked up again over night. These are the last lines: ``` 2022-08-26 03:15:05.741 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()...
I am not sure if restarting HA couple of times would make things better or worse, but up until now I have had no issue with serialpy + dedicated ZNP...
Still no crash 🙂
Still no crash, I think you're on to something with the serialpy 👏
Yes, this is the first setup that seems stable with a SimpleLink SDK 6 firmware
My controller froze over night 😟 will try to find something in the logs