flopp999 / NIBEUplink-Domoticz

Script for collecting data from NIBE. Support me with a coffee or use my Tibber link https://tibber.com/se/invite/8af85f51
https://www.buymeacoffee.com/flopp999
MIT License
5 stars 1 forks source link

Refresh Token #17

Open flopp999 opened 3 years ago

flopp999 commented 3 years ago

First time it runs Refresh Token is less than 50 characters and the INI is empty

If you don't add Refresk Token in Hardware and restart you need to add new Access Code, not good if power failure

If < 50 check INI, if "" then try to get from Nibe, if > 50 write to INI only during startup