Closed Chrisiesmit93 closed 2 years ago
Strange that it seems to work fine at first and after a while, these exceptions occur.
My first guess is that the IR head is not positioned correctly, but I guess that nothing can accidentally move it.
I found this topic, can you have a read there and see if one of the suggestions helps you? It looks like a similar issue where the serial device seems to be gone after an event. https://discourse.tinyfpga.com/t/tinyprog-makes-serial-port-disappear-when-attempting-to-program-tinyfpga-bx-solved/1622
For now it seems to work fine (but I also just rebooted HA, so maybe now it's working again...) But when the problem occurs again, I will try to move the optical head to see it that's the solution for me.
If the head has a fixed position to the meter, I don't think that could cause the problem. For now, I don't have any idea why serial
became unavailable while HA is running.
Would be interesting to test if you could read the meter out manually
It seems like the problem is at my side, in HA logging I see USB reconnects on host level (also other USB devices, including the IR USB reader). You can close this issue ;)
Ok, hope you manage to resolve your host device issues!
Version of the custom_component
Version: 1.0.0
Configuration
I downloaded this integration through HACS and choose the following device: /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_D308BOXH-if00-port0
Describe the bug
I got a lot error massages (957 in ~24h) with the error: "Unexpected error fetching kamstrup_403 data: name 'serial' is not defined".
If I re-add the integration, it seems to work for some hours/days, but then I get above error messages again and no new updates from my Kamstrup 403.
Debug log