devnicolasc / SonoffBasic

MIT License
4 stars 2 forks source link

KeyError: 'at' #4

Open pcpong opened 2 years ago

pcpong commented 2 years ago

sonoff = Sonoff(username='XXX', password='XXX') Traceback (most recent call last): File "", line 1, in File "C:\Users\tp_pf01.POWERSYNC\Anaconda3\lib\site-packages\SonoffBasic\sonoff.py", line 23, in init self.login() File "C:\Users\tp_pf01.POWERSYNC\Anaconda3\lib\site-packages\SonoffBasic\sonoff.py", line 42, in login self.token = r['at']

tom8635 commented 2 years ago

is there any update to this, I have the same error, stopped working overnight, no updates or restarts