23.08.2024, 12:05
Hello,
I'm using websocket library to connect to Unifi Access device and receive status info from it, but the problem i have is once i receive status update, the message is too long to even fit into the logs line and the whole script crashes without an error and i need to restart the script for it to start receiving status updates again. The websocket library is a little bit too complicated for me to understand what I'm looking for to fix this.
Maybe someone else has had a similar issue and knows how to fix this?
I attached the event script I'm using for connection and websocket library file.
Thank you in advance!
I'm using websocket library to connect to Unifi Access device and receive status info from it, but the problem i have is once i receive status update, the message is too long to even fit into the logs line and the whole script crashes without an error and i need to restart the script for it to start receiving status updates again. The websocket library is a little bit too complicated for me to understand what I'm looking for to fix this.
Maybe someone else has had a similar issue and knows how to fix this?
I attached the event script I'm using for connection and websocket library file.
Thank you in advance!