nitaybz / homebridge-electra-smart

Homebridge plugin for Electra Smart A/C
MIT License
9 stars 4 forks source link

Accessory not added after adding platform configuration #2

Closed bortk closed 3 years ago

bortk commented 3 years ago

Hi, I installed the plugin and got imei and token using electra-extract. After updating the configuration, I can't see new device in homekit. I'm getting this error in the log: [ElectraSmart] ERR: Could NOT get Session ID: Token not found Thanks

nitaybz commented 3 years ago

seems like the token is missing or incorrect, try to run the electra-extract again and make sure you fetch only the value without any spaces around or something like that

bortk commented 3 years ago

I tried again several times. I'm sure that the token is correct. I'm running the electra app on iPhone and not on Android. I saw that you emulate Android client in the request.

I tried to debug and I see that I'm getting this in the http response: "Token not found"

nitaybz commented 3 years ago

It doesn't matter the android device I'm emulating.... is it possible that you used different phone number when you registered those devices?

nitaybz commented 3 years ago

Please share your config