0.6.0 • Published 10 months ago

sensibo-mqtt v0.6.0

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

sesnsibo-mqtt

Publish status/state of Sensibo devices, and allow setting state over MQTT.

Installation and Configuration

It is intended to be installed globally, ie npm i -g sensibo-mqtt

Create a YAML file somewhere. See config.example.yml

Run (replace path)

CONFIG_PATH=/path/to/my/config.yml sensibo-mqtt

You can also use Consul for config. See mqtt-usvc for more details.

You need to provide and apiKey in the config. The pollInterval is optional (default 60000 60s).

Status Updates

Once started you will receive status updates on sensibo/status/{device_id} at the configured pollInterval. The event will be emitted regardless of whether anything has changed.

Controlling

You can change AC state sending to sensibo/set/{device_id}/acState see post details, or just single properties using sensibo/set/{device_id}/acState/{property} see patch details or enable climate react using sensibo/set/{device_id}/smartmode see put details NOTE: seems this endpoint doesn't work on the Sensibo API.

Eg, send to:

  • topic = sensibo/set/Abcd123/acState/on
  • value = true

or

  • topic = sensibo/set/Abcd123/smartmode
  • value = true

or

  • topic = sensibo/set/Abcd123/acState
  • value = {"on"true,"mode":"cool","fanLevel":"auto","targetTemperature":22}

HTTP Status

To enable set a http port in the config (see example), then poll /status on that port.

0.6.0

10 months ago

0.5.0

2 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.1

4 years ago