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

Failed connection due to encyrption credentials #104

Open
OXVIII opened this issue Jul 1, 2022 · 4 comments
Open

Failed connection due to encyrption credentials #104

OXVIII opened this issue Jul 1, 2022 · 4 comments

Comments

@OXVIII
Copy link

OXVIII commented Jul 1, 2022

Hi,

i get an Error with your Plugin v4.0.39

"10.0.0.22 ('TX-65JZF1507')' ignored, as it is from a Panasonic TV that requires encryption and no working credentials were supplied. "

Connection from Hombridge to the TV can be established for configuration over Hombridge UI, but it seems that the connection to the TV it is not possible after that point / restarting HB.

my JSON is:

{
    "platform": "PanasonicVieraTV",
    "tvs": [
        {
            "appId": "AerAdLgn634luA==",
            "customVolumeSlider": false,
            "encKey": "IFRkQXbUw4aEqzJRm+2uXQ==",
            "friendlyName": "Panasonic TV",
            "ipAddress": "10.0.0.22"
        }
    ]
}

Maybe i am missing something in Setup the conection but TV Remote APP working fine, thank you for your Work.

@AntonioMeireles
Copy link
Owner

Hi,

this is intreresting.

Some quick questions in order to try to frame the root issue properly:

  • has this worked previously ? i.e. in a previous version of the plugin ? (if yes, rollbacking to that version solves your issue ?). Very unlikely, but i have to ask.
  • credentials were generated via UI ? did you try to generate new ones ?
  • can you provide the full homebridge logs that show this happening ?

Thanks in advance for your patience, and a great weekend too!

António

@OXVIII
Copy link
Author

OXVIII commented Jul 2, 2022

Hi,

i started with 4.0.39. Switching TV on / off worked after the first implementation of the TV as a device over homekit. After the first time switching the TV off there were no successful commands..... I tested the remote again just now (used it days before home bridge) and now i have the same issue with the remote app. So it seems that the TV accept the Pin / credentials only for one session.

However this is strange and makes no sense for me, i switched from lan to WLAN for test purposes same results, below ist a part of the log with initalisation working communikation and the erros afterwards.

Is there a way to manually add crentials for the TV?

Setup Payload:
X-HM://0024G02VIRT9X
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 589-04-206 │     
    └────────────┘     
                       
[01/07/2022, 19:44:00] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6E1E) is running on port 51035.
[01/07/2022, 19:44:01] [PanasonicVieraTV] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.22' (requires crypto for communication).

[01/07/2022, 19:44:01] [DenonTv] Device: 10.0.0.21 Denon, Connected.
[01/07/2022, 19:44:01] [DenonTv] -------- Denon --------
[01/07/2022, 19:44:01] [DenonTv] Manufacturer: Denon
[01/07/2022, 19:44:01] [DenonTv] Model: AVC-X3700H
[01/07/2022, 19:44:01] [DenonTv] Zones: 2
[01/07/2022, 19:44:01] [DenonTv] Control: Main Zone
[01/07/2022, 19:44:01] [DenonTv] Firmware: 00
[01/07/2022, 19:44:01] [DenonTv] Api version: 0301
[01/07/2022, 19:44:01] [DenonTv] Serialnr: 000678790C3C
[01/07/2022, 19:44:01] [DenonTv] ----------------------------------
[01/07/2022, 19:44:01] [PanasonicVieraTV] '10.0.0.22 ('TX-65JZF1507')' ignored, as it is from a Panasonic TV that
        requires encryption and no working credentials were supplied.
[01/07/2022, 19:44:03] Denon 4294 is running on port 42659.
[01/07/2022, 19:44:03] Please add [Denon 4294] manually in Home app. Setup Code: 589-04-206
[01/07/2022, 19:44:04] [PhilipsHueSyncBoxPlatform] Create Sync Box.
[01/07/2022, 19:44:04] [PhilipsHueSyncBoxPlatform] Adding new accessory with kind SwitchAccessory.
[01/07/2022, 19:44:04] [PhilipsHueSyncBoxPlatform] Initialization completed.
[01/07/2022, 19:44:04] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:44:04] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:44:04] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[01/07/2022, 19:44:04] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[01/07/2022, 19:44:04] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -44 dB
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -44 dB
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[01/07/2022, 19:45:27] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -44 dB
[01/07/2022, 19:45:30] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:45:30] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:45:30] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[01/07/2022, 19:45:30] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[01/07/2022, 19:45:30] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -44 dB
[01/07/2022, 19:45:36] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:45:36] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:46:43] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:46:43] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:46:58] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 19:46:58] [DenonTv] Device: 10.0.0.21 Denon, Send command: /goform/formiPhoneAppDirect.xml?ZMON
[01/07/2022, 19:46:58] [DenonTv] Device: 10.0.0.21 Denon, set Power state successful, state: ZMON
[01/07/2022, 19:47:20] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:47:20] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[01/07/2022, 19:48:08] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[01/07/2022, 19:48:08] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:48:48] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[01/07/2022, 19:48:48] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:50:37] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[01/07/2022, 19:50:37] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 19:56:12] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[01/07/2022, 19:56:12] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 20:16:14] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 20:16:14] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 20:20:11] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 20:20:11] [DenonTv] Device: 10.0.0.21 Denon, Send command: /goform/formiPhoneAppDirect.xml?ZMON
[01/07/2022, 20:20:11] [DenonTv] Device: 10.0.0.21 Denon, set Power state successful, state: ZMON
[01/07/2022, 22:43:13] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 22:43:13] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[01/07/2022, 23:15:16] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 23:15:16] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 23:16:11] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 23:16:11] [DenonTv] Device: 10.0.0.21 Denon, set Power state successful, state: ZMOFF
[01/07/2022, 23:18:02] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 23:18:02] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[01/07/2022, 23:25:35] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[01/07/2022, 23:25:35] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 01:10:01] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[02/07/2022, 04:04:54] [Homebridge UI] Running scheduled instance backup...
[02/07/2022, 04:04:54] [Homebridge UI] Creating temporary backup archive at /tmp/homebridge-backup-LvL1vd/homebridge-backup-0EAA81D46E1E.tar.gz
[02/07/2022, 07:55:59] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 07:55:59] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 07:55:59] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[02/07/2022, 07:55:59] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[02/07/2022, 07:55:59] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -55 dB
[02/07/2022, 12:49:17] [Homebridge UI] [homebridge-vieramatic] Terminating child process...
[02/07/2022, 12:49:17] [Homebridge UI] [homebridge-vieramatic] Child process ended
[02/07/2022, 13:47:40] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 13:47:40] [DenonTv] Device: 10.0.0.21 Denon, set Power state successful, state: ZMOFF
[02/07/2022, 13:47:42] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 13:47:42] [DenonTv] Device: 10.0.0.21 Denon, Send command: /goform/formiPhoneAppDirect.xml?ZMON
[02/07/2022, 13:47:42] [DenonTv] Device: 10.0.0.21 Denon, set Power state successful, state: ZMON
[02/07/2022, 13:48:00] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: ON
[02/07/2022, 13:48:00] [DenonTv] Device: 10.0.0.21 Denon, Send command: /goform/formiPhoneAppDirect.xml?ZMOFF
[02/07/2022, 13:48:00] [DenonTv] Device: 10.0.0.21 Denon, set Power state successful, state: ZMOFF
[02/07/2022, 13:48:16] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 13:48:16] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 15:17:03] [Homebridge UI] [homebridge-vieramatic] Incoming Request: /ping
[02/07/2022, 15:17:03] [Homebridge UI] [homebridge-vieramatic] ---> (ping) 10.0.0.23 false
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] Incoming Request: /ping
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] ---> (ping) 10.0.0.23 true
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] Incoming Request: /specs
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] ---> (specs) 10.0.0.23
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] Incoming Request: /pin
[02/07/2022, 15:18:05] [Homebridge UI] [homebridge-vieramatic] ---> (pin request) 10.0.0.23
[02/07/2022, 15:18:06] [Homebridge UI] [homebridge-vieramatic] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] Incoming Request: /pair
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] ---> (pairing request) 10.0.0.23 3867 PksS6s2nUMaFlEVre9KgpA==
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] ---> (pair) {
  value: [Object: null prototype] {
    appId: 'AbUGvrgn634luA==',
    key: '1V42dA/UM/xbCX1HHjUYGQ=='
  }
}
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] Incoming Request: /specs
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] ---> (specs) 10.0.0.23
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).
[02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).
[02/07/2022, 15:19:41] [Homebridge UI] Changes to config.json saved.
[02/07/2022, 15:19:47] [Homebridge UI] Changes to config.json saved.
[02/07/2022, 15:19:47] [Homebridge UI] [homebridge-vieramatic] Terminating child process...
[02/07/2022, 15:19:47] [Homebridge UI] [homebridge-vieramatic] Child process ended
[02/07/2022, 15:19:50] [Homebridge UI] Homebridge restart request received
[02/07/2022, 15:19:50] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[02/07/2022, 15:19:50] [Homebridge UI] Sending SIGTERM to Homebridge
[02/07/2022, 15:19:50] Got SIGTERM, shutting down Homebridge...
[02/07/2022, 15:19:55] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[02/07/2022, 15:20:00] [HB Supervisor] Restarting Homebridge...
[02/07/2022, 15:20:00] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[02/07/2022, 15:20:00] [HB Supervisor] Started Homebridge v1.5.0 with PID: 25238
[02/07/2022, 15:20:04] Loaded config.json with 0 accessories and 5 platforms.
[02/07/2022, 15:20:04] Loaded 1 cached accessories from cachedAccessories.
[02/07/2022, 15:20:04] ---
[02/07/2022, 15:20:05] Loaded plugin: [email protected]
[02/07/2022, 15:20:05] Registering platform 'homebridge-config-ui-x.config'
[02/07/2022, 15:20:05] ---
[02/07/2022, 15:20:05] Loaded plugin: [email protected]
[02/07/2022, 15:20:06] Registering platform 'homebridge-denon-tv.DenonTv'
[02/07/2022, 15:20:06] ---
[02/07/2022, 15:20:07] Loaded plugin: [email protected]
[02/07/2022, 15:20:07] Registering platform 'homebridge-philips-hue-sync-box.PhilipsHueSyncBoxPlatform'
[02/07/2022, 15:20:07] ---
[02/07/2022, 15:20:08] Loaded plugin: [email protected]
[02/07/2022, 15:20:08] Registering platform 'homebridge-vieramatic.PanasonicVieraTV'
[02/07/2022, 15:20:08] ---
[02/07/2022, 15:20:08] Loading 5 platforms...
[02/07/2022, 15:20:08] [DenonTv] Initializing DenonTv platform...
[02/07/2022, 15:20:08] [PanasonicVieraTV] Initializing PanasonicVieraTV platform...
[02/07/2022, 15:20:08] [PhilipsHueSyncBoxPlatform] Initializing PhilipsHueSyncBoxPlatform platform...
[02/07/2022, 15:20:08] [PhilipsHueSyncBoxPlatform] Homebridge API available.
[02/07/2022, 15:20:08] [DenonTv] Device Name, Host or Port Missing
[02/07/2022, 15:20:08] [PanasonicVieraTV] handling '10.0.0.23' from config.json
[02/07/2022, 15:20:08] [PhilipsHueSyncBoxPlatform] Cached accessories loaded.
Setup Payload:
X-HM://0024G02VIRT9X
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 589-04-206 │     
    └────────────┘     
                       
[02/07/2022, 15:20:09] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6E1E) is running on port 51035.
[02/07/2022, 15:20:10] [PanasonicVieraTV] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).

[02/07/2022, 15:20:10] [DenonTv] Device: 10.0.0.21 Denon, Connected.
[02/07/2022, 15:20:10] [DenonTv] -------- Denon --------
[02/07/2022, 15:20:10] [DenonTv] Manufacturer: Denon
[02/07/2022, 15:20:10] [DenonTv] Model: AVC-X3700H
[02/07/2022, 15:20:10] [DenonTv] Zones: 2
[02/07/2022, 15:20:10] [DenonTv] Control: Main Zone
[02/07/2022, 15:20:10] [DenonTv] Firmware: 00
[02/07/2022, 15:20:10] [DenonTv] Api version: 0301
[02/07/2022, 15:20:10] [DenonTv] Serialnr: 000678790C3C
[02/07/2022, 15:20:10] [DenonTv] ----------------------------------
[02/07/2022, 15:20:10] [PanasonicVieraTV] appending HDMI input '2':'Media' as it was appended to config.json
[02/07/2022, 15:20:10] [PanasonicVieraTV] successfully loaded Panasonic TV
[02/07/2022, 15:20:10] Panasonic TV 4AAC is running on port 35531.
[02/07/2022, 15:20:10] Please add [Panasonic TV 4AAC] manually in Home app. Setup Code: 589-04-206
[02/07/2022, 15:20:12] Denon 4294 is running on port 33017.
[02/07/2022, 15:20:12] Please add [Denon 4294] manually in Home app. Setup Code: 589-04-206
[02/07/2022, 15:20:12] [PhilipsHueSyncBoxPlatform] Create Sync Box.
[02/07/2022, 15:20:13] [PhilipsHueSyncBoxPlatform] Initialization completed.
[02/07/2022, 15:20:13] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 15:20:13] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 15:20:13] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[02/07/2022, 15:20:13] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[02/07/2022, 15:20:14] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -56 dB
[02/07/2022, 15:20:55] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 15:20:55] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 15:21:16] [PanasonicVieraTV] (setPowerStatus)/-> ON - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:01] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:10] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:16] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:24] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:28] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:36] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:46] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:49] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:22:54] [PanasonicVieraTV] (setPowerStatus)/-> into STANDBY - unable to power cycle TV - unpowered ?
[02/07/2022, 15:23:14] [PanasonicVieraTV] (setPowerStatus)/-> ON - unable to power cycle TV - unpowered ?
[02/07/2022, 15:23:23] [PanasonicVieraTV] (setPowerStatus)/-> ON - unable to power cycle TV - unpowered ?
[02/07/2022, 15:26:20] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 15:26:20] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 15:26:27] [PanasonicVieraTV] (setPowerStatus)/-> ON - unable to power cycle TV - unpowered ?
[02/07/2022, 16:05:33] [Homebridge UI] Changes to config.json saved.
[02/07/2022, 16:05:35] [Homebridge UI] Homebridge restart request received
[02/07/2022, 16:05:35] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[02/07/2022, 16:05:35] [Homebridge UI] Sending SIGTERM to Homebridge
[02/07/2022, 16:05:35] Got SIGTERM, shutting down Homebridge...
[02/07/2022, 16:05:40] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[02/07/2022, 16:05:45] [HB Supervisor] Restarting Homebridge...
[02/07/2022, 16:05:45] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[02/07/2022, 16:05:46] [HB Supervisor] Started Homebridge v1.5.0 with PID: 25855
[02/07/2022, 16:05:50] Loaded config.json with 0 accessories and 4 platforms.
[02/07/2022, 16:05:50] Loaded 1 cached accessories from cachedAccessories.
[02/07/2022, 16:05:50] ---
[02/07/2022, 16:05:50] Loaded plugin: [email protected]
[02/07/2022, 16:05:50] Registering platform 'homebridge-config-ui-x.config'
[02/07/2022, 16:05:50] ---
[02/07/2022, 16:05:51] Loaded plugin: [email protected]
[02/07/2022, 16:05:51] Registering platform 'homebridge-denon-tv.DenonTv'
[02/07/2022, 16:05:51] ---
[02/07/2022, 16:05:52] Loaded plugin: [email protected]
[02/07/2022, 16:05:52] Registering platform 'homebridge-philips-hue-sync-box.PhilipsHueSyncBoxPlatform'
[02/07/2022, 16:05:52] ---
[02/07/2022, 16:05:54] Loaded plugin: [email protected]
[02/07/2022, 16:05:54] Registering platform 'homebridge-vieramatic.PanasonicVieraTV'
[02/07/2022, 16:05:54] ---
[02/07/2022, 16:05:54] Loading 4 platforms...
[02/07/2022, 16:05:54] [DenonTv] Initializing DenonTv platform...
[02/07/2022, 16:05:54] [PanasonicVieraTV] Initializing PanasonicVieraTV platform...
[02/07/2022, 16:05:54] [PhilipsHueSyncBoxPlatform] Initializing PhilipsHueSyncBoxPlatform platform...
[02/07/2022, 16:05:54] [PhilipsHueSyncBoxPlatform] Homebridge API available.
[02/07/2022, 16:05:54] [DenonTv] Device Name, Host or Port Missing
[02/07/2022, 16:05:54] [PanasonicVieraTV] handling '10.0.0.23' from config.json
[02/07/2022, 16:05:54] [PhilipsHueSyncBoxPlatform] Cached accessories loaded.
Setup Payload:
X-HM://0024G02VIRT9X
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 589-04-206 │     
    └────────────┘     
                       
[02/07/2022, 16:05:54] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 6E1E) is running on port 51035.
[02/07/2022, 16:05:55] [PanasonicVieraTV] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).

[02/07/2022, 16:05:55] [DenonTv] Device: 10.0.0.21 Denon, Connected.
[02/07/2022, 16:05:55] [DenonTv] -------- Denon --------
[02/07/2022, 16:05:55] [DenonTv] Manufacturer: Denon
[02/07/2022, 16:05:55] [DenonTv] Model: AVC-X3700H
[02/07/2022, 16:05:55] [DenonTv] Zones: 2
[02/07/2022, 16:05:55] [DenonTv] Control: Main Zone
[02/07/2022, 16:05:55] [DenonTv] Firmware: 00
[02/07/2022, 16:05:55] [DenonTv] Api version: 0301
[02/07/2022, 16:05:55] [DenonTv] Serialnr: 000678790C3C
[02/07/2022, 16:05:55] [DenonTv] ----------------------------------
[02/07/2022, 16:05:55] [PanasonicVieraTV] '10.0.0.23 ('TX-65JZF1507')' ignored, as it is from a Panasonic TV that
        requires encryption and no working credentials were supplied.
[02/07/2022, 16:05:57] Denon 4294 is running on port 44973.
[02/07/2022, 16:05:57] Please add [Denon 4294] manually in Home app. Setup Code: 589-04-206
[02/07/2022, 16:05:58] [PhilipsHueSyncBoxPlatform] Create Sync Box.
[02/07/2022, 16:05:58] [PhilipsHueSyncBoxPlatform] Initialization completed.
[02/07/2022, 16:05:58] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 16:05:58] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 16:05:58] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[02/07/2022, 16:05:58] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[02/07/2022, 16:05:59] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -56 dB
[02/07/2022, 16:06:04] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 16:06:04] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 16:06:04] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[02/07/2022, 16:06:04] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[02/07/2022, 16:06:04] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -56 dB
[02/07/2022, 16:06:07] [DenonTv] Device: 10.0.0.21 Denon, get Power state successful: OFF
[02/07/2022, 16:06:07] [DenonTv] Device: 10.0.0.21 Denon, get Input successful, name: Apple TV, reference: MPLAY
[02/07/2022, 16:06:07] [DenonTv] Device: 10.0.0.21 Denon, get Picture mode: 0
[02/07/2022, 16:06:07] [DenonTv] Device: 10.0.0.21 Denon, get Mute state successful: ON
[02/07/2022, 16:06:07] [DenonTv] Device: 10.0.0.21 Denon, get Volume level successful: -56 dB

@AntonioMeireles
Copy link
Owner

@OXVIII

MANY, MANY thanks for the logs... if i'm seeing things right - i think i've spotted the root cause.

just look...
a) [01/07/2022, 19:44:01] [PanasonicVieraTV] '10.0.0.22 ('TX-65JZF1507')' ignored
b) [02/07/2022, 15:18:49] [Homebridge UI] [homebridge-vieramatic] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).
c) [02/07/2022, 16:05:54] [PanasonicVieraTV] handling '10.0.0.23' from config.json
c) [02/07/2022, 16:05:55] [PanasonicVieraTV] found a 'TX-65JZF1507' TV (TX-65JZ1500W) at '10.0.0.23' (requires crypto for communication).

first time you setup yout TV its IP was 10.0.0.22. it went configured properly. it's just that after somehow - IP changed to 10.0.0.23. Which means that your TV does not have a static IP address but a dynamic (via DHCP) one. config and auth tuple you originally pasted was to 10.0.0.22, so no wonder that .23 wouldn't work.
So, you can ... either set a static IP on your TV or tell your home router to freeze leases by mac address fot long enough so that in practice IP never changes (or set IP of your TV static from router's side by attaching it to the TV's mac address).

If right now the TV's address is still 10.0.0.23 editing homebridge's config to ...

{
    "platform": "PanasonicVieraTV",
    "tvs": [
        {
            "appId": "AerAdLgn634luA==",
            "customVolumeSlider": false,
            "encKey": "IFRkQXbUw4aEqzJRm+2uXQ==",
            "friendlyName": "Panasonic TV",
            "ipAddress": "10.0.0.23"
        }
    ]
}

and restarting Homebridge should be enough to get things straight, that until TV's address changes again (ence the need to get it static)...

Hope this helps, if not just bug me again - we'll sort it out :-)

All the best,

António

@OXVIII
Copy link
Author

OXVIII commented Jul 3, 2022

Hi, thanks for your Input, i shold have add more infomation so the log is not misleading. I have two reserverations on my dhcp, one for the LAN mac and one of the WLAN mac adress of the TV. So this should be fine, i only switched the tv from LAN to wlan to test if anything on the LAN side causing the problems. At the same time i add a new device in homebridge with the WLAN IP 23 and this one making the same errors as the device that was add with LAN and ip 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants