Andrei

Results 5 comments of Andrei

This is really sad. More than two years have passed, the problem is still present, and the basic functionality which seems to be obvious for any IDE, is still absent.

I have sent the tiny one, maybe should also add some tests?

You can fix it. To obtain token, follow the procedure described in https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/issues/43#issuecomment-1186615161, and once you have it (together with `ssecurity` and `userId`), update `config/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py` and `config/custom_components/xiaomi_cloud_map_extractor/camera.py` I confirm that...

So, in file `config/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py` set up `_ssecurity`, `_userId` and `_serviceToken` fields in `__init__` method of `XiaomiCloudConnector` - [here](https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/blob/master/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py#L37-L51) it is in this repo. In file `config/custom_components/xiaomi_cloud_map_extractor/camera.py` replace assignment [`self._logged_in =...

@LionCityGaming did you check that the values you obtained are correct and if you update https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor with them the script outputs you token and other information about the device?