sermayoral / ha-samsungtv-encrypted

Samsung TV Encrypted Models (H & J Series) custom component for Home Assistant
Apache License 2.0
39 stars 24 forks source link

Keeps sending back key #76

Open JudahZF opened 3 years ago

JudahZF commented 3 years ago

Hi there, When I connected this to my tv through the HA config I noticed that the TV (UE40J6000) kept recieving the back key, and this stopped whenever HA was offline or restarting. Does anyone know if there is a fix for this? Thanks!

w35l3y commented 2 years ago

Does anyone know how to solve this? I can't even play any app because it keeps closing/asking to close (it is the effect of back key).

Murasakicz commented 2 years ago

Hi, I found out that this is caused by the "def update (self)" function. More precisely line 210. Where the value "KEY" is sent, only if the television does not have this value, it will be evaluated as pressing the return button. For now, I have solved the setting of the value "KEY_RED" for myself (I hope I do not use the red button anywhere) until I find some more suitable or someone modifies the code.

TV model: UE48JU7502T

santosdiez commented 2 years ago

Same thing here.. Got it fixed by replacing "KEY" with "KEY_GREEN". Thanks for the hint!

TV model: UE40J6200AK