#Blocked event loop
1 messages · Page 1 of 1 (latest)
I didn't. Doing it now.
Is it possible to modify the file directly from the file system? I don't find where the home assistant core code is
a custom component with a cloned profiler?
I'd make a simple one that has an async_setup that adjusts the maxstring and maxother to 1000
I think I understand.
I just need to make a component that does
async_register_admin_service(
hass,
DOMAIN,
SERVICE_LOG_EVENT_LOOP_SCHEDULED,
_async_dump_scheduled,
)
and have a patched _async_dump_scheduled, right?
So it will be my custom component that would do the warnings
Nope.
Ohhh just
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up Hello World from a config entry."""
reprlib.aRepr.maxstring = 1000
reprlib.aRepr.maxother = 1000
from any component. got it
brilliant!
<Job EntityPlatform poll media_player.sox: track time interval 10.0
The robot vacuum cleaner was one of my TTS speakers and it broke after 3 years so it is off until I fix it. "Obviously" this means my whole home automation system became trash.
I had completely forgotten about this one, and it is setup via configuration.yaml, so I totally missed it
Disabled it and the problem is gone.
You fixed it!
Thank you a lot, this has been haunting me for 3 months
is that entity provided by a core comp?
no, it is a custom integration.
Just opened an issue: https://github.com/definitio/ha-sox/issues/8
It uses "raw" sockets from the event loop instead of asyncio streams. Device offline leads to it blocking until it times out
are there any disadvantages if I keep debugpy: enabled? seems quite handy
Gotta disable he’s said in the past it’s super expensive
8000 writes a minute when I left it on iirc
Gotcha. thanks
I’ve gotta ask… why didn’t you try disabling one custom integration at a time and dealt with this for three months?
Enjoy a lil pain?

Hehe, I did! but this one was in configuration.yaml (not the UI) and was one of the first ones I ever installed years ago so I forgot about it
It may be a good feature request that integrations enabled through yaml also show in the UI (even if they have no actions or options available there). To save idiots like me
https://github.com/home-assistant/frontend/discussions i think that goes here
not 100% tho
possibly core instead as a feature request issue
And to be honest I didn't know what it was (my router? esphome? the switches?) until now that I am implementing a custom component for 3d printers and clicking buttons a lot
i have 3d printers. what for?
what will it do that octoprint integration or the octoprint mqtt and octoprint home integration doesnt?
It about a 30% runtime slowdown
or worse in some cases
Run without octoprint or a pi. Just Marlin and an esp8266/32 relaying the serial through a socket. E.g esp3d firmware.
never heard of that
sounds like a pi but worse
you notice no print defects with such a tiny weak microcontroller?