grzegorz914 / homebridge-lgwebos-tv

Homebridge plugin for LG WebOS TV, publish as independent external platform accessory.
MIT License
135 stars 15 forks source link

Screen Off issue #177

Closed turbo159 closed 11 months ago

turbo159 commented 1 year ago

Hi, great plugin. However, screen off/on doesn't seem to work for me. Screen On works if I manually turn off the screen. Screen off does not. The plug-in is able to see the current state when I control the on/off manually. Other controls do work such as TV on/off, or input switching.

-------- LGTV -------- Manufacturer: LG Electronics Model: OLED65C8AUA System: webOSTV 4.0 Firmware: 05.50.15

turbo159 commented 1 year ago

Beta5: ScreenOff: [11/6/2023, 11:06:10 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/6/2023, 11:06:10 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off", "processing": "Screen On" } [11/6/2023, 11:06:10 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/6/2023, 11:06:10 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/6/2023, 11:06:12 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:06:12 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:06:17 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:06:17 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:06:18 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/6/2023, 11:06:18 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: {} [11/6/2023, 11:06:22 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:06:22 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:06:27 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heart

Change Input: Didn't work [11/6/2023, 11:10:50 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: Live TV, Reference: com.webos.app.livetv [11/6/2023, 11:10:50 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 11:10:50 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, set Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 11:10:50 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "returnValue": true, "id": "com.webos.app.hdmi2", "sessionId": "Y29tLndlYm9zLmFwcC5oZG1pMg==" } [11/6/2023, 11:10:52 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:10:52 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat

Power Off: Worked, Power On: Didn't work [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "subscribed": true, "appId": "", "returnValue": true, "windowId": "", "processId": "" } [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true } [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Unknown power state: undefined [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active", "processing": "Request Power Off" } [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active", "processing": "Request Active Standby" } [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active", "processing": "Prepare Active Standby" } [11/6/2023, 11:12:06 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "100", "backlight": "80", "brightness": "50", "color": "60" }, "returnValue": true } [11/6/2023, 11:12:07 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:12:07 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:12:07 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active Standby" } [11/6/2023, 11:12:12 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:12:12 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:12:14 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, set Power: ON [11/6/2023, 11:12:17 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:12:17 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:12:22 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 11:12:22 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 11:12:27 AM] [LgWebOsTv] Device: 192.16

turbo159 commented 1 year ago

I meant to add I don't have volume, mute controls since I don't use the TV speakers.

grzegorz914 commented 1 year ago

ok, try 7 screen on off

turbo159 commented 1 year ago

Beta7:

ScreenOn: OK ScreenOff: Failed InputSwitch: OK PowerOff: OK PowerOn: Failed

Logs:

[11/6/2023, 12:16:59 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "subscribed": true, "returnValue": true, "state": "Screen Off" } [11/6/2023, 12:16:59 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "appId": "com.webos.app.hdmi2", "subscribed": true, "returnValue": true, "windowId": "", "processId": "" } [11/6/2023, 12:16:59 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Audio: { "returnValue": true, "volumeMax": 100, "ringtonewithvibration": true, "scenario": "mastervolume_ext_speaker_optical", "hac": false, "subscribed": true, "volume": -1, "action": "requested", "supportvolume": false, "ringer switch": true, "slider": false, "active": false, "mute": false } [11/6/2023, 12:16:59 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "subscribed": true, "category": "picture", "settings": { "contrast": "100", "backlight": 32, "brightness": 50, "color": "50" }, "returnValue": true } [11/6/2023, 12:16:59 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Channel error: { "returnValue": false, "errorCode": -1000, "errorText": "internal error" } [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Accessory Name: LGTV. [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Discovery Mode: Always discoverable [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Closed Captions: 0 [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Media: STOP [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Target Media: STOP [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Picture Mode: 3 [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Mute: OFF [11/6/2023, 12:17:00 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Volume: 0 [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Accessory Name: LGTV. [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Discovery Mode: Always discoverable [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Closed Captions: 0 [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Media: STOP [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Target Media: STOP [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Picture Mode: 3 [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Mute: OFF [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Volume: 0 [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Accessory Name: LGTV. [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Discovery Mode: Always discoverable [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Closed Captions: 0 [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Media: STOP [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Target Media: STOP [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Picture Mode: 3 [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Mute: OFF [11/6/2023, 12:17:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Volume: 0 [11/6/2023, 12:17:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:11 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:11 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:16 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:16 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Accessory Name: LGTV. [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Discovery Mode: Always discoverable [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Closed Captions: 0 [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Media: STOP [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Target Media: STOP [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Picture Mode: 3 [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Mute: OFF [11/6/2023, 12:17:17 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Volume: 0 [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Accessory Name: LGTV. [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Discovery Mode: Always discoverable [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Closed Captions: 0 [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Media: STOP [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Target Media: STOP [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Picture Mode: 3 [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Mute: OFF [11/6/2023, 12:17:18 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Volume: 0 [11/6/2023, 12:17:21 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:21 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Accessory Name: LGTV. [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Discovery Mode: Always discoverable [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Closed Captions: 0 [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Media: STOP [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Target Media: STOP [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Picture Mode: 3 [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Mute: OFF [11/6/2023, 12:17:23 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Volume: 0 [11/6/2023, 12:17:26 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:26 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:31 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:31 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:36 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:36 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:41 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:41 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:17:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:17:46 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:46 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:50 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/6/2023, 12:17:50 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off", "processing": "Screen On" } [11/6/2023, 12:17:50 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/6/2023, 12:17:50 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/6/2023, 12:17:51 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:51 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:17:55 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/6/2023, 12:17:55 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/6/2023, 12:17:56 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:17:56 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:18:05 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:18:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:10 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/6/2023, 12:18:10 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:18:11 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:11 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:16 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:16 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:20 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/6/2023, 12:18:20 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/6/2023, 12:18:21 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:21 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:26 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:26 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:31 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:31 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:32 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, set Input, Name: HDMI 1, Reference: com.webos.app.hdmi1 [11/6/2023, 12:18:32 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "returnValue": true, "id": "com.webos.app.hdmi1", "sessionId": "Y29tLndlYm9zLmFwcC5oZG1pMQ==" } [11/6/2023, 12:18:32 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "subscribed": true, "appId": "com.webos.app.hdmi1", "returnValue": true, "windowId": "", "processId": "" } [11/6/2023, 12:18:32 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "100", "backlight": "80", "brightness": "50", "color": "60" }, "returnValue": true } [11/6/2023, 12:18:32 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "85", "backlight": "80", "brightness": 50, "color": "50" }, "returnValue": true } [11/6/2023, 12:18:36 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:36 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:38 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, set Input, Name: HDMI 2, Reference: com.webos.app.hdmi2 [11/6/2023, 12:18:38 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "returnValue": true, "id": "com.webos.app.hdmi2", "sessionId": "Y29tLndlYm9zLmFwcC5oZG1pMg==" } [11/6/2023, 12:18:38 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "subscribed": true, "appId": "com.webos.app.hdmi2", "returnValue": true, "windowId": "", "processId": "" } [11/6/2023, 12:18:38 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "100", "backlight": "80", "brightness": "50", "color": "60" }, "returnValue": true } [11/6/2023, 12:18:38 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "100", "backlight": 32, "brightness": 50, "color": "50" }, "returnValue": true } [11/6/2023, 12:18:41 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:41 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, set Power: OFF [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active", "processing": "Request Power Off" } [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active", "processing": "Request Active Standby" } [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active", "processing": "Prepare Active Standby" } [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "subscribed": true, "appId": "", "returnValue": true, "windowId": "", "processId": "" } [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true } [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Unknown power state: undefined [11/6/2023, 12:18:43 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "100", "backlight": "80", "brightness": "50", "color": "60" }, "returnValue": true } [11/6/2023, 12:18:44 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active Standby" } [11/6/2023, 12:18:46 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:46 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:50 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, set Power: ON [11/6/2023, 12:18:51 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:51 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:18:56 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:18:56 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active Standby", "processing": "Prepare Power On" } [11/6/2023, 12:19:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active Standby", "processing": "LastInput Ready", "powerOnReason": "remoteKey" } [11/6/2023, 12:19:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active Standby", "processing": "Screen On" } [11/6/2023, 12:19:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: App: { "subscribed": true, "appId": "com.webos.app.hdmi2", "returnValue": true, "windowId": "", "processId": "" } [11/6/2023, 12:19:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Picture: { "category": "picture", "settings": { "contrast": "100", "backlight": 32, "brightness": 50, "color": "50" }, "returnValue": true } [11/6/2023, 12:19:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/6/2023, 12:19:11 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:11 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:16 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:16 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:21 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:21 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:26 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:26 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:28 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/6/2023, 12:19:28 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/6/2023, 12:19:31 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:31 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:36 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:36 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:41 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:41 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/6/2023, 12:19:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/6/2023, 12:19:45 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/6/2023, 12:19:45 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/6/2023, 12:19:46 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:46 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:51 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:51 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:19:56 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:19:56 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:20:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off" } [11/6/2023, 12:20:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:20:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023, 12:20:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/6/2023, 12:20:06 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/6/2023,

grzegorz914 commented 1 year ago

@turbo159 regarding Power On, are you using docker image?

turbo159 commented 1 year ago

@turbo159 regarding Power On, are you using docker image?

Yes, I am using: homebridge/homebridge:latest

grzegorz914 commented 1 year ago

In this case the power ON will not work, some solution is here: https://www.devwithimagination.com/2020/06/15/homebridge-docker-and-wake-on-lan/

grzegorz914 commented 1 year ago

https://www.devwithimagination.com/2020/06/15/homebridge-docker-and-wake-on-lan/

turbo159 commented 1 year ago

Ok, I will take a look. For me, the feature I really want to control from HomeKit is the ScreenOn/Off. Is that affected by running in docker too?

grzegorz914 commented 1 year ago

no, screen on off is other thing

turbo159 commented 1 year ago

Beta v2.14.1-beta.27

ScreenOn: OK ScreenOff: Failed

Logs: [11/7/2023, 9:11:51 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/7/2023, 9:11:51 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off", "processing": "Screen On" } [11/7/2023, 9:11:51 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 9:11:51 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 9:11:55 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 9:11:55 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 9:11:59 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/7/2023, 9:11:59 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/7/2023, 9:12:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 9:12:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 9:12:05 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, d

turbo159 commented 1 year ago

Beta: v2.14.1-beta29

ScreenOn: OK

Logs: [11/7/2023, 10:13:57 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/7/2023, 10:13:57 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: Live TV, Reference: com.webos.app.livetv [11/7/2023, 10:14:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/7/2023, 10:14:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 10:14:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off", "processing": "Screen On" } [11/7/2023, 10:14:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 10:14:00 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 10:14:05 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:05 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 10:14:10 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:10 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 10:14:12 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Input, Name: Live TV, Reference: com.webos.app.livetv [11/7/2023, 10:14:12 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Power: ON [11/7/2023, 10:14:15 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:15 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 10:14:20 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:20 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 10:14:21 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/7/2023, 10:14:21 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Received error message: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/7/2023, 10:14:25 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:25 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 10:14:30 AM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 10:14:30 AM

grzegorz914 commented 1 year ago

try b.31

turbo159 commented 1 year ago

Beta 31:

ScreenOn: Failed ScreenOff: Failed

[11/7/2023, 3:10:35 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/7/2023, 3:10:35 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/7/2023, 3:10:37 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 3:10:37 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 3:10:40 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/7/2023, 3:10:40 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/7/2023, 3:10:40 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/7/2023, 3:10:40 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/7/2023, 3:10:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off", "processing": "Screen On" } [11/7/2023, 3:10:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 3:10:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 3:10:42 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 3:10:47 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 3:10:47 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 3:10:48 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/7/2023, 3:10:48 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: { "returnValue": false, "errorText": "Invalid standbyMode !!", "errorCode": "POWER_ERROR_0003" } [11/7/2023, 3:10:52 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 3:10:52 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 3:10:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 3:10:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 3:11:01 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off" } [11/7/2023, 3:11:02 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 3:11:02 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 3:11:07 P

turbo159 commented 1 year ago

Beta 32

ScreenOn: OK ScreenOff: Failed

[11/7/2023, 4:26:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen ON. [11/7/2023, 4:26:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Screen Off", "processing": "Screen On" } [11/7/2023, 4:26:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 4:26:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power: { "returnValue": true, "state": "Active" } [11/7/2023, 4:26:57 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 4:26:58 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 4:27:02 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 4:27:03 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 4:27:04 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, Turn Screen OFF. [11/7/2023, 4:27:04 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Power error: {} [11/7/2023, 4:27:07 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 4:27:08 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked received heartbeat. [11/7/2023, 4:27:13 PM] [LgWebOsTv] Device: 192.168.20.128 LGTV, debug: Socked send heartbeat. [11/7/2023, 4:27:13 PM] [LgWebOsTv] Device: 19

badgertastic commented 11 months ago

can we have screen on/off reinstated as per 12.13.4 please

grzegorz914 commented 11 months ago

try 2.14.5-beta.1 and let me know

badgertastic commented 11 months ago

try 2.14.5-beta.1 and let me know

Resolved, thanks :)

turbo159 commented 11 months ago

Just an fyi. Even with these new versions the Screen On/Off still doesn't work for me. However, I tried Merdok fork, and it does work. I don't know what the difference is and I'm not criticizing you. Just letting you know so that maybe you can incorporate what Merdok is doing too.

Thanks.

grzegorz914 commented 11 months ago

@turbo159 which version was working for you?

turbo159 commented 11 months ago

@turbo159 which version was working for you? image

grzegorz914 commented 11 months ago

Try latest release

turbo159 commented 11 months ago

I tried, but for some reason I couldn't add it to home kit.  It wouldn't show up even after entering the code. On Dec 28, 2023 at 12:51 PM -0600, Grzegorz @.***>, wrote:

Try latest release — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>