AntonioMeireles / homebridge-vieramatic

Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models)
Apache License 2.0
43 stars 9 forks source link

Can't show on homekit app #24

Closed J4YD3N007 closed 4 years ago

J4YD3N007 commented 4 years ago

Hi, i cannot found the TC control button on homekit, and i saw my homebridge log have some error message, do you know what happen on this case?

[6/5/2020, 02:13:57] [PanasonicVieraTV] found a Panasonic VIErA TV (TH-43GX800H) at 192.168.X.XXX (requires crypto for comunication).

[6/5/2020, 02:13:57] [PanasonicVieraTV] Error: Ignoring TV at 192.168.X.XXX as it requires encryption but no credentials were supplied. at validateCryptoNeeds (/usr/local/lib/node_modules/homebridge-vieramatic/lib/homebridge.coffee:31:10) at VieramaticPlatform.init (/usr/local/lib/node_modules/homebridge-vieramatic/lib/homebridge.coffee:480:19) at processTicksAndRejections (internal/process/task_queues.js:97:5)

[6/5/2020, 02:13:57] [PanasonicVieraTV] DidFinishLaunching

AntonioMeireles commented 4 years ago

@J4YD3N007

Hi, at sight things are behaving as supposed, as you have a TV MY2019 which requires encryption for communication, and that isn't setup.

So, with the TV ON you need to run viera-pair YOUR_REAL_TV_IP_ADDRESS_HERE, take note of its output and then populate homebridge's config.json accordingly (steps 3 to 6 from the README)

If you have done that already and still get that error, then i suppose there's some syntax error on your config - so please paste it fully here.

Thanks for your patience and welcome to GITHUB and the open source world! (as this you seem to be yet another user who joined github due to this project :-) )

J4YD3N007 commented 4 years ago

@J4YD3N007

Hi, at sight things are behaving as supposed, as you have a TV MY2019 which requires encryption for communication, and that isn't setup.

So, with the TV ON you need to run viera-pair YOUR_REAL_TV_IP_ADDRESS_HERE, take note of its output and then populate homebridge's config.json accordingly (steps 3 to 6 from the README)

If you have done that already and still get that error, then i suppose there's some syntax error on your config - so please paste it fully here.

Thanks for your patience and welcome to GITHUB and the open source world! (as this you seem to be yet another user who joined github due to this project :-) )

Thank you for your help, i have repeat step 3-6 again. it can show on homebridge dashboard, but it still cannot show on my iphone homekit. Here is my config script: { "platform": "PanasonicVieraTV", "tvs": [ { "ipAddress": "192.XXX.X.XXX", "appId": XXXXXXXXXXXXXX, "encKey": XXXXXXXXXXXXX, "hdmiInputs": [ { "id": "1", "name": "Apple TV" }, { "id": "2", "name": "box" } ] } ] }

Also, may i know this plugin can it add TV app, such as netflix to the select screen? like Homebridge plugin for Panasonic TV's {"id": "Netflix", "name": "Netflix", "type": "APPLICATION", "appID": "0010000200000001"}

msbc42 commented 4 years ago

Hi, having similar issue. Brand new HomeBridge install with your plugin. Did pairing. Following in Log:

[6/7/2020, 4:45:27 PM] Registering platform 'homebridge-vieramatic.PanasonicVieraTV'
[6/7/2020, 4:45:27 PM] ---
[6/7/2020, 4:45:27 PM] Loading 1 platforms...
[6/7/2020, 4:45:27 PM] [PanasonicVieraTV] Initializing PanasonicVieraTV platform...
[6/7/2020, 4:45:27 PM] [PanasonicVieraTV] Vieramatic Init
Setup Payload:
X-HM://0023ISYWY8L65
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    │ XXX-XX-XXX │     
    └────────────┘     

[6/7/2020, 4:45:27 PM] Homebridge is running on port 53967.
[6/7/2020, 4:45:27 PM] [PanasonicVieraTV] found a Panasonic VIErA TV (TH-65FZ950U) at 192.168.1.38 (requires crypto for comunication).

[6/7/2020, 4:45:28 PM] [PanasonicVieraTV] DidFinishLaunching
[6/7/2020, 4:45:28 PM] 65FZ950_Series is running on port 38522.
[6/7/2020, 4:45:28 PM] Please add [65FZ950_Series] manually in Home app. Setup Code: XXX-XX-XXX

No device in Home on iPhone.

fhb commented 4 years ago

Seems to be an issue produced by the recent iOS-Update. My TV used to work just fine with this plugin and then around after the update disappeared from Homekit?

`[8/10/2020, 4:16:50 PM] Loaded plugin: homebridge-vieramatic@0.9.12 homebridge API version: 2.6 homebridge-vieramatic version: 0.9.12

[8/10/2020, 4:16:50 PM] Registering platform 'homebridge-vieramatic.PanasonicVieraTV' [8/10/2020, 4:16:50 PM] --- [8/10/2020, 4:16:50 PM] Loading 3 platforms... [8/10/2020, 4:16:50 PM] [PanasonicVieraTV] Initializing PanasonicVieraTV platform... [8/10/2020, 4:16:50 PM] [PanasonicVieraTV] Vieramatic Init [8/10/2020, 4:16:50 PM] [Config] Initializing config platform... [8/10/2020, 4:16:50 PM] [Config] Running in Service Mode [8/10/2020, 4:16:50 PM] [DysonPureCoolPlatform] Initializing DysonPureCoolPlatform platform... [8/10/2020, 4:16:50 PM] [DysonPureCoolPlatform] Got devices from config. Setup Payload: X-HM://0023V56PH763I Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ XXXX│     
└────────────┘     

[8/10/2020, 4:16:50 PM] Homebridge is running on port 51533. [8/10/2020, 4:16:51 PM] [PanasonicVieraTV] found a Panasonic VIErA TV (TX-40CX700W) at 192.168.0.190 .

[8/10/2020, 4:16:51 PM] [PanasonicVieraTV] DidFinishLaunching [8/10/2020, 4:16:51 PM] PANA_TV is running on port 45265. [8/10/2020, 4:16:51 PM] Please add [PANA_TV] manually in Home app. Setup Code: XXX`

AntonioMeireles commented 4 years ago

hi,

sorry lag, just come back from vacation. what exact versions do you have on your IOS / homekit bridge, right now ? unable to reproduce so far.

Thanks for your patience!

stijndevries commented 4 years ago

I’m also having this issue after switching from hoobs to homebridge. It happens with the latest version of vieramatic as well as the previous version. It happens on both iOS 13 and 14. It happens with homebridge latest and beta. I can control the tv from the homebridge accessories interface but it just doesn’t show up in the home app. Other plugins are working fine. Strangely it did show up yesterday but I couldn’t connect due to some issue making my rpi run at 100% cpu all the time.

AntonioMeireles commented 4 years ago

@stijndevries

humm... that's new data! fwiw i'm running here homebridge@beta against stock latest IOS 13 (no spare gear to risk running 14) without any issues. Could you all plz (specially the ones running IOS13) be a bit more detailed about your homebridge setups (OS / arch / node and homebridge versions / etc) in order to try to spot the pattern here ?

Thanks in advance and a great weekend!

stijndevries commented 4 years ago

More system data:

OS | Raspbian GNU/Linux Buster (10) Node.js Version | v12.18.2 Npm Version | v6.14.7 Version 1.2.0-beta.35

Log: [8/15/2020, 18:49:40] [PanasonicVieraTV] Initializing PanasonicVieraTV platform... [8/15/2020, 18:49:40] [PanasonicVieraTV] Vieramatic Init 8/15/2020, 18:49:41] [PanasonicVieraTV] found a Panasonic VIErA TV (TX-42AS650E) at xxx .

[8/15/2020, 18:49:41] [PanasonicVieraTV] Viera { isReachable: [Function: bound isReachable] AsyncFunction, needsCrypto: [Function: bound needsCrypto], isTurnedOn: [Function: bound isTurnedOn], ipAddress: 'xxx', port: 55000, log: [Function: bound info] { info: [Function: info], warn: [Function: warn], error: [Function: error], debug: [Function: debug], log: [Function: log], prefix: 'PanasonicVieraTV' }, _appId: null, _encKey: null, baseURL: 'http://xxx:55000', specs: { friendlyName: 'Viera', modelName: 'Panasonic VIErA', modelNumber: 'TX-42AS650E', manufacturer: 'Panasonic', serialNumber: '4D454930-xxx-1000-xxx-20C6EBA2563B', requiresEncryption: false } } [8/15/2020, 18:49:41] [PanasonicVieraTV] --> true [8/15/2020, 18:49:41] [PanasonicVieraTV] Restoring 'Viera'. [8/15/2020, 18:49:42] [PanasonicVieraTV] deleting HDMI input '2' - 'VodafoneTV box' as it was removed from config.json [8/15/2020, 18:49:43] [PanasonicVieraTV] DidFinishLaunching [8/15/2020, 18:49:43] Viera D842 is running on port 33019. [8/15/2020, 18:49:43] Please add [Viera D842] manually in Home app. Setup Code: xxx-43-015

stijndevries commented 4 years ago

Okey, it works fine if I install it on my MacBook homebridge.... I will try a reset on my RPi

stijndevries commented 4 years ago

Okey, that was easy. "Reset Homebridge Accessory" in homebridge settings fixed this!

fhb commented 4 years ago

Unpairing the TV through the homebridge settings (not resetting everything) did the trick for me! Thanks!

AntonioMeireles commented 4 years ago

@J4YD3N007

Hi,

still with issues on this ?

AntonioMeireles commented 4 years ago

closing, per inactivity. Please reopen if issue somehow gets back.