npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-panasonic-cloud-platform

v1.6.0

Published

Homebridge platform plugin providing HomeKit support for Panasonic air conditioners.

Downloads

57

Readme

This is a fork of embee8 original repository which was not maintained anymore.

Homebridge Panasonic AC Platform

verified-by-homebridge GitHub version npm version

homebridge-panasonic-ac-platform is a dynamic platform plugin for Homebridge that provides HomeKit support for Panasonic single and multi-split air conditioning systems.

How it works

The plugin communicates with your AC units through the Comfort Cloud service. This means your units must be registered and set up there before you can use this plugin.

All devices that are set up on your Comfort Cloud account will appear in your Home app. If you remove a device from your Comfort Cloud account, it will also disappear from your Home app after you restart Homebridge.

Comfort Cloud account

In the past, using the same account on multiple devices often resulted in being logged out of one of them. This made it necessary to create a secondary account in order for the plugin to operate reliably.

Recent improvements to Panasonic's token management should now allow you to simply use your main login details for the Homebridge plugin as well (see Comfort Cloud app release notes for 1.14.0).

In case you are still experiencing random logouts, refer to this guide for instructions on how to create a dual-account setup. It explains how devices can be shared with a dedicated account that can be used for Homebridge.

Homebridge setup

Configure the plugin through the settings UI or directly in the JSON editor:

{
  "platforms": [
    {
        "platform": "Panasonic AC Platform",
        "name": "Homebridge Panasonic AC Platform",
        "email": "[email protected]",
        "password": "********",
        "exposeOutdoorUnit": true,
        "debugMode": false,
        "appVersionOverride": "1.18.0",
        "suppressOutgoingUpdates": false,
        "minHeatingTemperature": 16
    }
  ]
}

Required:

  • platform (string): Tells Homebridge which platform this config belongs to. Leave as is.

  • name (string): Will be displayed in the Homebridge log.

  • email (string): The username of your Comfort Cloud account.

  • password (string): The password of your account.

Optional:

  • exposeOutdoorUnit (boolean): If true, the plugin will create a separate accessory for your outdoor unit which will display the (outdoor) temperature it measures. This can be used for monitoring and automation purposes.

  • debugMode (boolean): If true, the plugin will print debugging information to the Homebridge log.

  • appVersionOverride (string): The plugin will automatically use the last known working value when this setting is empty or undefined (default). This setting allows you to override the default value if needed. It should reflect the latest version on the App Store, although older clients might remain supported for some time.

  • suppressOutgoingUpdates (boolean): If true, changes in the Home app will not be sent to Comfort Cloud. Useful for testing your installation without constantly switching the state of your AC to minimise wear and tear.

  • minHeatingTemperature (integer): The default heating temperature range is 16-30°C. Some Panasonic ACs have an additional heating mode for the range of 8-15°C. If you own such a model, you can use this setting to adjust the minimum value. Leave it empty or undefined to use the default value.

Swing modes

The Home app only has one 'Oscillate' switch, but most Panasonic air conditioning units have two swing directions. To make the two compatible, you can use the following settings:

  • The setting Swing Directions (swingModeDirections in the JSON config) controls which swing direction(s) will be activated when 'Oscillate' is switched on.

  • The setting Swing Mode Default Position (Left-Right) (swingModeDefaultPositionLeftRight in the JSON config) controls the desired position of the Left-Right flaps when 'Oscillate' is switched off or the swing directions setting (see above) is "Up-Down only".

  • The setting Swing Mode Default Position (Up-Down) (swingModeDefaultPositionUpDown in the JSON config) controls the desired position of the Up-Down flaps when 'Oscillate' is switched off or the swing directions setting (see above) is "Left-Right only".

Fan speed, Quiet Mode, Powerful Mode

The Home app offers no extra buttons for the Quiet and Powerful Modes. All settings related to a unit's fan speed are controlled through the fan speed slider. The following mapping applies:

| Home app slider position | Comfort Cloud setting | | ------------------------: | --------------------- | | (leftmost) 0 | Device off | | 1 | Quiet mode | | 2 | Fan speed: 1 | | 3 | Fan speed: 2 | | 4 | Fan speed: 3 | | 5 | Fan speed: 4 | | 6 | Fan speed: 5 | | 7 | Powerful mode | | (rightmost) 8 | Auto |

Troubleshooting

  • If you have any issues with this plugin, enable the debug mode in the settings (and restart the plugin). This will print additional information to the log. If this doesn't help you resolve the issue, feel free to create a GitHub issue and attach the available debugging information.

  • If you run into login errors despite using the correct login details, make sure you accepted the latest terms and conditions after logging into the Comfort Cloud app.

  • If the plugin affects the general responsiveness and reliability of your Homebridge setup, you can run it as an isolated child bridge.

Contributing

You can contribute to this project in the following ways:

  • Test/use the plugin and report issues and share feedback.

  • Review source code changes before and after they are published.

  • Contribute with your own bug fixes, code clean-ups, or additional features (pull requests are accepted).

Acknowledgements

  • Thanks to codyc1515 for creating and maintaining homebridge-panasonic-air-conditioner, which served as motivation for this platform plugin and proved particularly helpful in determining API request/response payloads.

  • Thanks to the team behind Homebridge. Your efforts do not go unnoticed.

Disclaimer

All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.