tavicu / homebridge-samsung-tizen

Homebridge plugin for Samsung TV's with Tizen OS
MIT License
647 stars 87 forks source link

Samsung TV Frame Turns to on when off! #395

Closed adavison007 closed 2 years ago

adavison007 commented 3 years ago

Hi, Love the plugin, I am having an issue where when I turn the TV off from homekit, the tv does turn off... but 30 seconds later homekit shows it as on again.... but the tv is not on (Frame TV and the art is on) then everything works in reverse, off becomes on and on becomes off.... so in short, for some reason when you turn it off in home kit, the TV shows as on again in homekit 30 seconds later, but the TV does not turn on itself....

adavison007 commented 3 years ago

UPDATE. If I turn the TV off, off and not with art on, then homekit shows as off and stays off, so there is an issue with art making the TV show as on.

Fish2 commented 3 years ago

is this a frame 2021 im having issues no mater what settings that on turning off it goes to art mode

tavicu commented 3 years ago

Uoff … Your tv is not detected as frame automatically!

https://github.com/tavicu/homebridge-samsung-tizen/issues/354#issuecomment-827570385

adavison007 commented 3 years ago

OK, "method": "frame" in the json makes it all work, you can then use the 3 frame options in the UI... but these only work once you have entered Method Frame first... Suggestion, add is it a frame TV in the UI too?

tavicu commented 3 years ago

Hi, yup.

I am planning to make an option so you could select the TV as frame manually in Config UI X :)

It will be in the next release

thomasgaillard commented 3 years ago

Hello there, same problem for me. when turn off (art mode) my samsung the frame 2021, It appear as off in homekit ... but a few second later it turns on.

I tried to put on and off each options in the attachment but nothing.

Capture d’écran 2021-08-20 à 17 05 10

is there any way to fix that ? In the UI or JSON.

Thanks to you and for this plugin :)

Fish2 commented 3 years ago

Hello there, same problem for me. when turn off (art mode) my samsung the frame 2021, It appear as off in homekit ... but a few second later it turns on.

I tried to put on and off each options in the attachment but nothing.

Capture d’écran 2021-08-20 à 17 05 10

is there any way to fix that ? In the UI or JSON.

Thanks to you and for this plugin :)

you need to add "method": "frame",

adavison007 commented 3 years ago

Hello there, same problem for me. when turn off (art mode) my samsung the frame 2021, It appear as off in homekit ... but a few second later it turns on.

I tried to put on and off each options in the attachment but nothing.

Capture d’écran 2021-08-20 à 17 05 10

is there any way to fix that ? In the UI or JSON.

Thanks to you and for this plugin :)

@thomasgaillard @Fish2 OK, add "method": "frame" in the json makes it all work, you can then use the 3 frame options in the UI... but these only work once you have entered Method Frame first...

image
thomasgaillard commented 3 years ago

@adavison007 @Fish2 👍 thanks to you guys, that's perfect with the frame method activated. +++ Capture-d’écran-2021-08-21-à-13 58 14

tavicu commented 2 years ago

Ok. So i found the problem!

When i developed the frame implementation i forgot to change a function that checks if TV is online to fetch the settings automatically and had always seen TV as offline and not save them. https://github.com/tavicu/homebridge-samsung-tizen/issues/383#issuecomment-933577298

I fixed the bug but i still added an option in config.schema to select the type of TV. But I advise to leave it set to None and let the plugin do it's thing :)

The changes are not live yet. I still have something to do and i will push a new version this week. I will come back with a message when it's live.

tavicu commented 2 years ago

v5.1.0 released