homebridge-vieramatic
Homebridge plugin for Panasonic Viera TV's (with support for 2018 and 2019 models)
Last updated 5 months ago by antonio.meireles .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install homebridge-vieramatic 
SYNC missed versions from official npm registry.

homebridge-vieramatic

License: MIT npm version downloads

Homebridge plugin for Panasonic™ Viera™ TVs

  • support for 2018 and 2019 models

    Pincode and encryption (encapsulated in AES-CBC-128 encryption with HMAC-SHA-256) was added as a requirement for communication with TV models released on and after 2018 which has broken previously existing plugins.

    (tested on Author's TX-50GX830E)

  • HomeKit TV Accessory

  • Power TV On & Off

  • Input switching

  • Automated TV Apps handling

Requirements

  1. iOS 12.3 or later
  2. Homebridge v0.4.50 or later

TV Setup

  1. On your TV go to Menu -> Network -> TV Remote App Settings and ensure the following settings are ON:

    • TV Remote

    • Powered On by Apps

    • Networked Standby

  2. Then, go to Menu -> Network -> Network Status -> Status Details and take note of your TV ip address.

Installation

  1. Install homebridge.

  2. Install this plugin

     $ sudo npm install -g homebridge-vieramatic
    
  3. run the pre-flight setup script, and take note of its output

     $ viera-pair YOUR_TV_IP_ADDRESS_HERE
    
  4. Update your homebridge's config.json file per the output of viera-pair in the step above

    if you are using one of the multiple homebridge graphical web front-ends, like HOOBS or homebridge-config-ui-x, you may need to paste, the config snippet referenced above manually to it.

    • When using homebridge-config-ui-x you can go to the config tab and edit the settings there.

    • Over HOOBS please do follow the steps referenced here replacing all mentions of homebridge-plugin with homebridge-vieramatic.

      Please do note that in HOOBS viera-pair will end located at /home/hoobs/.hoobs/node_modules/.bin/viera-pair

  5. Populate the hdmiInputs section according to your input switching list.

    "platforms": [
       {
          "platform": "PanasonicVieraTV",
          "tvs": [
             {
               "ipAddress": "YOUR_TV_IP_ADDRESS_HERE",
               "hdmiInputs": [
                 {
                   "id" : "1",
                   "name": "Apple TV"
                 }, {
                   "id" : "2",
                   "name": "VodafoneTV box"
                 },
               ]
             }
          ]
       }
    ]
    
    • please do note that if have more than one TV you add its config to the tvs array and not as a whole platform duplicate, along the example bellow...

      
      "tvs": [
        {
          "ipAddress": "YOUR_TV_IP_ADDRESS_HERE",
          "hdmiInputs": []
        }, {
          "ipAddress": "YOUR_SECOND_TV_IP_ADDRESS_HERE",
          "hdmiInputs": []
        }
      ]
      
  6. [re]start homebridge

Integration with Siri - quick note about input switching

As far as the author knows, currently, the Homekit TV integration spec from Apple sadly does not allow to switch inputs with Siri directly (would love to be proved wrong).

The workaround is either to make shortcuts that do the input change and invoke those from Siri, or to create scenes straight in the home app that achieve the same and then invoke them.

Acknowledgments

  • George Nick Gorzynski's original homebridge-panasonic plugin which served as the base inspiration for this new one.
  • Florian Holzapfel's panasonic-viera python library which documented the new pincode authentication and communication scheme of 2018 and later models.

Contributing

This is an open source project released under the MIT License.

Contributions and suggestions or bug reports are gladly welcomed!

Current Tags

  • 0.9.12                                ...           latest (2 months ago)

36 Versions

  • 0.9.12                                ...           2 months ago
  • 0.9.10                                ...           2 months ago
  • 0.9.9                                ...           2 months ago
  • 0.9.8                                ...           3 months ago
  • 0.9.7                                ...           3 months ago
  • 0.9.6                                ...           3 months ago
  • 0.9.5                                ...           4 months ago
  • 0.5.92                                ...           4 months ago
  • 0.5.91                                ...           4 months ago
  • 0.5.90                                ...           4 months ago
  • 0.5.89                                ...           4 months ago
  • 0.5.88                                ...           4 months ago
  • 0.5.87                                ...           5 months ago
  • 0.5.86                                ...           5 months ago
  • 0.5.85                                ...           5 months ago
  • 0.5.84                                ...           5 months ago
  • 0.5.83                                ...           5 months ago
  • 0.5.82                                ...           5 months ago
  • 0.5.81 [deprecated]           ...           5 months ago
  • 0.5.80                                ...           5 months ago
  • 0.5.15                                ...           5 months ago
  • 0.5.14                                ...           5 months ago
  • 0.5.13                                ...           5 months ago
  • 0.5.12                                ...           5 months ago
  • 0.5.11                                ...           5 months ago
  • 0.5.10                                ...           5 months ago
  • 0.5.9                                ...           5 months ago
  • 0.5.8                                ...           5 months ago
  • 0.5.7                                ...           5 months ago
  • 0.5.6                                ...           5 months ago
  • 0.5.5                                ...           5 months ago
  • 0.5.4                                ...           5 months ago
  • 0.5.3                                ...           5 months ago
  • 0.5.2                                ...           5 months ago
  • 0.5.1                                ...           5 months ago
  • 0.5.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |