-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
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
Attention Required | Reconfigure | Everytime #60278
Comments
samsungtv documentation |
Hey there @escoand, @chemelli74, mind taking a look at this issue as it has been labeled with an integration ( |
And again... This time, even if I press "Allow" on my TV, the notification still appears, still ask me to Reconfigure, still ask me for permission... Screenshot https://ibb.co/3yPdPVC |
Hi, we can try to check if something appears in debug logs, add the following to logger:
default: warning
logs:
homeassistant.components.samsungtv: debug
samsungtvws: debug
samsungctl: debug Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub. Also test with this code: https://pastebin.com/sFzPJvMA (you have to change the IP of your tv). I bet the issue is in the library. Simone |
Is this the proper log? About that code, how can I use it? I'm a newbie to Home Assistant, can you please explain to me what I have to do with the code? Thank you! |
I tried to run the code as python and I got this error in the logs
|
Are you running the script from HA ssh session ? Simone |
Do you get notification for auth on TV if you run the script several times ? Simone |
I ran the script >10 times but no notification appear... I found out that this problem which I have, appear after I let the TV off for 1-3 days, then when I start it, could ask me or not, it is random... |
Will test it once back from WE as I'm not at home. Simone |
Thank you! Have a nice weekend |
Hi, after 3.5 days off I switched on my tv from HA and without any re-prompt. Simone |
I can understand this, but... what I can't understand, is why the "DLNA Digital Media Renderer" integration, never ask me for this, but "Samsung Smart TV" integration is doing? |
DLNA is a protocol that is not based on authorization as far as I know. So you are never asked to authorize your client. Simone |
Is that happening also with the library direct call (outside HA), right ? Simone |
Well... it is happening even another thing. I forgot to mention. Sometimes, when I need to reconfigure de integration, I press "submit" in HA, I press "Allow" on my tv (even if is already allowed) and it is not working... Take a look at the photos... I found out that i'm not the only one, with this issue... I have another two friends, with the same problem... but does not care for them because they don't use the integration anymore.... So, in these photos, everytime I click "submit", then "allow on the tv", I get that error and it will do like this till I click deny |
Are you using DHCP by any chance ? Simone |
No no Using DHCP with almost any device configured to Home Assistant, could not work properly.... |
Your own (wrong) opinion. I have everything on DHCP but HA itself. Simone |
Can you please check if the new patch release 2022.2.8 has improved the situation? |
I'm receiving this reconfigure popup as well. It's always happening when tv is off. |
Can you please add diagnostics (menu configuration -> integration -> samsung tv -> download diagnostics ) to this thread ? Simone |
@chemelli74 Thank you for all the work done |
@chemelli74. After a restart of HA, I get the reconfigure (it appear one time till now since 2022.2.9). |
log, log, log ;-) Simone |
Hello @chemelli74 logger: I'm receiving the popup in integration screen of HA but I don't know when... ( I think it's coming when TV is up but not sure about that) I checks the logs and I don't see anything. :( At that moment is when I stopped the TV. Edited : OK I see in the post upper that I'm not putting correct logging information. It's for next time ;) |
Please add the following to logger:
default: warning
logs:
homeassistant.components.samsungtv: debug
samsungtvws: debug
samsungctl: debug Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub. And add diagnostics (menu configuration -> integration -> samsung tv -> download diagnostics ) |
For the moment, TV is OFF It use more or less 11 SyncWorker_11 config_entry-samsungtv-3614c14c97c8b280df78d43b2cd39a86.json (2).txt It's a polling mechanism to see when tv is up ? |
@chemelli74 I click one time to reconfigure but tv was Off and I click again to reconfigure when tv was ON. |
Yes, the current implementation uses a 10-second polling to check if the TV is on. |
I'm pretty sure #67541 would fix this. If you have the chance to test it it would be appreciated. |
The patch has been merged, but it is too interwined with the latest refactoring to be tagged in a patch release. |
Hello, |
@sidwin9 please follow these steps to check if it is OK on latest dev: #67632 (comment) If it is not fixed please open a new issue |
I will wait 2022.4 |
It should be out later today |
I am using 2022.3.8 Currently, I am using https://github.com/roberodin/ha-samsungtv-custom
|
I suggest that you check your model in 2022.0.4 when it is available If you find some bugs/errors, you can open a new issue. |
I only tested un/mute, vol + and vol -. They are working now. The only problem is that it is flooding the log with the same message when TV is turned off.
|
Last reply on this thread, as it is a closed issue: log flooding is kind of expected when debug is enabled. |
The problem
Hi!
I am using this "Samsung Smart TV" integration, with 6 TV's which I have in my house and... Every few days, home assistant will ask me to reconfigure the integration. Why is doing this? It is annoying to do that every few days.
I use "DLNA Digital Media Renderer" integration as well, with all TV's, and this integration has never ask me for reconfigure...
I tried all the possible TV settings about persmissions and still nothing. I check the devices permissions and all good, Home Assistant is set to "Allow" on all TVs...
Any advices?
Thank you in advance.
What version of Home Assistant Core has the issue?
core-2021.11.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Samsung Smart TV
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
The text was updated successfully, but these errors were encountered: