mihai-dinculescu / tapo

Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P115, P300), hubs (H100), switches (S200B) and sensors (KE100, T100, T110, T300, T310, T315).
MIT License
373 stars 37 forks source link

Tapo: SessionTimeout #180

Closed paha77 closed 6 months ago

paha77 commented 7 months ago

I have a P100 smart plug which is connected to the network and active. When I try to control it get the following error:

Tapo: SessionTimeout

What does it exactly mean and how could it be avoided?

Thank you.

mihai-dinculescu commented 7 months ago

At which point in the code are you getting this error?

paha77 commented 7 months ago

At which point in the code are you getting this error?

I've not dug into the code, just using the self-compiled binary in a docker container.

mihai-dinculescu commented 7 months ago

This error is returned when the device responds with either Unauthorized (401) or Forbidden (403). It would be helpful to see your code and to know on which operation that it fail with this error.