This homebridge plugin allows you to control the Fenix TFT WiFi thermostats in your Apple Home App (HomeKit).
root
(sudo su -
) with npm install -g homebridge-fenix-tft-wifi@latest --unsafe-perm
.config.json
.service homebridge restart
.config.json
with setting for Fenix account: "platforms": [
{
"accessToken": "JWT TOKEN from Fenix servers",
"refreshToken": "Refresh token from Fenix servers",
"temperatureCheckInterval": 30,
"platform": "FenixTFTWifi"
}
],
Or you can use Homebridge UI
You must use some proxy like Proxyman on your mobile and catch traffic on host https://vs2-fe-identity-prod.azurewebsites.net/
.
https://vs2-fe-identity-prod.azurewebsites.net/
https://vs2-fe-identity-prod.azurewebsites.net/connect/token
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.