I have roughly 8 lights and 8 switches. Really they are all switches but depending on the device type, some discover as lights depending on if they have dimmers. Its not that the integration is slow. I can watch the integration come up fast and the devices are all available when I lower the timeouts essentially reverting that commit I referenced above. All works just fine.
The interesting part is prior to upgrade there was no issue. Post-upgrade it seems HA is waiting on some ‘integration ready’ event before proceeding further so it just hangs the startup for 500 seconds. HA boots in 30-45 seconds and is ready prior to the upgrade. Post upgrade, it goes as far as I make that timeout. If I set that timeout to 3 hours, it would wait 3 hours to timeout.
Im not suprised that you don’t see this issue IF you don’t have any LIGHTS (HS220s for example). While booting, I can see the switches are ‘available’ immediate. Its the lights that wait for the timeout and then are ALL available.
Of course the integration isn’t the best but something in 2021.x HA release has magnified the issue on startup.
@checking12 I’m curious though. What model KASA switches do you have?
For anyone struggling with this. I again tried a manual definition instead of letting HA do the discovery.
in the configuration.yaml… I think I’ve fixed it. I turned off discovery and I placed all my lights/switches with the exception of H220s in the ‘switch’ definition. and the HS220’s in the ‘dimmer’ config. Like this:
Contrary to many others, I haven’t been experiencing the constant issue of TP Link devices going unavailable but since I’ve upgraded only some but random ones will go unavailable until I reload the integration. From that point onwards, it’s stable. I have some LB130 and HS100 devices.
I mean instead of letting HA do its think with the integration, I mean manually defining the IPs and type in the configuration.yaml like the paste above and turning off discovery.
Nevermind this issue:
somehow the integration created a secondary mean_indoor_temp_2 sensor. Deleting the original (without the suffix) and restart made it reappear.
Still don’t understand why I don’t see any logging of the component though.
Has anyone else been having issues in HomeKit integration with locks? I installed 2021.4.4 and lost my lock from HomeKit. Upgraded to 4.5 and still no lock.
I have tried in selecting locks domain, going through the flow, reloading the integrations can then selecting the lock domain and selecting the entity on the include page but still have nothing come into Home.
My lock is Danalock, connected to HA via zigbee (using ZHA). The lock works fine from HA, just the entity won’t appear in Home.
EDIT. Found the answer on GitHub page - locks need to be setup in accessory mode (new bridge)
That PR isn’t specifically about Blueprints. It fixes an error reported in this Issue which can be replicated with a simple script. The situation is caused by any script using mode:restart.
Hello, I am having what I think is a memory leak issue since I installed 2021.4. My Raspberry Pi 4 4GB stops responding every few hours and I have to unplug and replug it before it works again. RAM usage sits at 8% at startup, but now after a few hours it’s at 35% and climbing. What can I do to identify the issue?
My Pi4 4GB is sitting happily around 40% and is quite stable. Maybe you have an addon using up the CPU usage? My CPU is sat around 10% and I have quite a few add-ons running including NodeRed.
This is running the latest HAOS but I was running supervised until a week ago and that had no issues either.
Unless it runs out of memory it shouldn’t be an issue.
CPU is sitting at 4% right now, RAM has come down again to 23%. How could I determine what is causing the crashes? I have looked at the logs but I don’t really know what I’m looking for.
I’m on an SD card but it is quite big, 128GB and only a few months old so I don’t think it is worn out. Also the crashes started the day I updated to 2021.4. It is crashing or at least it looks like it, automations stop working and I can’t access the web portal.