I have Fully Kiosk Browser running and associated a rest sensor as follows in my configuration.yaml:
sensor:
- platform: rest
name: Lenovo Device Info
resource: http://192.168.1.57:2323/?cmd=deviceInfo&type=json&password=mypasswd
json_attributes:
- screenBrightness
- batteryLevel
- ip4
- isScreenOn
- deviceID
value_template: 'OK'
After (re)starting ha, it works fine for a while, but after a couple of hours it starts failing. I.e. initially I get:
2022-02-14 11:27:29 DEBUG (MainThread) [homeassistant.components.rest.sensor] Data fetched from resource: {âdeviceNameâ:âQCOM-BTDâ,âpackageNameâ:âde.ozerov.fullyâ,âbatteryLevelâ:47,âisPluggedâ:false,âSSIDâ:"",âBSSIDâ:â02:00:00:00:00:00â,âMacâ:"",âip4â:â192.168.1.57â,âip6â:âFE80::55CB:8019:B852:C822â,âhostname4â:â192.168.1.57â,âhostname6â:âfe80::55cb:8019:b852:c822%wlan0â,âwifiSignalLevelâ:7,âisMobileDataEnabledâ:false,âscreenOrientationâ:270,âscreenBrightnessâ:20,âscreenLockedâ: âŚetcâŚ
But at a given moment I get:
2022-02-14 11:42:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.lenovo_device_info is taking over 10 seconds
2022-02-14 11:47:29 WARNING (MainThread) [homeassistant.components.sensor] Updating rest sensor took longer than the scheduled update interval 0:05:00
2022-02-14 11:52:29 WARNING (MainThread) [homeassistant.components.sensor] Updating rest sensor took longer than the scheduled update interval 0:05:00
2022-02-14 11:57:29 WARNING (MainThread) [homeassistant.components.sensor] Updating rest sensor took longer than the scheduled update interval 0:05:00
and it keeps going on like this. I need to restart ha to get it working again. My version is 2021.12.7
How can I know what is going wrong. I added this to my configuration, but it gives no additional info in my logfile:
logger:
default: warn
logs:
homeassistant.components.rest.sensor: debug
When I login in my docker container using âdocker exec -it homeassistant bashâ and I do curl âhttp://192.168.1.57:2323/?cmd=deviceInfo&type=json&password=mypasswdâ, it returns correct results.
To how to find out what is going wrong? The annoying thing as well is that, once this issue appears, some lovelace cards (based on a camera) donât work anymore.
Thanks for your ideas or suggestions.