Skip to content

cli client and golang package to control your airconditioner through the Panansonic Comfort Cloud.

License

Notifications You must be signed in to change notification settings

hacktobeer/go-panasonic

Repository files navigation

go-panasonic

Introduction

go-panasonic is a Golang package and cli tool to control Panasonic equipment connected through the Panasonic Comfort Cloud (PCC). This library and cli tool have much of the same functionality as the Panasonic Comfort Cloud App.

Why? I got a bit bored with the App, it was too slow for me and I could not automate anything. So this package and cli tool solves that problem.

CLI tool

You need to create a configuration file with the below content. The tool tries to load the default file gopanasonic.yaml but it can also be passed with the cli flag -config [filepath].

username: [your PCC username]
password: [your PCC password]
device: [Panasonic device name, see -list command]

List all available Panasonic devices for account and manually add one of them to the configuration file.

$ go-panasonic -list

Some more examples

$ go-panasonic -status
$ go-panasonic -temp 19.5
$ go-panasonic -off
$ go-panasonic -on
$ go-panasonic -mode heat
$ go-panasonic -history week
$ go-panasonic -h
$ go-panasonic -version

Download the latest releases here. Releases are build for Linux (ARM as well), OSX and Windows.

Package

The cloudcontrol package can be used to write your own tools to control devices in the Panasonic Comfort Cloud. Package documentation and exampe code can be found here.

About

cli client and golang package to control your airconditioner through the Panansonic Comfort Cloud.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages