homebridge-fenix-tft-wifi
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

verified-by-homebridge GitHub last commit npm npm version

homebridge-fenix-tft-wifi

Homebridge Platform Plugin Fenix TFT WiFi

This homebridge plugin allows you to control the Fenix TFT WiFi thermostats in your Apple Home App (HomeKit).

Features

  • Setting the target temperature for each thermostat
  • Monitor the current temperature
  • Turn the thermostat off and on

Instructions

  1. Install the plugin as root (sudo su -) with npm install -g homebridge-fenix-tft-wifi@latest --unsafe-perm.
  2. Customize you homebridge configuration config.json.
  3. Restart homebridge, ggf. service homebridge restart.
  • Example config.json with one vacuum and room cleaning:
   "platforms": [
        {
            "accessToken": "JWT TOKEN from Fenix servers",
            "refreshToken": "Refresh token from Fenix servers",
            "temperatureCheckInterval": 30,
            "platform": "FenixTFTWifi"
        }
    ],

Or you can use Homebridge UI

Fenix Tokens

You must use some proxy like Proxyman on your mobile and catch traffic on host https://vs2-fe-identity-prod.azurewebsites.net/.

  • Set Proxyman to catch all traffic
  • Enable SSL Proxying for domain https://vs2-fe-identity-prod.azurewebsites.net/
  • Open FENIX TFT Wifi application on your mobile
  • Log in using your credentials
  • Open Proxyman and check POST request on https://vs2-fe-identity-prod.azurewebsites.net/connect/token
  • Response on this request contain access_token and refresh_token

The token is only valid for 24 hours. The plugin automatically renews the token so that it is not invalidated. The renewed token, including the refresh token, is then stored in the .fenixTftWifi.config.json file, which is stored in the Homebridge storage path. If Homebridge has not been started for a long time, this token needs to be manually updated again using the above steps.

Package Sidebar

Install

npm i homebridge-fenix-tft-wifi

Weekly Downloads

5

Version

2.1.5

License

Apache-2.0

Unpacked Size

91.6 kB

Total Files

55

Last publish

Collaborators

  • tomas-kulhanek