Hi René,
thank you very much. This is my progress:
- installed Burp on my PC (win10)
- installed on iPhone, proxy etc.
This looks like refresh token: (I modified some characters in token manually - so this is SAMPLE)
grant_type=refresh_token&refresh_token=XHEawMmJ1klLtGntnTMzZZVyejwJQGoH24BOq7oXK1&redirect_uri=https%3A%2F%2Foneapp.microservice.smart.com&client_id=70d84301-938c-4bec-82d0-6abb550b0815
Then I can see Bearer
GET /seqc/v0/users/current HTTP/2
Host: oneapp.microservice.smart.com
Accept: */*
Accept-Language: cs-CZ;q=1.0, en-US;q=0.9
Authorization: Bearer eyJhbGciOiJkaXIiLCJlbmMiOiJ......shortcuted by me ;-)
X-Applicationname: 70d89501-938c-4bec-82d0-6abb550b0825
User-Agent: Device: iPhone14,2; OS-version: iOS_15.2; App-Name: smart EQ control; App-Version: 3.1.0; Build: 202112091304; Language: en_US
Guid: 26DBBA46-6293-4D44-AFD5-F6A0952F8E4C
Accept-Encoding: gzip, deflate
So I suppose Bearer is AccessToken.
What is expires_in : 7199 (what this number means?) seconds? 120 mins?
expires_at - timestamp format as I suppose - should be let say 1.1.2026 ???
A file .smarteqconnect-token-cache should be placed in HA config root or in custom_components/smarteqconnect directory? Should file include . (dot) in his name?
But I’m lost in “Change the code of the config_flow.py and remove the Auth-Checks”. I can modify these files but what to remove???
Thank you very much!!!