Skip to content
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

Adapter start turns the TV on #116

Open
Grothesk242 opened this issue Jun 3, 2022 · 41 comments
Open

Adapter start turns the TV on #116

Grothesk242 opened this issue Jun 3, 2022 · 41 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@Grothesk242
Copy link

Grothesk242 commented Jun 3, 2022

Starting the adapter always powers the TV on, when in Stand-By.
It's a SamsungTV (Tizen) model.

Start log:

2022-06-03 17:11:48.953  - info: samsung.0 (36706) starting. Version 0.5.11 in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-03 17:11:56.792  - info: samsung.0 (36706) -----------------------------------------
2022-06-03 17:11:56.793  - info: samsung.0 (36706) Confirm on your TV to get a Token
2022-06-03 17:11:56.795  - info: samsung.0 (36706) -----------------------------------------
2022-06-03 17:11:56.795  - info: samsung.0 (36706) Token: 123457889
2022-06-03 17:11:56.796  - info: samsung.0 (36706) -----------------------------------------
2022-06-03 17:11:57.112  - debug: samsung.0 (36706) Checking power on/off state ...
2022-06-03 17:11:57.154  - debug: samsung.0 (36706) Power on/off check result: true vs lastOn=undefined
2022-06-03 17:11:57.283  - debug: samsung.0 (36706) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654269117227,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654269117227}
2022-06-03 17:11:57.311  - debug: samsung.0 (36706) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654269117279,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654269117279}
2022-06-03 17:11:57.322  - debug: samsung.0 (36706) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654269117280,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654269117280}
@Apollon77
Copy link
Member

In fact the adapter ist just doing a "ping" on network level to detect if it is on ... could it be that this token confirmation needs the TV to be on?

@Apollon77 Apollon77 added the question Further information is requested label Jun 3, 2022
@Grothesk242
Copy link
Author

Grothesk242 commented Jun 3, 2022

The token has been entered in the adapter config, so there is no reason to query it again.

Hitting the switches (like MUTE) do the trick, so the connection had been authorized before.

@Grothesk242
Copy link
Author

States are wrong, the TV is in StandBy-Mode at the moment:

image

@Apollon77
Copy link
Member

Ok, now I understood the code :-)

The klibrary was doing a WOL on connect ... meehhhhh

Please try GitHub version and please try all combinations with adapters starts when TV is on or in standbuy and if the "power" commands work then.

The TV will now only be WOL if no token is specified.

PS: GitHub installs can take 10+minutes with npm6 right now, just wait

@Grothesk242
Copy link
Author

Now the TV does not start at all.
I could switch it off when it was started via remote controll.

@Apollon77
Copy link
Member

Is the log showing anything?

@Apollon77
Copy link
Member

And try new GitHub version again please

@Grothesk242
Copy link
Author

Grothesk242 commented Jun 3, 2022

No changes with git#3bdbb62be11e734807d267d09b123c57250a6ef1

Log:

2022-06-03 23:10:10.532  - info: samsung.0 (45496) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#3bdbb62be11e734807d267d09b123c57250a6ef1) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-03 23:11:53.015  - error: samsung.0 (45496) Empty commands will not be excecuted.
2022-06-03 23:11:57.926  - error: samsung.0 (45496) Empty commands will not be excecuted.

@Apollon77
Copy link
Member

Can you please post a debug log? And : What yopu do exactly when you get these "Empty commands will not be executed" logs?

@Grothesk242
Copy link
Author

Debug log see below.
"Empty commands will not be executed" shows when setting the Power State.

2022-06-05 22:34:04.904  - info: host.chet instance system.adapter.samsung.0 started with pid 82777
2022-06-05 22:34:07.148  - debug: samsung.0 (82777) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-05 22:34:07.221  - debug: samsung.0 (82777) Objects client ready ... initialize now
2022-06-05 22:34:07.231  - debug: samsung.0 (82777) Objects create System PubSub Client
2022-06-05 22:34:07.232  - debug: samsung.0 (82777) Objects create User PubSub Client
2022-06-05 22:34:07.311  - debug: samsung.0 (82777) Objects client initialize lua scripts
2022-06-05 22:34:07.322  - debug: samsung.0 (82777) Objects connected to redis: 0.0.0.0:9001
2022-06-05 22:34:07.365  - debug: samsung.0 (82777) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-05 22:34:07.405  - debug: samsung.0 (82777) States create System PubSub Client
2022-06-05 22:34:07.407  - debug: samsung.0 (82777) States create User PubSub Client
2022-06-05 22:34:07.480  - debug: samsung.0 (82777) States connected to redis: 0.0.0.0:9000
2022-06-05 22:34:07.618  - debug: samsung.0 (82777) Plugin sentry Initialize Plugin (enabled=true)
2022-06-05 22:34:08.094  - info: samsung.0 (82777) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#3bdbb62be11e734807d267d09b123c57250a6ef1) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-05 22:34:39.677  - debug: samsung.0 (82777) Checking power on/off state ...
2022-06-05 22:34:39.705  - debug: samsung.0 (82777) Power on/off check result: true vs lastOn=undefined
2022-06-05 22:34:39.752  - debug: samsung.0 (82777) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654461279729,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623693}
2022-06-05 22:34:39.754  - debug: samsung.0 (82777) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654461279729,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623745}
2022-06-05 22:34:39.755  - debug: samsung.0 (82777) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654461279729,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-05 22:34:39.756  - debug: samsung.0 (82777) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654461279729,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-05 22:34:39.757  - debug: samsung.0 (82777) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654461279729,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-05 22:34:39.758  - debug: samsung.0 (82777) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654461279730,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-05 22:34:39.759  - debug: samsung.0 (82777) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654461279730,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-05 22:34:39.769  - debug: samsung.0 (82777) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654461279731,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-05 22:34:39.771  - debug: samsung.0 (82777) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654461279731,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-05 22:34:39.772  - debug: samsung.0 (82777) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654461279731,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-05 22:34:39.772  - debug: samsung.0 (82777) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654461279731,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-05 22:34:39.784  - debug: samsung.0 (82777) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654461279731,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-05 22:34:39.785  - debug: samsung.0 (82777) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654461279732,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-05 22:34:39.786  - debug: samsung.0 (82777) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654461279732,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-05 22:34:39.787  - debug: samsung.0 (82777) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654461279732,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-05 22:34:39.788  - debug: samsung.0 (82777) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654461279732,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.799  - debug: samsung.0 (82777) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654461279732,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.802  - debug: samsung.0 (82777) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654461279732,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.811  - debug: samsung.0 (82777) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654461279733,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.812  - debug: samsung.0 (82777) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654461279733,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.813  - debug: samsung.0 (82777) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654461279733,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.814  - debug: samsung.0 (82777) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654461279733,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.815  - debug: samsung.0 (82777) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654461279733,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-05 22:34:39.816  - debug: samsung.0 (82777) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654461279733,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-05 22:34:39.817  - debug: samsung.0 (82777) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654461279734,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-05 22:34:39.818  - debug: samsung.0 (82777) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654461279734,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-05 22:34:39.839  - debug: samsung.0 (82777) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654461279734,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-05 22:34:39.840  - debug: samsung.0 (82777) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654461279734,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-05 22:34:39.841  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654461279734,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-05 22:34:39.843  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654461279735,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-05 22:34:39.845  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654461279735,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-05 22:34:39.845  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654461279735,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-05 22:34:39.846  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654461279735,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-05 22:34:39.848  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654461279736,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-05 22:34:39.849  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654461279736,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-05 22:34:39.850  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654461279736,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-05 22:34:39.850  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654461279736,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-05 22:34:39.851  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654461279736,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-05 22:34:39.852  - debug: samsung.0 (82777) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654461279736,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-05 22:34:39.852  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654461279737,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-05 22:34:39.853  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654461279737,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-05 22:34:39.854  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654461279737,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-05 22:34:39.855  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654461279737,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-05 22:34:39.855  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654461279737,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-05 22:34:39.869  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654461279738,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-05 22:34:39.870  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654461279738,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-05 22:34:39.871  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654461279738,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-05 22:34:39.872  - debug: samsung.0 (82777) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654461279739,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-05 22:34:39.873  - debug: samsung.0 (82777) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654461279739,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-05 22:34:39.881  - debug: samsung.0 (82777) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654461279837,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-05 22:34:39.886  - debug: samsung.0 (82777) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654461279838,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654461279838}
2022-06-05 22:34:39.887  - debug: samsung.0 (82777) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654461279838,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623692}
2022-06-05 22:34:39.888  - debug: samsung.0 (82777) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654461279838,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654461279838}
2022-06-05 22:34:39.892  - debug: samsung.0 (82777) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654461279875,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-05 22:35:37.862  - debug: samsung.0 (82777) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654461337857,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-05 22:35:37.885  - debug: samsung.0 (82777) Executing command: KEY_POWER
2022-06-05 22:35:37.915  - error: samsung.0 (82777) Empty commands will not be excecuted.
2022-06-05 22:35:58.264  - debug: samsung.0 (82777) stateChange samsung.0.Power.on = `{"val":true,"ack":true,"ts":1654461358258,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654461358258}

@Apollon77
Copy link
Member

Please try GitHub version ... but else it works now right? Just this additional log message ws the issue, right?

@Grothesk242
Copy link
Author

New Debug Log.
The TV can not be switched on now.

2022-06-06 09:10:15.787  - info: samsung.0 (91335) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#d7ac082e446c759a5d232ceb7f95194ad9e7d342) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-06 09:10:31.732  - debug: samsung.0 (91335) Checking power on/off state ...
2022-06-06 09:10:31.756  - debug: samsung.0 (91335) Power on/off check result: true vs lastOn=undefined
2022-06-06 09:10:31.803  - debug: samsung.0 (91335) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654499431782,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623693}
2022-06-06 09:10:31.804  - debug: samsung.0 (91335) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654499431782,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623745}
2022-06-06 09:10:31.805  - debug: samsung.0 (91335) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654499431782,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 09:10:31.806  - debug: samsung.0 (91335) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654499431783,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 09:10:31.807  - debug: samsung.0 (91335) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654499431783,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 09:10:31.808  - debug: samsung.0 (91335) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654499431783,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 09:10:31.809  - debug: samsung.0 (91335) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654499431783,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 09:10:31.817  - debug: samsung.0 (91335) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654499431783,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 09:10:31.818  - debug: samsung.0 (91335) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654499431784,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 09:10:31.819  - debug: samsung.0 (91335) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654499431784,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 09:10:31.820  - debug: samsung.0 (91335) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654499431784,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 09:10:31.829  - debug: samsung.0 (91335) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654499431784,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 09:10:31.830  - debug: samsung.0 (91335) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654499431784,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 09:10:31.831  - debug: samsung.0 (91335) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654499431784,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 09:10:31.832  - debug: samsung.0 (91335) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654499431785,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 09:10:31.832  - debug: samsung.0 (91335) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654499431785,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.872  - debug: samsung.0 (91335) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654499431785,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.884  - debug: samsung.0 (91335) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654499431785,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.885  - debug: samsung.0 (91335) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654499431785,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.888  - debug: samsung.0 (91335) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654499431785,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.899  - debug: samsung.0 (91335) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654499431786,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.901  - debug: samsung.0 (91335) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654499431786,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.902  - debug: samsung.0 (91335) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654499431786,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:10:31.941  - debug: samsung.0 (91335) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654499431786,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 09:10:31.942  - debug: samsung.0 (91335) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654499431786,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 09:10:31.946  - debug: samsung.0 (91335) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654499431786,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 09:10:31.947  - debug: samsung.0 (91335) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 09:10:31.947  - debug: samsung.0 (91335) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 09:10:31.948  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 09:10:31.949  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 09:10:31.949  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 09:10:31.950  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 09:10:31.950  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654499431787,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 09:10:31.950  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654499431788,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 09:10:31.951  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654499431788,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 09:10:31.951  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654499431788,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 09:10:31.951  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654499431788,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 09:10:31.951  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654499431788,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 09:10:31.952  - debug: samsung.0 (91335) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654499431789,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 09:10:31.952  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654499431789,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 09:10:31.952  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654499431789,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 09:10:31.966  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654499431789,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 09:10:31.967  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654499431789,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 09:10:31.968  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654499431789,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 09:10:31.982  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654499431790,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 09:10:31.988  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654499431914,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:10:31.989  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654499431914,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:10:31.990  - debug: samsung.0 (91335) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654499431954,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:10:31.994  - debug: samsung.0 (91335) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654499431954,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:10:31.995  - debug: samsung.0 (91335) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654499431955,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:10:31.996  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654499431955,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499431955}
2022-06-06 09:10:31.997  - debug: samsung.0 (91335) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654499431955,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623692}
2022-06-06 09:10:31.998  - debug: samsung.0 (91335) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654499431955,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499431955}
2022-06-06 09:10:31.999  - debug: samsung.0 (91335) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654499431955,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 09:11:48.059  - debug: samsung.0 (91335) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654499508056,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:11:48.082  - debug: samsung.0 (91335) Executing command: KEY_POWER
2022-06-06 09:11:57.435  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":false,"ack":false,"ts":1654499517432,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654499431955}
2022-06-06 09:11:57.458  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654499517455,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499517455}
2022-06-06 09:12:08.407  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654499528402,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499517455}
2022-06-06 09:12:35.225  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":false,"ts":1654499555221,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654499517455}
2022-06-06 09:12:35.251  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654499555246,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499517455}
2022-06-06 09:12:41.438  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":false,"ack":false,"ts":1654499561433,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654499561433}
2022-06-06 09:12:56.249  - debug: samsung.0 (91335) stateChange samsung.0.Power.Standby = {"val":false,"ack":false,"ts":1654499576244,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623693}
2022-06-06 09:12:56.255  - debug: samsung.0 (91335) Executing command: KEY_POWEROFF
2022-06-06 09:12:56.464  - debug: samsung.0 (91335) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654499576461,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623693}
2022-06-06 09:13:01.251  - debug: samsung.0 (91335) stateChange samsung.0.Power.Standby = {"val":true,"ack":false,"ts":1654499581247,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654499581247}
2022-06-06 09:13:01.255  - debug: samsung.0 (91335) Executing command: KEY_POWEROFF
2022-06-06 09:13:01.473  - debug: samsung.0 (91335) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654499581469,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499581469}
2022-06-06 09:13:19.138  - debug: samsung.0 (91335) stateChange samsung.0.Input.HDMI = {"val":false,"ack":false,"ts":1654499599135,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:13:19.142  - debug: samsung.0 (91335) Executing command: KEY_HDMI
2022-06-06 09:13:19.352  - debug: samsung.0 (91335) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654499599348,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 09:13:49.032  - debug: samsung.0 (91335) Executing command: KEY_POWER
2022-06-06 09:14:09.475  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654499649471,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499649471}
2022-06-06 09:15:49.665  - debug: samsung.0 (91335) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654499749660,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 09:15:49.692  - debug: samsung.0 (91335) Executing command: KEY_POWER
2022-06-06 09:15:58.960  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":false,"ts":1654499758956,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654499649471}
2022-06-06 09:15:58.981  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654499758977,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499649471}
2022-06-06 09:16:10.029  - debug: samsung.0 (91335) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654499770023,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499649471}

@Apollon77
Copy link
Member

Ok, then I'm running out of ideas ... Try GitHub version again please ... now it could be that the TV turns on on adapterdstart again ... but does it work afterwards again?

@Grothesk242
Copy link
Author

True, starting the adapter starts the TV now.
But when toggeling Datapoint Power.off the TV turns on and off.

2022-06-06 13:50:21.516  - info: host.chet iobroker install iobroker-community-adapters/ioBroker.samsung#f4f3be2754988a776fb6807fa3cdc63bb367fbbd
2022-06-06 13:50:22.631  - info: host.chet iobroker NPM version: 8.11.0
2022-06-06 13:50:22.636  - info: host.chet iobroker Installing iobroker-community-adapters/ioBroker.samsung#f4f3be2754988a776fb6807fa3cdc63bb367fbbd... (System call)
2022-06-06 13:50:33.440  - info: host.chet iobroker changed 1 package in 10s70 packages are looking for funding  run `npm fund` for details
2022-06-06 13:50:33.513  - info: host.chet iobroker upload [1] samsung.admin /opt/iobroker/node_modules/iobroker.samsung/admin/index.html index.html text/html
2022-06-06 13:50:33.588  - info: host.chet iobroker upload [0] samsung.admin /opt/iobroker/node_modules/iobroker.samsung/admin/samsung.png samsung.png image/png
2022-06-06 13:50:33.646  - info: host.chet iobroker Update "system.adapter.samsung.0"
2022-06-06 13:50:33.663  - info: host.chet stopInstance system.adapter.samsung.0 (force=false, process=true)
2022-06-06 13:50:33.672  - info: samsung.0 (91335) Got terminate signal TERMINATE_YOURSELF
2022-06-06 13:50:33.675  - info: host.chet stopInstance system.adapter.samsung.0 send kill signal
2022-06-06 13:50:33.674  - info: samsung.0 (91335) terminating
2022-06-06 13:50:33.676  - debug: samsung.0 (91335) Plugin sentry destroyed
2022-06-06 13:50:33.677  - info: samsung.0 (91335) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2022-06-06 13:50:34.278  - info: host.chet instance system.adapter.samsung.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-06-06 13:50:34.758  - info: host.chet iobroker exit 0
2022-06-06 13:50:36.814  - info: host.chet instance system.adapter.samsung.0 started with pid 96355
2022-06-06 13:50:38.912  - debug: samsung.0 (96355) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-06 13:50:38.987  - debug: samsung.0 (96355) Objects client ready ... initialize now
2022-06-06 13:50:38.991  - debug: samsung.0 (96355) Objects create System PubSub Client
2022-06-06 13:50:38.992  - debug: samsung.0 (96355) Objects create User PubSub Client
2022-06-06 13:50:39.056  - debug: samsung.0 (96355) Objects client initialize lua scripts
2022-06-06 13:50:39.067  - debug: samsung.0 (96355) Objects connected to redis: 0.0.0.0:9001
2022-06-06 13:50:39.105  - debug: samsung.0 (96355) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-06 13:50:39.127  - debug: samsung.0 (96355) States create System PubSub Client
2022-06-06 13:50:39.129  - debug: samsung.0 (96355) States create User PubSub Client
2022-06-06 13:50:39.167  - debug: samsung.0 (96355) States connected to redis: 0.0.0.0:9000
2022-06-06 13:50:39.291  - debug: samsung.0 (96355) Plugin sentry Initialize Plugin (enabled=true)
2022-06-06 13:50:39.735  - info: samsung.0 (96355) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#f4f3be2754988a776fb6807fa3cdc63bb367fbbd) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-06 13:51:01.008  - debug: samsung.0 (96355) Checking power on/off state ...
2022-06-06 13:51:01.043  - debug: samsung.0 (96355) Power on/off check result: true vs lastOn=undefined
2022-06-06 13:51:01.099  - debug: samsung.0 (96355) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654516261072,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654499581469}
2022-06-06 13:51:01.102  - debug: samsung.0 (96355) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654516261073,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623745}
2022-06-06 13:51:01.103  - debug: samsung.0 (96355) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654516261073,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 13:51:01.104  - debug: samsung.0 (96355) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654516261073,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 13:51:01.105  - debug: samsung.0 (96355) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654516261073,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623746}
2022-06-06 13:51:01.107  - debug: samsung.0 (96355) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654516261074,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 13:51:01.108  - debug: samsung.0 (96355) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654516261074,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 13:51:01.109  - debug: samsung.0 (96355) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654516261074,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 13:51:01.118  - debug: samsung.0 (96355) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654516261075,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623747}
2022-06-06 13:51:01.119  - debug: samsung.0 (96355) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654516261075,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 13:51:01.120  - debug: samsung.0 (96355) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654516261075,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 13:51:01.128  - debug: samsung.0 (96355) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654516261075,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 13:51:01.129  - debug: samsung.0 (96355) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654516261075,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 13:51:01.130  - debug: samsung.0 (96355) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654516261076,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 13:51:01.131  - debug: samsung.0 (96355) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654516261076,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623748}
2022-06-06 13:51:01.132  - debug: samsung.0 (96355) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654516261076,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.141  - debug: samsung.0 (96355) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654516261076,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.148  - debug: samsung.0 (96355) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654516261076,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.149  - debug: samsung.0 (96355) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654516261077,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.150  - debug: samsung.0 (96355) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654516261077,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.151  - debug: samsung.0 (96355) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654516261077,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.152  - debug: samsung.0 (96355) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654516261077,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.153  - debug: samsung.0 (96355) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654516261078,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623749}
2022-06-06 13:51:01.155  - debug: samsung.0 (96355) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654516261078,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 13:51:01.232  - debug: samsung.0 (96355) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654516261078,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 13:51:01.234  - debug: samsung.0 (96355) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654516261078,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 13:51:01.235  - debug: samsung.0 (96355) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654516261079,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623750}
2022-06-06 13:51:01.236  - debug: samsung.0 (96355) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654516261079,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 13:51:01.236  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654516261079,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 13:51:01.238  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654516261079,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 13:51:01.238  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654516261080,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 13:51:01.239  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654516261080,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 13:51:01.240  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654516261080,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623751}
2022-06-06 13:51:01.240  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654516261080,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 13:51:01.240  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654516261081,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 13:51:01.241  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654516261081,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 13:51:01.241  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654516261081,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 13:51:01.241  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654516261081,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 13:51:01.242  - debug: samsung.0 (96355) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654516261081,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623752}
2022-06-06 13:51:01.242  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654516261082,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 13:51:01.242  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654516261082,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 13:51:01.242  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654516261082,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 13:51:01.243  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654516261083,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 13:51:01.243  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654516261083,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 13:51:01.243  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654516261083,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623753}
2022-06-06 13:51:01.244  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654516261083,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:51:01.244  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654516261083,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:51:01.244  - debug: samsung.0 (96355) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654516261084,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:51:01.244  - debug: samsung.0 (96355) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654516261084,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:51:01.245  - debug: samsung.0 (96355) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654516261084,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:51:01.245  - debug: samsung.0 (96355) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654516261084,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654516261084}
2022-06-06 13:51:01.245  - debug: samsung.0 (96355) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654516261085,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654290623692}
2022-06-06 13:51:01.246  - debug: samsung.0 (96355) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654516261085,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654516261085}
2022-06-06 13:51:01.261  - debug: samsung.0 (96355) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654516261232,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654516261232}
2022-06-06 13:51:56.654  - debug: samsung.0 (96355) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654516316650,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:51:56.674  - debug: samsung.0 (96355) Executing command: KEY_POWER
2022-06-06 13:52:02.000  - debug: samsung.0 (96355) stateChange samsung.0.Power.on = {"val":false,"ack":false,"ts":1654516321997,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654516261084}
2022-06-06 13:52:02.022  - debug: samsung.0 (96355) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654516322018,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654516322018}
2022-06-06 13:52:11.257  - debug: samsung.0 (96355) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654516331250,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:52:11.284  - debug: samsung.0 (96355) Executing command: KEY_POWER
2022-06-06 13:52:18.613  - debug: samsung.0 (96355) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654516338609,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:52:18.630  - debug: samsung.0 (96355) Executing command: KEY_POWER
2022-06-06 13:52:23.072  - debug: samsung.0 (96355) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654516343068,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654290623754}
2022-06-06 13:52:23.086  - debug: samsung.0 (96355) Executing command: KEY_POWER
2022-06-06 13:52:43.396  - debug: samsung.0 (96355) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654516363393,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654516322018}

@Grothesk242
Copy link
Author

I can toggle the power state with power.off now, the power.on does nothing. Can the type and description of the state be adjusted?

image

@Apollon77
Copy link
Member

power.on should turn it on ... but it seems that because there is no connection that it does not do anything ... Try github ... I tried something ... could help

@Grothesk242
Copy link
Author

Grothesk242 commented Jun 6, 2022

Restarting Instance still fires the TV on, Access/ Token PopUp showing on the TV screen.
power.off turns the TV off, power.on does not turn it on again.

2022-06-06 18:29:23.724  - info: host.chet instance system.adapter.samsung.0 started with pid 101038
2022-06-06 18:29:25.739  - debug: samsung.0 (101038) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-06 18:29:25.799  - debug: samsung.0 (101038) Objects client ready ... initialize now
2022-06-06 18:29:25.819  - debug: samsung.0 (101038) Objects create System PubSub Client
2022-06-06 18:29:25.820  - debug: samsung.0 (101038) Objects create User PubSub Client
2022-06-06 18:29:25.894  - debug: samsung.0 (101038) Objects client initialize lua scripts
2022-06-06 18:29:25.905  - debug: samsung.0 (101038) Objects connected to redis: 0.0.0.0:9001
2022-06-06 18:29:25.952  - debug: samsung.0 (101038) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-06 18:29:25.979  - debug: samsung.0 (101038) States create System PubSub Client
2022-06-06 18:29:25.980  - debug: samsung.0 (101038) States create User PubSub Client
2022-06-06 18:29:26.047  - debug: samsung.0 (101038) States connected to redis: 0.0.0.0:9000
2022-06-06 18:29:26.185  - debug: samsung.0 (101038) Plugin sentry Initialize Plugin (enabled=true)
2022-06-06 18:29:26.580  - info: samsung.0 (101038) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#9b9e8450f265268cae7d006633bff5f1362b2c28) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-06 18:29:46.621  - debug: samsung.0 (101038) Checking power on/off state ...
2022-06-06 18:29:46.673  - debug: samsung.0 (101038) Power on/off check result: true vs lastOn=undefined
2022-06-06 18:29:46.697  - debug: samsung.0 (101038) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654532986662,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815349}
2022-06-06 18:29:46.698  - debug: samsung.0 (101038) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654532986662,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815464}
2022-06-06 18:29:46.701  - debug: samsung.0 (101038) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654532986662,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815465}
2022-06-06 18:29:46.702  - debug: samsung.0 (101038) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654532986663,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815465}
2022-06-06 18:29:46.703  - debug: samsung.0 (101038) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654532986663,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815465}
2022-06-06 18:29:46.704  - debug: samsung.0 (101038) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654532986663,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815466}
2022-06-06 18:29:46.706  - debug: samsung.0 (101038) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654532986663,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815469}
2022-06-06 18:29:46.708  - debug: samsung.0 (101038) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654532986663,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815470}
2022-06-06 18:29:46.709  - debug: samsung.0 (101038) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654532986663,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815470}
2022-06-06 18:29:46.710  - debug: samsung.0 (101038) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654532986664,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815471}
2022-06-06 18:29:46.721  - debug: samsung.0 (101038) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654532986664,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815471}
2022-06-06 18:29:46.723  - debug: samsung.0 (101038) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654532986664,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815471}
2022-06-06 18:29:46.723  - debug: samsung.0 (101038) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654532986664,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815472}
2022-06-06 18:29:46.724  - debug: samsung.0 (101038) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654532986664,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815472}
2022-06-06 18:29:46.726  - debug: samsung.0 (101038) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815472}
2022-06-06 18:29:46.736  - debug: samsung.0 (101038) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 18:29:46.746  - debug: samsung.0 (101038) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 18:29:46.747  - debug: samsung.0 (101038) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 18:29:46.749  - debug: samsung.0 (101038) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 18:29:46.750  - debug: samsung.0 (101038) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 18:29:46.751  - debug: samsung.0 (101038) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 18:29:46.752  - debug: samsung.0 (101038) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654532986665,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 18:29:46.755  - debug: samsung.0 (101038) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654532986666,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 18:29:46.756  - debug: samsung.0 (101038) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654532986666,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 18:29:46.757  - debug: samsung.0 (101038) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654532986666,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 18:29:46.776  - debug: samsung.0 (101038) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654532986666,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 18:29:46.777  - debug: samsung.0 (101038) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654532986666,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 18:29:46.778  - debug: samsung.0 (101038) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 18:29:46.779  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 18:29:46.781  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 18:29:46.782  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 18:29:46.783  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 18:29:46.784  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 18:29:46.785  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654532986667,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 18:29:46.789  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 18:29:46.789  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 18:29:46.790  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 18:29:46.791  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815477}
2022-06-06 18:29:46.792  - debug: samsung.0 (101038) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815477}
2022-06-06 18:29:46.793  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815477}
2022-06-06 18:29:46.793  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654532986668,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 18:29:46.794  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654532986669,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 18:29:46.794  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654532986669,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 18:29:46.807  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654532986669,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 18:29:46.807  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654532986669,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 18:29:46.808  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654532986670,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 18:29:46.813  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654532986671,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 18:29:46.814  - debug: samsung.0 (101038) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654532986671,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 18:29:46.815  - debug: samsung.0 (101038) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654532986671,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815480}
2022-06-06 18:29:46.816  - debug: samsung.0 (101038) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654532986683,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815480}
2022-06-06 18:29:46.825  - debug: samsung.0 (101038) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654532986775,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532986775}
2022-06-06 18:29:46.829  - debug: samsung.0 (101038) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654532986775,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815625}
2022-06-06 18:29:46.831  - debug: samsung.0 (101038) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654532986775,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532986775}
2022-06-06 18:29:46.894  - debug: samsung.0 (101038) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654532986879,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532986879}
2022-06-06 18:34:39.316  - debug: samsung.0 (101038) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654533279307,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654532815480}
2022-06-06 18:34:39.336  - debug: samsung.0 (101038) Executing command: KEY_POWER
2022-06-06 18:34:48.898  - debug: samsung.0 (101038) stateChange samsung.0.Power.Standby = {"val":false,"ack":false,"ts":1654533288894,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654532815349}
2022-06-06 18:34:48.903  - debug: samsung.0 (101038) Executing command: KEY_POWEROFF
2022-06-06 18:34:49.114  - debug: samsung.0 (101038) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654533289110,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815349}
2022-06-06 18:34:55.083  - debug: samsung.0 (101038) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654533295079,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654532815480}
2022-06-06 18:34:55.098  - debug: samsung.0 (101038) Executing command: KEY_POWER
2022-06-06 18:35:15.442  - debug: samsung.0 (101038) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654533315439,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654533315439}

@Apollon77
Copy link
Member

Can you please try the official beta npm version if they behave "the same"?

@Grothesk242
Copy link
Author

Grothesk242 commented Jun 6, 2022

Version 0.5.11
Adapter Start turns the TV on (Token pop up appears), power.off does power off the TV, but not back ON when state gets updated
power.on does nothing.

2022-06-06 20:57:48.530  - info: host.chet instance system.adapter.samsung.0 started with pid 106539
2022-06-06 20:57:50.473  - debug: samsung.0 (106539) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-06 20:57:50.553  - debug: samsung.0 (106539) Objects client ready ... initialize now
2022-06-06 20:57:50.557  - debug: samsung.0 (106539) Objects create System PubSub Client
2022-06-06 20:57:50.559  - debug: samsung.0 (106539) Objects create User PubSub Client
2022-06-06 20:57:50.633  - debug: samsung.0 (106539) Objects client initialize lua scripts
2022-06-06 20:57:50.644  - debug: samsung.0 (106539) Objects connected to redis: 0.0.0.0:9001
2022-06-06 20:57:50.682  - debug: samsung.0 (106539) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-06 20:57:50.709  - debug: samsung.0 (106539) States create System PubSub Client
2022-06-06 20:57:50.711  - debug: samsung.0 (106539) States create User PubSub Client
2022-06-06 20:57:50.747  - debug: samsung.0 (106539) States connected to redis: 0.0.0.0:9000
2022-06-06 20:57:50.875  - debug: samsung.0 (106539) Plugin sentry Initialize Plugin (enabled=true)
2022-06-06 20:57:51.342  - info: samsung.0 (106539) starting. Version 0.5.11 in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-06 20:57:59.083  - info: samsung.0 (106539) -----------------------------------------
2022-06-06 20:57:59.084  - info: samsung.0 (106539) Confirm on your TV to get a Token
2022-06-06 20:57:59.086  - info: samsung.0 (106539) -----------------------------------------
2022-06-06 20:57:59.087  - info: samsung.0 (106539) Token: 12345678
2022-06-06 20:57:59.088  - info: samsung.0 (106539) -----------------------------------------
2022-06-06 20:57:59.148  - debug: samsung.0 (106539) Checking power on/off state ...
2022-06-06 20:57:59.184  - debug: samsung.0 (106539) Power on/off check result: true vs lastOn=undefined
2022-06-06 20:57:59.196  - debug: samsung.0 (106539) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654541879171,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815349}
2022-06-06 20:57:59.198  - debug: samsung.0 (106539) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654541879171,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815464}
2022-06-06 20:57:59.199  - debug: samsung.0 (106539) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654541879171,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815465}
2022-06-06 20:57:59.206  - debug: samsung.0 (106539) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654541879171,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815465}
2022-06-06 20:57:59.207  - debug: samsung.0 (106539) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815465}
2022-06-06 20:57:59.208  - debug: samsung.0 (106539) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815466}
2022-06-06 20:57:59.209  - debug: samsung.0 (106539) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815469}
2022-06-06 20:57:59.210  - debug: samsung.0 (106539) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815470}
2022-06-06 20:57:59.220  - debug: samsung.0 (106539) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815470}
2022-06-06 20:57:59.221  - debug: samsung.0 (106539) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815471}
2022-06-06 20:57:59.222  - debug: samsung.0 (106539) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654541879172,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815471}
2022-06-06 20:57:59.229  - debug: samsung.0 (106539) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815471}
2022-06-06 20:57:59.231  - debug: samsung.0 (106539) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815472}
2022-06-06 20:57:59.232  - debug: samsung.0 (106539) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815472}
2022-06-06 20:57:59.233  - debug: samsung.0 (106539) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815472}
2022-06-06 20:57:59.234  - debug: samsung.0 (106539) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 20:57:59.240  - debug: samsung.0 (106539) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 20:57:59.246  - debug: samsung.0 (106539) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 20:57:59.247  - debug: samsung.0 (106539) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 20:57:59.248  - debug: samsung.0 (106539) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 20:57:59.249  - debug: samsung.0 (106539) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654541879173,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815473}
2022-06-06 20:57:59.274  - debug: samsung.0 (106539) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 20:57:59.275  - debug: samsung.0 (106539) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 20:57:59.276  - debug: samsung.0 (106539) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 20:57:59.277  - debug: samsung.0 (106539) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815474}
2022-06-06 20:57:59.278  - debug: samsung.0 (106539) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 20:57:59.279  - debug: samsung.0 (106539) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 20:57:59.280  - debug: samsung.0 (106539) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 20:57:59.281  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 20:57:59.282  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 20:57:59.283  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654541879174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815475}
2022-06-06 20:57:59.284  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654541879175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 20:57:59.285  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654541879175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 20:57:59.285  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654541879175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 20:57:59.286  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654541879175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 20:57:59.287  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654541879175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 20:57:59.288  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654541879175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815476}
2022-06-06 20:57:59.289  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654541879176,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815477}
2022-06-06 20:57:59.304  - debug: samsung.0 (106539) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654541879176,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815477}
2022-06-06 20:57:59.310  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654541879176,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815477}
2022-06-06 20:57:59.311  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654541879176,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 20:57:59.312  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654541879176,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 20:57:59.345  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654541879181,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 20:57:59.353  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654541879293,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815478}
2022-06-06 20:57:59.354  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654541879293,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 20:57:59.355  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654541879294,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 20:57:59.356  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654541879294,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 20:57:59.363  - debug: samsung.0 (106539) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654541879294,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815479}
2022-06-06 20:57:59.364  - debug: samsung.0 (106539) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654541879294,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815480}
2022-06-06 20:57:59.369  - debug: samsung.0 (106539) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654541879295,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654541694445}
2022-06-06 20:57:59.370  - debug: samsung.0 (106539) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654541879295,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654541879295}
2022-06-06 20:57:59.371  - debug: samsung.0 (106539) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654541879308,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532815625}
2022-06-06 20:57:59.376  - debug: samsung.0 (106539) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654541879366,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654541879366}
2022-06-06 20:57:59.379  - debug: samsung.0 (106539) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654541879367,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654532986879}

@Apollon77
Copy link
Member

So, it's the same now between beta and Github ...

Ok, ALso next try on Github please

@Grothesk242
Copy link
Author

Adapter restart does not turn on the TV
State power.off works
State power.on does not work

2022-06-07 19:12:08.205  - info: host.chet instance system.adapter.samsung.0 started with pid 128163
2022-06-07 19:12:10.279  - debug: samsung.0 (128163) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-07 19:12:10.335  - debug: samsung.0 (128163) Objects client ready ... initialize now
2022-06-07 19:12:10.338  - debug: samsung.0 (128163) Objects create System PubSub Client
2022-06-07 19:12:10.340  - debug: samsung.0 (128163) Objects create User PubSub Client
2022-06-07 19:12:10.418  - debug: samsung.0 (128163) Objects client initialize lua scripts
2022-06-07 19:12:10.452  - debug: samsung.0 (128163) Objects connected to redis: 0.0.0.0:9001
2022-06-07 19:12:10.490  - debug: samsung.0 (128163) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-07 19:12:10.531  - debug: samsung.0 (128163) States create System PubSub Client
2022-06-07 19:12:10.532  - debug: samsung.0 (128163) States create User PubSub Client
2022-06-07 19:12:10.579  - debug: samsung.0 (128163) States connected to redis: 0.0.0.0:9000
2022-06-07 19:12:10.708  - debug: samsung.0 (128163) Plugin sentry Initialize Plugin (enabled=true)
2022-06-07 19:12:11.127  - info: samsung.0 (128163) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#e6a981a1267095ec1ded64ea9a1315cba25e81fd) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-07 19:12:17.997  - debug: samsung.0 (128163) Checking power on/off state ...
2022-06-07 19:12:18.019  - debug: samsung.0 (128163) Power on/off check result: true vs lastOn=undefined
2022-06-07 19:12:18.059  - debug: samsung.0 (128163) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654621938041,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862526}
2022-06-07 19:12:18.061  - debug: samsung.0 (128163) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654621938041,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862526}
2022-06-07 19:12:18.062  - debug: samsung.0 (128163) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654621938042,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862526}
2022-06-07 19:12:18.063  - debug: samsung.0 (128163) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654621938042,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862526}
2022-06-07 19:12:18.065  - debug: samsung.0 (128163) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654621938042,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862527}
2022-06-07 19:12:18.071  - debug: samsung.0 (128163) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654621938042,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862527}
2022-06-07 19:12:18.072  - debug: samsung.0 (128163) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862527}
2022-06-07 19:12:18.077  - debug: samsung.0 (128163) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862527}
2022-06-07 19:12:18.078  - debug: samsung.0 (128163) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862527}
2022-06-07 19:12:18.079  - debug: samsung.0 (128163) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862527}
2022-06-07 19:12:18.086  - debug: samsung.0 (128163) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862528}
2022-06-07 19:12:18.087  - debug: samsung.0 (128163) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862528}
2022-06-07 19:12:18.091  - debug: samsung.0 (128163) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654621938043,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862528}
2022-06-07 19:12:18.092  - debug: samsung.0 (128163) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654621938044,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862528}
2022-06-07 19:12:18.098  - debug: samsung.0 (128163) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654621938044,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862528}
2022-06-07 19:12:18.099  - debug: samsung.0 (128163) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654621938044,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862528}
2022-06-07 19:12:18.104  - debug: samsung.0 (128163) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654621938044,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862529}
2022-06-07 19:12:18.108  - debug: samsung.0 (128163) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654621938044,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862529}
2022-06-07 19:12:18.114  - debug: samsung.0 (128163) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654621938044,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862529}
2022-06-07 19:12:18.115  - debug: samsung.0 (128163) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862529}
2022-06-07 19:12:18.116  - debug: samsung.0 (128163) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862529}
2022-06-07 19:12:18.148  - debug: samsung.0 (128163) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862529}
2022-06-07 19:12:18.149  - debug: samsung.0 (128163) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.150  - debug: samsung.0 (128163) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.151  - debug: samsung.0 (128163) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.152  - debug: samsung.0 (128163) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654621938045,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.153  - debug: samsung.0 (128163) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654621938046,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.154  - debug: samsung.0 (128163) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654621938046,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.155  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654621938046,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862530}
2022-06-07 19:12:18.156  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654621938046,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.157  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654621938046,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.158  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.159  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.160  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.160  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.161  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862531}
2022-06-07 19:12:18.161  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862532}
2022-06-07 19:12:18.162  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862532}
2022-06-07 19:12:18.171  - debug: samsung.0 (128163) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654621938047,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862532}
2022-06-07 19:12:18.178  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654621938048,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862532}
2022-06-07 19:12:18.179  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654621938048,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862532}
2022-06-07 19:12:18.180  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654621938048,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862539}
2022-06-07 19:12:18.185  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654621938048,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862657}
2022-06-07 19:12:18.186  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654621938048,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862658}
2022-06-07 19:12:18.186  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654621938051,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862658}
2022-06-07 19:12:18.187  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654621938051,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862658}
2022-06-07 19:12:18.188  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654621938051,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862658}
2022-06-07 19:12:18.189  - debug: samsung.0 (128163) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654621938051,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862658}
2022-06-07 19:12:18.189  - debug: samsung.0 (128163) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654621938052,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862671}
2022-06-07 19:12:18.216  - debug: samsung.0 (128163) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654621938174,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862671}
2022-06-07 19:12:18.221  - debug: samsung.0 (128163) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654621938175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862672}
2022-06-07 19:12:18.226  - debug: samsung.0 (128163) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654621938175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862510}
2022-06-07 19:12:18.228  - debug: samsung.0 (128163) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654621938175,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621938175}
2022-06-07 19:12:18.269  - debug: samsung.0 (128163) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654621938176,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621862526}
2022-06-07 19:12:18.274  - debug: samsung.0 (128163) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654621938230,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654621938230}

@Apollon77
Copy link
Member

I can not see any "power.on" control action in the log?? Can you show a log for this please?

@Apollon77
Copy link
Member

And use newest GitHib version for it ... :-) Tried something else and added some log to see more

@Grothesk242
Copy link
Author

Adapter start still wakes up the TV.
power.off toggels ON/OFF
power.on does nothing

2022-06-07 22:52:52.230  - info: host.chet "system.adapter.samsung.0" enabled
2022-06-07 22:52:52.449  - info: host.chet instance system.adapter.samsung.0 started with pid 134298
2022-06-07 22:52:54.416  - debug: samsung.0 (134298) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-07 22:52:54.484  - debug: samsung.0 (134298) Objects client ready ... initialize now
2022-06-07 22:52:54.488  - debug: samsung.0 (134298) Objects create System PubSub Client
2022-06-07 22:52:54.489  - debug: samsung.0 (134298) Objects create User PubSub Client
2022-06-07 22:52:54.552  - debug: samsung.0 (134298) Objects client initialize lua scripts
2022-06-07 22:52:54.563  - debug: samsung.0 (134298) Objects connected to redis: 0.0.0.0:9001
2022-06-07 22:52:54.599  - debug: samsung.0 (134298) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-07 22:52:54.640  - debug: samsung.0 (134298) States create System PubSub Client
2022-06-07 22:52:54.642  - debug: samsung.0 (134298) States create User PubSub Client
2022-06-07 22:52:54.678  - debug: samsung.0 (134298) States connected to redis: 0.0.0.0:9000
2022-06-07 22:52:54.807  - debug: samsung.0 (134298) Plugin sentry Initialize Plugin (enabled=true)
2022-06-07 22:52:55.234  - info: samsung.0 (134298) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#70366ba038c0f5092731db63f09d16db8eb56e65) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-07 22:53:02.901  - debug: samsung.0 (134298) Checking power on/off state ...
2022-06-07 22:53:02.949  - debug: samsung.0 (134298) Power on/off check result: true vs lastOn=undefined
2022-06-07 22:53:02.970  - debug: samsung.0 (134298) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654635182939,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844790}
2022-06-07 22:53:02.971  - debug: samsung.0 (134298) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654635182939,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844790}
2022-06-07 22:53:02.972  - debug: samsung.0 (134298) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654635182940,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844791}
2022-06-07 22:53:02.973  - debug: samsung.0 (134298) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654635182940,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844791}
2022-06-07 22:53:02.974  - debug: samsung.0 (134298) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654635182940,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844792}
2022-06-07 22:53:02.975  - debug: samsung.0 (134298) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654635182940,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.976  - debug: samsung.0 (134298) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654635182940,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.977  - debug: samsung.0 (134298) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654635182940,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.978  - debug: samsung.0 (134298) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654635182941,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.979  - debug: samsung.0 (134298) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654635182941,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.990  - debug: samsung.0 (134298) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654635182941,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.991  - debug: samsung.0 (134298) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654635182941,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.992  - debug: samsung.0 (134298) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654635182941,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844793}
2022-06-07 22:53:02.993  - debug: samsung.0 (134298) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654635182942,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844794}
2022-06-07 22:53:03.001  - debug: samsung.0 (134298) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654635182942,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844794}
2022-06-07 22:53:03.002  - debug: samsung.0 (134298) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654635182942,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844794}
2022-06-07 22:53:03.007  - debug: samsung.0 (134298) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654635182942,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844794}
2022-06-07 22:53:03.008  - debug: samsung.0 (134298) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654635182942,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844795}
2022-06-07 22:53:03.009  - debug: samsung.0 (134298) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654635182942,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844795}
2022-06-07 22:53:03.010  - debug: samsung.0 (134298) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654635182943,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844795}
2022-06-07 22:53:03.031  - debug: samsung.0 (134298) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654635182943,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844860}
2022-06-07 22:53:03.033  - debug: samsung.0 (134298) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654635182943,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844860}
2022-06-07 22:53:03.034  - debug: samsung.0 (134298) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654635182943,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844860}
2022-06-07 22:53:03.035  - debug: samsung.0 (134298) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654635182943,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844860}
2022-06-07 22:53:03.036  - debug: samsung.0 (134298) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844860}
2022-06-07 22:53:03.037  - debug: samsung.0 (134298) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.037  - debug: samsung.0 (134298) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.038  - debug: samsung.0 (134298) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.039  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.041  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.042  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.043  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654635182944,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.043  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654635182945,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844861}
2022-06-07 22:53:03.044  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654635182945,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844862}
2022-06-07 22:53:03.045  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654635182945,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844862}
2022-06-07 22:53:03.046  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654635182945,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844862}
2022-06-07 22:53:03.047  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654635182945,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844862}
2022-06-07 22:53:03.048  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654635182946,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.060  - debug: samsung.0 (134298) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654635182946,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.069  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654635182946,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.070  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654635182946,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.070  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654635182946,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.071  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654635182946,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.079  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654635182947,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844863}
2022-06-07 22:53:03.081  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654635182947,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844864}
2022-06-07 22:53:03.082  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654635182947,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844864}
2022-06-07 22:53:03.083  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654635182947,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844864}
2022-06-07 22:53:03.084  - debug: samsung.0 (134298) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654635182947,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844864}
2022-06-07 22:53:03.084  - debug: samsung.0 (134298) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654635182957,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844864}
2022-06-07 22:53:03.106  - debug: samsung.0 (134298) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654635183066,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654635020566}
2022-06-07 22:53:03.112  - debug: samsung.0 (134298) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654635183066,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654635107980}
2022-06-07 22:53:03.115  - debug: samsung.0 (134298) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654635183066,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844790}
2022-06-07 22:53:03.118  - debug: samsung.0 (134298) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654635183067,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654635183067}
2022-06-07 22:53:03.136  - debug: samsung.0 (134298) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654635183104,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654634844795}
2022-06-07 22:53:03.175  - debug: samsung.0 (134298) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654635183147,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654635183147}
2022-06-07 22:54:23.219  - debug: samsung.0 (134298) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654635263215,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654635020566}
2022-06-07 22:54:23.239  - debug: samsung.0 (134298) Executing command: KEY_POWER
2022-06-07 22:54:23.252  - debug: samsung.0 (134298) Status after connect true
2022-06-07 22:54:26.716  - debug: samsung.0 (134298) stateChange samsung.0.Power.on = {"val":true,"ack":false,"ts":1654635266707,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654635183147}
2022-06-07 22:54:26.734  - debug: samsung.0 (134298) TV already in state true
2022-06-07 22:54:26.749  - debug: samsung.0 (134298) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654635266741,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654635183147}
2022-06-07 22:54:29.366  - debug: samsung.0 (134298) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654635269362,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654635020566}
2022-06-07 22:54:29.383  - debug: samsung.0 (134298) Executing command: KEY_POWER
2022-06-07 22:54:29.396  - debug: samsung.0 (134298) Status after connect true
2022-06-07 22:54:49.716  - debug: samsung.0 (134298) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654635289710,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654635183147}

@Apollon77
Copy link
Member

You are too fast ... You turn the TV off and this "turn off" is not yet reflected in the reality for the adapter. For the adapter the system is still online because it seems thatthe TV needs some time to be really off (aka not respond to network ping anymore).

Please try again ... turn it off and let it run until Power.on state is set with an ack=true by the adapter!! The code waits up to 20s seconds

@Grothesk242
Copy link
Author

Keine Ahnung was hier passiert. Und eigentlich auch keine Lust mehr zu testen...
Ich hab den TV jetzt per Adapter ausgeschaltet, eine Minute gewartet, einschalten ging dann nicht, wie schon die ganze Zeit.
Nach ein paar Minuten hat sich der TV von alleine eingeschaltet.

@Apollon77
Copy link
Member

Tja, ich habe kein Samsung TV, also ist das einzige was ich tun kann hier rumexperiementieren. Ich verstehe das das testen blöd ist, ich habe aber keine andere Option, sorry ...
ich kann jetzt nur überlegen was ich mit dem teststand mache ...

@Apollon77 Apollon77 reopened this Jun 7, 2022
@Apollon77
Copy link
Member

Reopen because basically still exists

@Apollon77 Apollon77 added the help wanted Extra attention is needed label Jun 7, 2022
@Grothesk242
Copy link
Author

23:53: TV ist ausgeschaltet, Datenpunkte gelöscht, Adapter neustart, TV springt an.

2022-06-07 23:53:47.162  - info: host.chet instance system.adapter.samsung.0 started with pid 135181
2022-06-07 23:53:49.098  - debug: samsung.0 (135181) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-07 23:53:49.152  - debug: samsung.0 (135181) Objects client ready ... initialize now
2022-06-07 23:53:49.155  - debug: samsung.0 (135181) Objects create System PubSub Client
2022-06-07 23:53:49.157  - debug: samsung.0 (135181) Objects create User PubSub Client
2022-06-07 23:53:49.224  - debug: samsung.0 (135181) Objects client initialize lua scripts
2022-06-07 23:53:49.235  - debug: samsung.0 (135181) Objects connected to redis: 0.0.0.0:9001
2022-06-07 23:53:49.270  - debug: samsung.0 (135181) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-07 23:53:49.294  - debug: samsung.0 (135181) States create System PubSub Client
2022-06-07 23:53:49.300  - debug: samsung.0 (135181) States create User PubSub Client
2022-06-07 23:53:49.333  - debug: samsung.0 (135181) States connected to redis: 0.0.0.0:9000
2022-06-07 23:53:49.472  - debug: samsung.0 (135181) Plugin sentry Initialize Plugin (enabled=true)
2022-06-07 23:53:49.951  - info: samsung.0 (135181) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#70366ba038c0f5092731db63f09d16db8eb56e65) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-07 23:53:57.830  - debug: samsung.0 (135181) Checking power on/off state ...
2022-06-07 23:53:57.860  - debug: samsung.0 (135181) Power on/off check result: true vs lastOn=undefined
2022-06-07 23:53:57.953  - debug: samsung.0 (135181) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654638837867,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837867}
2022-06-07 23:53:57.988  - debug: samsung.0 (135181) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654638837903,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837903}
2022-06-07 23:53:58.004  - debug: samsung.0 (135181) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654638837904,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837904}
2022-06-07 23:53:58.016  - debug: samsung.0 (135181) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654638837905,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-07 23:53:58.017  - debug: samsung.0 (135181) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654638837905,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-07 23:53:58.026  - debug: samsung.0 (135181) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654638837905,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-07 23:53:58.028  - debug: samsung.0 (135181) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654638837907,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837907}
2022-06-07 23:53:58.037  - debug: samsung.0 (135181) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654638837908,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.038  - debug: samsung.0 (135181) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654638837908,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.040  - debug: samsung.0 (135181) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654638837908,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.056  - debug: samsung.0 (135181) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654638837908,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.057  - debug: samsung.0 (135181) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654638837909,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.058  - debug: samsung.0 (135181) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654638837909,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.059  - debug: samsung.0 (135181) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654638837909,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.060  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654638837909,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.090  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654638837910,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-07 23:53:58.090  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654638837910,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-07 23:53:58.098  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654638837910,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-07 23:53:58.103  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654638837949,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-07 23:53:58.104  - debug: samsung.0 (135181) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654638837949,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-07 23:53:58.105  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654638837949,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-07 23:53:58.123  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654638838064,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838064}
2022-06-07 23:53:58.130  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654638838065,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838065}
2022-06-07 23:53:58.136  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654638838066,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838066}
2022-06-07 23:53:58.143  - debug: samsung.0 (135181) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654638838066,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838066}
2022-06-07 23:53:58.149  - debug: samsung.0 (135181) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654638838067,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838067}
2022-06-07 23:53:58.150  - debug: samsung.0 (135181) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654638838068,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838068}
2022-06-07 23:53:58.164  - debug: samsung.0 (135181) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654638838068,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838068}
2022-06-07 23:53:58.165  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654638838069,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838069}
2022-06-07 23:53:58.168  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654638838069,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838069}
2022-06-07 23:53:58.190  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654638838070,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838070}
2022-06-07 23:53:58.191  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654638838070,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838070}
2022-06-07 23:53:58.192  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654638838071,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838071}
2022-06-07 23:53:58.193  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654638838071,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838071}
2022-06-07 23:53:58.195  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654638838072,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838072}
2022-06-07 23:53:58.196  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654638838072,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838072}
2022-06-07 23:53:58.197  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654638838092,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-07 23:53:58.198  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654638838092,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-07 23:53:58.198  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654638838092,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-07 23:53:58.199  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.200  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.200  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.201  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.201  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.202  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.202  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654638838093,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.237  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654638838094,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.238  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654638838094,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.240  - debug: samsung.0 (135181) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654638838094,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.241  - debug: samsung.0 (135181) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654638838094,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.243  - debug: samsung.0 (135181) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654638838094,"q":32,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.245  - debug: samsung.0 (135181) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654638838094,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.246  - debug: samsung.0 (135181) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654638838095,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838095}
2022-06-07 23:53:58.247  - debug: samsung.0 (135181) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654638838095,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838095}
2022-06-07 23:53:58.281  - debug: samsung.0 (135181) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654638838255,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837867}
2022-06-07 23:53:58.287  - debug: samsung.0 (135181) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654638838255,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837903}
2022-06-07 23:53:58.289  - debug: samsung.0 (135181) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654638838256,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837904}
2022-06-07 23:53:58.295  - debug: samsung.0 (135181) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654638838256,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-07 23:53:58.302  - debug: samsung.0 (135181) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654638838257,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-07 23:53:58.304  - debug: samsung.0 (135181) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654638838257,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-07 23:53:58.306  - debug: samsung.0 (135181) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654638838258,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837907}
2022-06-07 23:53:58.323  - debug: samsung.0 (135181) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654638838258,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.324  - debug: samsung.0 (135181) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654638838259,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.325  - debug: samsung.0 (135181) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654638838259,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.345  - debug: samsung.0 (135181) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654638838260,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-07 23:53:58.347  - debug: samsung.0 (135181) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654638838260,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.348  - debug: samsung.0 (135181) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654638838261,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.349  - debug: samsung.0 (135181) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654638838261,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.350  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654638838261,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-07 23:53:58.351  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654638838262,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-07 23:53:58.352  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654638838262,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-07 23:53:58.353  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654638838262,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-07 23:53:58.386  - debug: samsung.0 (135181) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654638838331,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-07 23:53:58.387  - debug: samsung.0 (135181) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654638838332,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-07 23:53:58.388  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654638838332,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-07 23:53:58.389  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654638838333,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838064}
2022-06-07 23:53:58.390  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654638838333,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838065}
2022-06-07 23:53:58.391  - debug: samsung.0 (135181) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654638838334,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838066}
2022-06-07 23:53:58.392  - debug: samsung.0 (135181) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654638838334,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838066}
2022-06-07 23:53:58.393  - debug: samsung.0 (135181) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654638838334,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838067}
2022-06-07 23:53:58.394  - debug: samsung.0 (135181) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654638838335,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838068}
2022-06-07 23:53:58.395  - debug: samsung.0 (135181) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654638838336,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838068}
2022-06-07 23:53:58.396  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654638838336,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838069}
2022-06-07 23:53:58.397  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654638838336,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838069}
2022-06-07 23:53:58.398  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654638838337,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838070}
2022-06-07 23:53:58.424  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654638838337,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838070}
2022-06-07 23:53:58.425  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654638838337,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838071}
2022-06-07 23:53:58.426  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654638838363,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838071}
2022-06-07 23:53:58.452  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654638838399,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838072}
2022-06-07 23:53:58.458  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654638838407,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838072}
2022-06-07 23:53:58.462  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654638838407,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-07 23:53:58.466  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-07 23:53:58.469  - debug: samsung.0 (135181) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-07 23:53:58.473  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.478  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.482  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.483  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.487  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654638838408,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.492  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654638838409,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.493  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654638838409,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-07 23:53:58.497  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654638838409,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.503  - debug: samsung.0 (135181) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654638838409,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.504  - debug: samsung.0 (135181) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654638838409,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.509  - debug: samsung.0 (135181) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654638838409,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:53:58.511  - debug: samsung.0 (135181) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654638838410,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}

23:57: TV per Datenpunkt power.off ausgeschaltet
23:58: power.on = ack true

2022-06-07 23:57:57.755  - debug: samsung.0 (135181) stateChange samsung.0.Power.off = {"val":false,"ack":false,"ts":1654639077751,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654638838094}
2022-06-07 23:57:57.775  - debug: samsung.0 (135181) Executing command: KEY_POWER
2022-06-07 23:57:57.788  - debug: samsung.0 (135181) Status after connect true
2022-06-07 23:58:18.160  - debug: samsung.0 (135181) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654639098151,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654639098151}

00:01: power.on gesetzt, es passiert erstmal nix. Nach fast einer Minuten Gedenkzeit geht der TV an.

2022-06-08 00:01:01.325  - debug: samsung.0 (135181) stateChange samsung.0.Power.on = {"val":true,"ack":false,"ts":1654639261323,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1654639098151}
2022-06-08 00:01:13.640  - debug: samsung.0 (135181) Executing command: KEY_POWER
2022-06-08 00:01:13.654  - debug: samsung.0 (135181) Status after connect true
2022-06-08 00:02:06.900  - debug: samsung.0 (135181) stateChange samsung.0.Power.on = {"val":true,"ack":true,"ts":1654639326893,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654639098151}

@Grothesk242
Copy link
Author

TV aus, Adapter Neustart, der TV geht wieder an:

2022-06-08 00:05:32.478  - info: host.chet stopInstance system.adapter.samsung.0 (force=false, process=true)
2022-06-08 00:05:32.507  - info: samsung.0 (135181) Got terminate signal TERMINATE_YOURSELF
2022-06-08 00:05:32.511  - info: samsung.0 (135181) terminating
2022-06-08 00:05:32.514  - debug: samsung.0 (135181) Plugin sentry destroyed
2022-06-08 00:05:32.515  - info: samsung.0 (135181) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2022-06-08 00:05:32.607  - info: host.chet stopInstance system.adapter.samsung.0 send kill signal
2022-06-08 00:05:33.108  - info: host.chet instance system.adapter.samsung.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-06-08 00:05:35.738  - info: host.chet instance system.adapter.samsung.0 started with pid 135411
2022-06-08 00:05:37.824  - debug: samsung.0 (135411) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-06-08 00:05:37.902  - debug: samsung.0 (135411) Objects client ready ... initialize now
2022-06-08 00:05:37.906  - debug: samsung.0 (135411) Objects create System PubSub Client
2022-06-08 00:05:37.908  - debug: samsung.0 (135411) Objects create User PubSub Client
2022-06-08 00:05:37.973  - debug: samsung.0 (135411) Objects client initialize lua scripts
2022-06-08 00:05:37.984  - debug: samsung.0 (135411) Objects connected to redis: 0.0.0.0:9001
2022-06-08 00:05:38.023  - debug: samsung.0 (135411) Redis States: Use Redis connection: 0.0.0.0:9000
2022-06-08 00:05:38.047  - debug: samsung.0 (135411) States create System PubSub Client
2022-06-08 00:05:38.049  - debug: samsung.0 (135411) States create User PubSub Client
2022-06-08 00:05:38.086  - debug: samsung.0 (135411) States connected to redis: 0.0.0.0:9000
2022-06-08 00:05:38.219  - debug: samsung.0 (135411) Plugin sentry Initialize Plugin (enabled=true)
2022-06-08 00:05:38.672  - info: samsung.0 (135411) starting. Version 0.5.11 (non-npm: iobroker-community-adapters/ioBroker.samsung#70366ba038c0f5092731db63f09d16db8eb56e65) in /opt/iobroker/node_modules/iobroker.samsung, node: v18.3.0, js-controller: 4.0.23
2022-06-08 00:05:46.304  - debug: samsung.0 (135411) Checking power on/off state ...
2022-06-08 00:05:46.330  - debug: samsung.0 (135411) Power on/off check result: true vs lastOn=undefined
2022-06-08 00:05:46.379  - debug: samsung.0 (135411) stateChange samsung.0.Power.Standby = {"val":false,"ack":true,"ts":1654639546352,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837867}
2022-06-08 00:05:46.380  - debug: samsung.0 (135411) stateChange samsung.0.Volume.Mute Toggle = {"val":false,"ack":true,"ts":1654639546353,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837903}
2022-06-08 00:05:46.381  - debug: samsung.0 (135411) stateChange samsung.0.Volume.Volume Up = {"val":false,"ack":true,"ts":1654639546353,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837904}
2022-06-08 00:05:46.382  - debug: samsung.0 (135411) stateChange samsung.0.Volume.Volume Down = {"val":false,"ack":true,"ts":1654639546353,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-08 00:05:46.383  - debug: samsung.0 (135411) stateChange samsung.0.Channel.0 = {"val":false,"ack":true,"ts":1654639546353,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-08 00:05:46.384  - debug: samsung.0 (135411) stateChange samsung.0.Channel.1 = {"val":false,"ack":true,"ts":1654639546353,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837905}
2022-06-08 00:05:46.385  - debug: samsung.0 (135411) stateChange samsung.0.Channel.2 = {"val":false,"ack":true,"ts":1654639546353,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837907}
2022-06-08 00:05:46.386  - debug: samsung.0 (135411) stateChange samsung.0.Channel.3 = {"val":false,"ack":true,"ts":1654639546354,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-08 00:05:46.394  - debug: samsung.0 (135411) stateChange samsung.0.Channel.4 = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-08 00:05:46.395  - debug: samsung.0 (135411) stateChange samsung.0.Channel.5 = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-08 00:05:46.404  - debug: samsung.0 (135411) stateChange samsung.0.Channel.6 = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837908}
2022-06-08 00:05:46.405  - debug: samsung.0 (135411) stateChange samsung.0.Channel.7 = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-08 00:05:46.406  - debug: samsung.0 (135411) stateChange samsung.0.Channel.8 = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-08 00:05:46.407  - debug: samsung.0 (135411) stateChange samsung.0.Channel.9 = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-08 00:05:46.414  - debug: samsung.0 (135411) stateChange samsung.0.Channel.Channel Up = {"val":false,"ack":true,"ts":1654639546355,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837909}
2022-06-08 00:05:46.415  - debug: samsung.0 (135411) stateChange samsung.0.Channel.Channel Down = {"val":false,"ack":true,"ts":1654639546356,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-08 00:05:46.419  - debug: samsung.0 (135411) stateChange samsung.0.Channel.Channel List = {"val":false,"ack":true,"ts":1654639546356,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-08 00:05:46.423  - debug: samsung.0 (135411) stateChange samsung.0.Channel.Previous Channel = {"val":false,"ack":true,"ts":1654639546357,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837910}
2022-06-08 00:05:46.424  - debug: samsung.0 (135411) stateChange samsung.0.Channel.Picture Size = {"val":false,"ack":true,"ts":1654639546357,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-08 00:05:46.425  - debug: samsung.0 (135411) stateChange samsung.0.Input.TV = {"val":false,"ack":true,"ts":1654639546357,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-08 00:05:46.459  - debug: samsung.0 (135411) stateChange samsung.0.Input.HDMI = {"val":false,"ack":true,"ts":1654639546357,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638837949}
2022-06-08 00:05:46.461  - debug: samsung.0 (135411) stateChange samsung.0.Input.HDMI2 = {"val":false,"ack":true,"ts":1654639546357,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838064}
2022-06-08 00:05:46.463  - debug: samsung.0 (135411) stateChange samsung.0.Input.HDMI3 = {"val":false,"ack":true,"ts":1654639546358,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838065}
2022-06-08 00:05:46.464  - debug: samsung.0 (135411) stateChange samsung.0.Input.HDMI4 = {"val":false,"ack":true,"ts":1654639546358,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838066}
2022-06-08 00:05:46.465  - debug: samsung.0 (135411) stateChange samsung.0.Input.Source = {"val":false,"ack":true,"ts":1654639546358,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838066}
2022-06-08 00:05:46.466  - debug: samsung.0 (135411) stateChange samsung.0.Input.Media Player = {"val":false,"ack":true,"ts":1654639546358,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838067}
2022-06-08 00:05:46.467  - debug: samsung.0 (135411) stateChange samsung.0.Input.Internet = {"val":false,"ack":true,"ts":1654639546358,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838068}
2022-06-08 00:05:46.468  - debug: samsung.0 (135411) stateChange samsung.0.Input.Contents = {"val":false,"ack":true,"ts":1654639546358,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838068}
2022-06-08 00:05:46.469  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Up = {"val":false,"ack":true,"ts":1654639546359,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838069}
2022-06-08 00:05:46.470  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Down = {"val":false,"ack":true,"ts":1654639546359,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838069}
2022-06-08 00:05:46.471  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Left = {"val":false,"ack":true,"ts":1654639546359,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838070}
2022-06-08 00:05:46.472  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Right = {"val":false,"ack":true,"ts":1654639546360,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838070}
2022-06-08 00:05:46.473  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Menu = {"val":false,"ack":true,"ts":1654639546360,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838071}
2022-06-08 00:05:46.531  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Enter = {"val":false,"ack":true,"ts":1654639546361,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838071}
2022-06-08 00:05:46.532  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Return = {"val":false,"ack":true,"ts":1654639546361,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838072}
2022-06-08 00:05:46.532  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Exit = {"val":false,"ack":true,"ts":1654639546361,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838072}
2022-06-08 00:05:46.533  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Tools = {"val":false,"ack":true,"ts":1654639546361,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-08 00:05:46.533  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Info = {"val":false,"ack":true,"ts":1654639546361,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-08 00:05:46.534  - debug: samsung.0 (135411) stateChange samsung.0.Navigation.Guide = {"val":false,"ack":true,"ts":1654639546362,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838092}
2022-06-08 00:05:46.535  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Play = {"val":false,"ack":true,"ts":1654639546363,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.535  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Pause = {"val":false,"ack":true,"ts":1654639546363,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.536  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Rewind = {"val":false,"ack":true,"ts":1654639546364,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.536  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Fast Forward = {"val":false,"ack":true,"ts":1654639546364,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.537  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Record = {"val":false,"ack":true,"ts":1654639546364,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.538  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Stop = {"val":false,"ack":true,"ts":1654639546364,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.538  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Subtitles = {"val":false,"ack":true,"ts":1654639546365,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838093}
2022-06-08 00:05:46.539  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.Dual = {"val":false,"ack":true,"ts":1654639546365,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-08 00:05:46.539  - debug: samsung.0 (135411) stateChange samsung.0.MediaPlayer.AD = {"val":false,"ack":true,"ts":1654639546365,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-08 00:05:46.540  - debug: samsung.0 (135411) stateChange samsung.0.Power.checkOn = {"val":false,"ack":true,"ts":1654639546365,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-08 00:05:46.541  - debug: samsung.0 (135411) stateChange samsung.0.Power.off = {"val":false,"ack":true,"ts":1654639546365,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-08 00:05:46.556  - debug: samsung.0 (135411) stateChange samsung.0.Power.on = {"val":false,"ack":true,"ts":1654639546486,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654639546486}
2022-06-08 00:05:46.557  - debug: samsung.0 (135411) stateChange samsung.0.command = {"val":"","ack":true,"ts":1654639546487,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838094}
2022-06-08 00:05:46.558  - debug: samsung.0 (135411) stateChange samsung.0.Power.checkOnOff = {"val":"","ack":true,"ts":1654639546487,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654639546487}
2022-06-08 00:05:46.559  - debug: samsung.0 (135411) stateChange samsung.0.Power.checkOnOff = {"val":"ON","ack":true,"ts":1654639546487,"q":0,"from":"system.adapter.samsung.0","user":"system.user.admin","lc":1654638838095}

@winnyschuster
Copy link

@Apollon77 ich probiere mich mal dran

@Apollon77
Copy link
Member

@winnyschuster Danke!

Kurz meine gesammelten Infos bisher: Das TV geht beim Adapter start an weil die Library ein WOL sendet sobald eine MAC Adresse gesetzt ist (beste Annahme), weil als ich die MAC weggelassen habe wenn Token gesetzt ist, ging der TV nicht an ... aber leider auch danach nicht auch wenn ich danach die Mac gesetzt hab :-(
Am Ende schrauben wir gerade auch nur am Fall "SamsungTV" rum ... Die Magie ist den Rest ja immer nch unangetastet zu lassen weil der rest tut wohl anders weil auch andere Libs ...

Hoffe Du kommst weiter. Danke! Und Danke auch @Grothesk242 für Deine Geduld

@winnyschuster
Copy link

@Apollon77 Danke dir für die Zusammenfassung! Ich melde mich wenn und ob ich etwas gefunden habe

@Apollon77
Copy link
Member

@winnyschuster Hast DU schon eine chance gehabt reinzuschauen?

@winnyschuster
Copy link

@Apollon77 leider nur sehr kurz ohne Ergebnis, kämpfe schon das ganze Jahr mit gesundheitlichen Problemen, die sich dann kurz nach dem Post erheblich verschlechtert haben. Habe jetzt sozusagen einen Zweitwohnsitz im Krankenhaus -:( Habe fast alle Aktivitäten hier und im Forum und Discord einstellen müssen. Dauert wohl auch noch bis Ende des Jahres, bin aber wieder da sobald ich den Kopf frei bekomme. Sorry fürs nicht Bescheid geben...

@Apollon77
Copy link
Member

@winnyschuster Alles gut. Gute Besserung!!

@stale
Copy link

stale bot commented Dec 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix This will not be worked on label Dec 16, 2022
@stale
Copy link

stale bot commented Dec 23, 2022

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions.
Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.

@stale stale bot closed this as completed Dec 23, 2022
@Apollon77 Apollon77 removed the wontfix This will not be worked on label Dec 24, 2022
@Apollon77 Apollon77 reopened this Dec 24, 2022
@southz
Copy link

southz commented Feb 6, 2023

Kurz meine gesammelten Infos bisher: Das TV geht beim Adapter start an weil die Library ein WOL sendet sobald eine MAC Adresse gesetzt ist (beste Annahme)

Vielleicht kann ich meine 2 cents dazugeben und ein bisschen helfen. Im Moment versuche ich den Code des Adapters an sich zu durchdringen. EIn Samsung Gerät zum Testen habe ich hier zum Glück auch.

Die Library für SamsungTV ist naja etwas bescheiden und soweit ich das sehe, ist die MAC tatsächlich nur dazu da das WOL Packet zu setzen. Das wird allerdings auch der einzige Weg sein das Gerät zu starten, da die API zumindest hier am Gerät nicht mehr verfügbar ist, sobald ich das Gerät ausschalte.
Ich habe bis jetzt nur kurz mit einer anderen Library experimentiert, die scheint generell aber auch zu funktionieren: https://toxblh.github.io/samsung-tv-control/. Eine Verbindung kann ich hier herstellen, erweiterte Funktionen wie getAppsFromTv, funktionieren bei mir aber nicht. Ggf. ist das auch nur einigen anderen Versionen (vermute Tizen ab Version 4) vorbehalten

@Apollon77
Copy link
Member

Jeder Input bzw Ideen sind willkommen. Ich habe zuletzte aufgegeben weil ich ihne entsprechendes TV gerät nur im Dunklen rumgestochert habe :-(

@stale stale bot added the wontfix This will not be worked on label May 9, 2023
@southz
Copy link

southz commented May 9, 2023

Ich bin dran. Mein PC steht allerdings immer noch im Umzugskarton. Dauert daher länger, aber ich hatte eine gute Implementierung gefunden für ein anderes Smart Home System an der ich mich orientieren will

@stale stale bot removed the wontfix This will not be worked on label May 9, 2023
@stale stale bot added the wontfix This will not be worked on label Aug 12, 2023
@iobroker-community-adapters iobroker-community-adapters deleted a comment from stale bot Aug 12, 2023
@iobroker-community-adapters iobroker-community-adapters deleted a comment from stale bot Aug 12, 2023
@mcm1957 mcm1957 removed the wontfix This will not be worked on label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants