alexa_media_player: All temperature and additional echo sensors no longer displaying consistent information
home-assistant_alexa_media_2024-12-27T16-53-11.429Z.log
IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.
Describe the bug
Until about two months ago, my temperature sensors for my echo devices were able to display on my dashboard without issue. I have 15 echos and only a handfull of them have temperature sensors. Then suddenly, they started saying "Unknown" or "Unavailable" but only sometimes. When I look at the graphs for the sensors, I can see that at random intervals, the temperature is being received by Home Assistant, but for large periods of time, HA is receiving no data. I have checked the echo devices themselves in the Alexa app, and the temperature sensors are working fine, even when there is no temperature displaying on my dashboard. So the issue is periodic, specific to Home Assistant, and occurs on multiple Echo devices, and not at the same time. Sometimes one echo will display the temperature sensor on my dashboard, while another echo won't display it. It also seems to vary between "Unknown" or "Unavailable" without any reason. I have reset all of my echo devices, both short and long resets, removed them from Alexa, and it does not result in the temperature displaying on my dashboard again right away - sometimes a few hours later one will show up for an hour or so and then it goes back to Unavailable or Unknown. The devices are not connected to any bluetooth devices, nor are they part of a speaker set. This occurs with my Echo Dots and my Echo (Hub).To Reproduce
Unable to say how to reproduce because it is random.- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior
Temperatures should display consistently in custom:buttons as they used tohome-assistant_alexa_media_2024-12-27T16-53-11.429Z.log
Screenshots
The red circles show Echo temperature sensors. The other temperature sensors on the screenshot are not from Echo devices.System details
-
Home Assistant version: Core 2024.12.5 Supervisor 2024.12.0 Operating System 14.1 Frontend 20241127.8
-
alexa_media version (from
const.pyor HA startup log): 5.2.0 -
alexapy version (from
pip show alexapyin homeasssistant container or HA startup log): I’m not sure where to find this? -
Is Amazon 2FA/2SV enabled <!—We will not debug login issues if unanswered—> (y/n): Yes
-
Amazon Domain: I don’t know what you are asking for here?
Debug Logs (alexa_media & alexapy) Please provide logs.
**Additional context**
My log is 394MB long, it seems to repeat alot of localtuya errors, so I had to cut it down in order to be able to attach it here.About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 48
Hi,
I think I get it. You want to be able to see if the temp state dropouts are correlated to any apparent changes to the config? But standard sensors can’t pick up config entries.
You should* be able to use a python script to automate a check on the config setting by reading the file and returning the value of the option. Create a sensor for the value returned from that script to record results over time and that should give you the info you are after.
Here is a starter from GPT
Step 1: Create the Python Script
Create a file called check_alexa_discovery.py in your config/python_scripts
Step 2: Set Up the Sensor
Add this to your configuration.yaml:
Step 3: Recorder Settings for Long-Term History
Make sure the sensor is recorded, again in your configuration.yaml:
*a word often used to hedge against future disappointment 😀