-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High Cpu Bug with alexa media player integration #1929
Comments
All your timeout errors point to the core integration. Not this component. If you remove that does it resolve the CPU issue? The entries related to this component show amp hasn't even loaded since it can't find an email address. That should be a one time failure and wouldn't impact the CPU. |
No it only goes down when disabling the Alexa media player integration 🤔 @alandtse |
Don't ping me. I'm already in the thread and it's rude to do it when someone isn't even involved. Remove the integration entirely and restart HA. Check if the Alexa time outs still happen. I don't use the core integration so don't know how often it may trigger so make sure you've given it enough time. After that add the integration and provide logs. |
My bad . When you say the core integration, you're talking about the Alexa media player integration that's located in the devices and integration ? |
Actually, after readding the integration, enable debug logs and restart HA once more so I can see the startup state. |
Won't let me re add it because whenever i try to re add it it wont pass the authentication part for Alexa media player |
It should log me into another webpage and ask me to re add my Amazon account information. At that part it won't load that specific page. |
Well the issue is if you're restoring a bad backup with incomplete info like missing email address, the component won't work. That is the key error you're getting. I can't really debug it since the config is broken. You'll just have to watch the other issue for a solution before I can help you on this. |
What if my previous backup worked ? Shouldn't that have solved the high CPU issues ? |
so update when re adding the integration "alexa media player" i changed the nabu casa to the local http://homeassistant.local:8123/ and it worked re adding it. however it spikes up the cpu once again to 30 percent. so I re added will now share you the log after a restart. |
this is the log after a restart...........very interesting...........seems like an update issue ? |
after re adding it sucessfully (alexa media player) still receiving this error |
This is still not the logs I asked for. |
i don't have see any other logs ...maybe i am not looking in the right place. |
i am not sure what log im looking for but this is the error logs i got after restarting. This is the only "error logs" i found when i searched in logs.....
|
/ With all due respect, I've turned off 90 percent of my integrations and the moment i have added Alexa media player my cpu spikes to 30 percent from what you can see in the pictures. Furthermore, i looked in logs but i cannot find what you are looking for. So any other clue or help would be appreciated... |
Describe the bug
The cpu load is higher than it should be and fluctuates between 10 percent to 30 percent.To Reproduce
Expected behavior
Screenshots
System details
const.py
or HA startup): V.4.6.2pip show alexapy
or HA startup): Unable to locate thisLogs
Please provide [logsLogger: homeassistant.components.alexa.state_report
Source: components/alexa/state_report.py:106
Integration: Amazon Alexa (documentation, issues)
First occurred: 6:59:53 PM (14 occurrences)
Last logged: 7:01:53 PM
Timeout sending report to Alexa for sensor.washroom_temperature
Timeout sending report to Alexa for sensor.bedroom_temperature
Timeout sending report to Alexa for light.bedroom
Timeout sending report to Alexa for light.bedroom_2
Timeout sending report to Alexa for light.bedroomm
Timeout sending report to Alexa for sensor.kitchen_light_temperature
Timeout sending report to Alexa for sensor.openweathermap_temperature
Timeout sending report to Alexa for sensor.openweathermap_feels_like_temperature
Timeout sending report to Alexa for sensor.openweathermap_forecast_temperature
Timeout sending report to Alexa for sensor.meter_plus_d4ff_temperature
2023-05-05 18:56:54.395 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up alexa_media platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/alexa_media/binary_sensor.py", line 36, in async_setup_platform
account = config[CONF_EMAIL] if config else discovery_info["config"][CONF_EMAIL]
KeyError: 'email'
2023-05-05 19:00:09.730 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for media_player.francis_s_echo_show
Additional context
tried reverting to previous versions, and did not help and makes all my automations super slow.....
The text was updated successfully, but these errors were encountered: