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
339 stars 35 forks source link

p100 error: Local hash does not match server hash #138

Closed huyhoang8398 closed 8 months ago

huyhoang8398 commented 9 months ago

I have this error when trying to use with p100

Traceback (most recent call last):
  File "/home/kn/dev/tapo/tapo_p100.py", line 33, in <module>
    asyncio.run(main())
  File "/home/kn/.pyenv/versions/3.10.4/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/home/kn/.pyenv/versions/3.10.4/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/home/kn/dev/tapo/tapo_p100.py", line 15, in main
    device = await client.p100(ip_address)
Exception: Other(Local hash does not match server hash)
kolerak commented 9 months ago

is it posibble that you are entering creditantials incorrectly?

huyhoang8398 commented 9 months ago

thanks, i forgot to close the issue, i entered wrong credentials

mihai-dinculescu commented 8 months ago

I'm reopening this because the error message is not very helpful and it could use a rework.