Closed rocketdyke closed 2 years ago
To investigate i need to look at some logs, can you paste the log of the sensor.
I'd be happy to. how do I find the sensor logs?
Hello,
So, to find some logs, go to: Configuration> Settings> Logs
and find the log related to the cryptotracker sensor.
here is an excerpt from my log:
2021-12-12 15:35:04 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 15:35:04 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-12 15:35:14 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 15:35:14 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-12 15:35:24 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 15:35:24 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-12 15:35:24 ERROR (MainThread) [pysqueezebox.server] Failed communicating with LMS: <class 'aiohttp.client_exceptions.ClientConnectorError'> 2021-12-12 15:35:26 WARNING (MainThread) [homeassistant.components.sensor] Updating cryptostate sensor took longer than the scheduled update interval 0:00:30 2021-12-12 15:35:34 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 15:35:34 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-12 15:35:44 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 15:35:44 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-12 15:35:54 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 15:35:54 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-12 15:35:56 WARNING (MainThread) [homeassistant.components.sensor] Updating cryptostate sensor took longer than the scheduled update interval 0:00:30 2021-12-12 19:15:35 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-12 19:15:35 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-13 00:15:35 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-13 00:15:35 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b'' 2021-12-13 02:15:35 ERROR (MainThread) [pysqueezebox.server] Failed communicating with LMS: <class 'aiohttp.client_exceptions.ClientConnectorError'> 2021-12-13 10:15:35 DEBUG (MainThread) [bellows.ezsp.protocol] Send command nop: () 2021-12-13 10:15:35 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame 5 (nop) received: b''
the "Updating cryptostate sensor took longer than the scheduled update interval 0:00:30" repeated every 30 seconds until I restarted HA
would you like me to change my debug level?
Hi, sorry for the long wait, I've been busy these days.
However, I have released a new pre-release, which should have fixed this bug, as it introduces a less barbaric way of handling errors and request timeouts. Before making a release,I would like to do a good test phase first. So if you are interested you can download it from the Hacs store.
Go to hacs >search for the custom_component > click on the 3 dots> click on redownload> enable beta versions and install v1.1.1-alpha
As soon as I have a large amount of data, I will release the final version.
I leave the thread open for any feedback (which are much appreciated)
Thank you very much for reporting, I remain available.
thanks! I've downloaded 1.1.1-a and will keep you updated
Sensors have been working fairly well, but occasionally get stuck and won't update until I restart HACS.
I'd be fine if I had to kickstart this once a day like some other services, but I don't want to have to reboot HACS daily