Open ihaettypo opened 1 year ago
Damn, I found that deactivating "Automatically close connection" in the user settings on the target machine SOLVES IT ALL! No need to call pop-ups every 5 minutes or doing other tricks. I understand that the issue description explicitly says that the OP has deactivated that setting, so may be his problem is different. I don't understand why I ignored this sentence! So if you did not do it yet: Open the HA user settings on the target machine and switch "Automatically close connection" OFF. You MUST do that on the machione that provides the entities. Changing the settings of the same user on any other machine has no effect.
If you look at the first post, the guy says it has as well disabled the option you talk above "Automatically close connection" ... and even with that option disabled, the unavailability of the entities persists ...
I do not recall exactly what the issue is, If I remember well this is some entities becoming unavailable ... I am also using a Lenovo tablet running Fully Kiosk Browser, and I remember I had the issue with unavailable entities ...
But today, I can tell all is working fine, my Browser-mod works perfectly and my tablet displays what I want when someone rings the bell for example.
When I look at the "Automatically close connection", on my side it is still enabled (ON) for the admin user (which is NOT the one used on the tablet :
That is for my admin user, but If I look for the user used for the Lenovo tablet (where FKB is running) , I see it is also disabled (OFF) :
though, looking at the entities, they are still unavailable, as you can see in the screenshot below, but the automation I paste below is making the tablet work perfectly when someone rings the bell at the door, for example :
`alias: Dahua VTO trigger:
Bottom line, "Automatically close connection" is OFF, entities are unavailable, but I found the way though this automation to make it work. I think this is because I "wake up" the tablet at the beginning of the automation, via this section :
- service: switch.turn_on metadata: {} data: {} target: entity_id: switch.lenovo_tab_m10_plus_3rd_gen_screen
Not sure it can help anyone !
My Home Assistant version: 2022.9.6
This is almost the exactly same problem as metioned here: #145.
For me, they become unavailable right after browser visibility sensor being "hidden" for exact 5 min. I use the Fully-Kiosk browser and has disabled system sleep. And yes I have disabled the "Automatically close connection" in HA. And yes I've checked the router, the device is still connected to wifi.
The motion detection for Fully-Kiosk browser does work. The screen will wake up, just that the HA page would then say "disconnected xxxx" and will reconnect.