infinitude
infinitude copied to clipboard
Serial only works for a few seconds
I have a USB RS485 adapter connected to a Pi4 and I have Infinitude running in Docker. https://www.amazon.com/gp/product/B00NKAJGZM I'm on a higher firmware than is supported for the Proxy config, but I was hoping to be able to view the serial information to get some extra metrics.
- Is there an API that exposes the serial data, so I could consume just the serial data into HomeAssistant for tracking?
After updating my Docker Compose file and starting the container, I can view Serial data for a few seconds
But after a few seconds, maybe around 1 minute, the Stream section empties out entirely, and nothing else updates under State, it just gets older.
In the Docker logs, I see a message about Websocket Closed and then more lines about using the serial interface, but still nothing updates in the page.
The only way I've been able to get data to refresh is to restart the container entirely, which I don't think is expected. Any thoughts?
infinitude | MODE is set to Production
infinitude | Using /dev/ttyUSB0 serial interface
infinitude | [2024-06-25 16:18:58.41914] [7] [info] Listening at "http://*:3000"
infinitude | [2024-06-25 16:19:07.78226] [7] [info] Websocket Closed: 1001
infinitude | Using /dev/ttyUSB0 serial interface
infinitude | Using /dev/ttyUSB0 serial interface
infinitude | Using /dev/ttyUSB0 serial interface
infinitude | [2024-06-25 16:19:58.76175] [7] [info] Websocket Closed: 1006
infinitude | Using /dev/ttyUSB0 serial interface
infinitude | Using /dev/ttyUSB0 serial interface
infinitude | Using /dev/ttyUSB0 serial interface