Closed landaisbenj closed 2 years ago
So for information, after start by HA i have this :
and this appear :
Can you please download the full log, and attach it please (don't copy paste as it is harder to read)
Can you please also attach the latest diagnostics (they contain more information since 2022.3)?
I have created PR #67859. You can test it before it is merged by replacing the config_flow.py
file in your custom component with this patched file: https://raw.githubusercontent.com/home-assistant/core/971c6531ee9c40235be899215b9260c32f127efa/homeassistant/components/samsungtv/config_flow.py
Ok seems to work 😊 all work and discover disappear
For reference can you post log here? And add comment on the PR
i'm too slow ^^
it is resolve only re dicover case
i confirm re-authentication everydays my TV is UN65KS8000 (2016 Ver.)
TV power off, log is "TimeoutError" flug out, log change "ConnectionRefusedError"
flug in, do something and require re-authentication
i attatch dev log and 2022.2.9 log (same situation, buy log is simple)
i erase DHCP line because it has macaddress in dev log home-assistant.log.2022.3.4-dev.txt home-assistant.log.2022.2.9.txt
@rootkgh please update to latest dev. The ConnectionFailure issue should have been fixed with #67850
when flug out and in, re-authentication is solved
change point
when ha restart, samsungtv device is twice, so i do delete previous device and use new device it is only once core.device_registry's id is remain old and new id, so i delete old id others files is changed to new id
when flug in, cause new warnning
attatch log file home-assistant.log_2022.3.4_dev2.txt e
This one will be solved when https://github.com/xchwarze/samsung-tv-ws-api/pull/72 is merged and the library is updated inside HA:
2022-03-09 21:33:40 WARNING (MainThread) [custom_components.samsungtv] Unexpected ConnectionFailure trying to get remote for 192.168.1.6, please report this issue: ConnectionFailure({'event': 'ms.voiceApp.hide'})
For this one, I think it is only temporary. Maybe it happens because the TV is turning on (accepting connection, but not yet fully responding):
2022-03-09 21:33:19 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:10
2022-03-09 21:33:19 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.samsung_un65ks8000 is taking over 10 seconds
2022-03-09 21:33:29 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:10
2022-03-09 21:33:39 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:10
Issue is still not resolved for me. Still i get an access pop-up every time i turn on the TV
Check the settings on the TV: Device Connection Manager Make sure it is set to First Time Only.
Check the settings on the TV: Device Connection Manager Make sure it is set to First Time Only.
This has solved it for me. Thank you!
The problem
HA discover my samsungtv (i just have one), and so i could add the integration. But after every restart, HA want to add my tv every time.. (with translation error).
I can ignore, but why this... [EDIT] After adding twice, i have this after rebooting:![image](https://user-images.githubusercontent.com/32144431/150206881-d9f09415-ad91-4eda-98ab-f795e2e60e87.png)
What version of Home Assistant Core has the issue?
core-2021.12.10
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
samsungtv
Link to integration documentation on our website
https://www.home-assistant.io/integrations/samsungtv
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response