homebridge-fenix-tft-wifi
v2.1.5
Published
Homebridge plugin which adds a Fenix TFT WiFi thermostat as HomeKit device.
Downloads
30
Maintainers
Readme
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
- Install the plugin as
root
(sudo su -
) withnpm install -g homebridge-fenix-tft-wifi@latest --unsafe-perm
. - Customize you homebridge configuration
config.json
. - 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
andrefresh_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.