benov84 / homebridge-tesy-heater

Tesy heater plugin for homebridge: https://github.com/homebridge/homebridge
MIT License
4 stars 2 forks source link

homebridge-tesy-heater

Homebridge plugin to control a Tesy Heater (Convector)

Updated to Tesy API v4!

verified-by-homebridge

Installation

  1. Install homebridge
  2. Install this plugin: npm install -g homebridge-tesy-heater-v2
  3. Update your config.json file (See below).

Configuration example

"accessories": [
     {
       "accessory": "TesyHeater",
       "name": "My Tesy Heater",
       "userid": "id",
       "username": "user",
       "password": "pass",
       "device_id": "XXXXXXXXXXXXXXX",
       "maxTemp": 30,
       "minTemp": 10,
     }
]

Obtaining Device Id

Login at

My Tesy Cloud

then open browser's Developer Tools. Go to Network tab and you will see requests named "old-app-devices". Click on them one by one and look at the Response tab on right. You will find the device id inside Json response in field named "id". The device id is 40-symbol long combination of numbers and letters.

Structure

Key Description
accessory Must be TesyHeater
name Name to appear in the Home app
userid User Id from Tesy Cloud
username E-mail
password Password
device_id Device Id from Tesy Cloud
pullInterval (optional) This property expects an interval in milliseconds in which the plugin pulls updates from your Ecoforest heater (10000 is default)
maxTemp (optional) Upper bound for the temperature selector in the Home app (30 is default)
minTemp (optional) Lower bound for the temperature selector in the Home app (10 is default)
model (optional) Appears under "Model" for your accessory in the Home app
serialNumber (optional) Appears under "Serial Number" for your accessory in the Home app

Important! Note that, if you turn off the power, the tesy server returns the latest info from the heater and the current state will not be correct!

Bottom Line

This plugin is based on homebridge-ecoforest-heater.

verified-by-homebridge