1.5.1 • Published 7 months ago

node-red-contrib-panasonic-comfort-cloud v1.5.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 months ago

node-red-contrib-panasonic-comfort-cloud

DeepScan grade GitHub last commit Travis (.com) npm npm NPM

Node-RED support for Panasonic Comfort Cloud to control air conditioning systems over REST API. This libaray uses the same endpoints as the mobile app Panasonic Comfort Cloud. Based on panasonic-comfort-cloud-api.

Features

  • Get groups of the devices.
  • Get single device by Device ID.
  • Send commands to device.

Usage

Provide username and password via the config node. The access token will be retrieved and stored in the credentials after the first login. It will only be stored in memory store, so after a restart, it will have to be renewed again. This is done automatically if you have provided a correct username and password.

Groups

Does not process any input, but returns a list of all homes and devices in your setup.

Device

Takes device ID as an input in the payload or by providing it via the node config. You can find the device id by looking for guid in the list of devices from the groups result.

Command

Send commands to a device based on device id and commands provided by a JSON object.

Commands must be injected as a JSON object containing the correct values. These values can be either an enum key (case insensitive) or value. The JSON object can consist of one or many properties/parameters. The corresponding key/value pair are listed below.

Values

Valid values for operate:

  • Off = 0
  • On = 1

Valid values for operationMode:

  • Auto = 0
  • Dry = 1
  • Cool = 2
  • Heat = 3
  • Fan = 4

Valid values for ecoMode:

  • Auto = 0
  • Powerful = 1
  • Quiet = 2

Valid values for temperatureSet:

  • 8 - 30

Valid values for airSwingUD:

  • Up = 0
  • UpMid = 3
  • Mid = 2
  • DownMid = 4
  • Down = 1

Valid values for airSwingLR:

  • Left = 0
  • LeftMid = 4
  • Mid = 2
  • RightMid = 3
  • Right = 1

Valid values for fanAutoMode:

  • Disabled = 1
  • AirSwingAuto = 0
  • AirSwingLR = 3
  • AirSwingUD = 2

Valid values for fanSpeed:

  • Auto = 0
  • Low = 1
  • LowMid = 2
  • Mid = 3
  • HighMid = 4
  • High = 5

Payload example

{
    "deviceId": "CS-XXXXXXX+1234567890",
    "operate": "On",
    "operationMode": "Heat",
    "ecoMode": "Auto",
    "temperatureSet": 22,
    "airSwingUD": "Mid",
    "airSwingLR": "Mid",
    "fanAutoMode": "AirSwingAuto",
    "fanSpeed": "Auto"
}

Illustration on how to use the different nodes

Click here do download demo flow

Licence

MIT

1.5.1

7 months ago

1.5.0

7 months ago

1.4.1

7 months ago

1.4.0

12 months ago

1.3.3

1 year ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.0.5

2 years ago

1.2.2

2 years ago

1.0.4

2 years ago

1.2.1

2 years ago

1.0.3

2 years ago

1.2.9

2 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.1-5

3 years ago

0.0.1-4

3 years ago

0.0.1-3

3 years ago

0.0.1-2

3 years ago

0.0.1-1

3 years ago