So wanna set upt the P100. total noob here.
so I set up the custom_componets, but the tapo_p100_control folder in it and added
switch:
platform: tapo_p100_control
ip_address: 192.168.x.x
email: [email protected]
password: Password123
Into my configuration.yaml
First question. As the Email and Password, I use my tapo account right ?
Used it atleast and the pasword does have 1 Uppercase and 1 number and is atleast 8 long
The logs say:
Error while setting up tapo_p100_control platform for switch
17:15:07 ā (FEHLER) Schalter (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 17:15:06 aufgetreten und erscheint 4 mal
Could not connect to plug. Possibly invalid credentials
17:15:07 ā (FEHLER) tapo_p100_control (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 17:15:05 aufgetreten und erscheint 4 mal
Setup of switch platform tapo_p100_control is taking over 10 seconds.
17:15:07 ā (WARNUNG) Schalter - Die Nachricht ist zum ersten Mal um 17:15:07 aufgetreten und erscheint 3 mal
clicking on details I get
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/PyP100/PyP100.py", line 155, in login
self.token = ast.literal_eval(decryptedResponse)["result"]["token"]
KeyError: 'result'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/tapo_p100_control/switch.py", line 44, in setup_platform
add_entities([P100Plug(p100)])
File "/config/custom_components/tapo_p100_control/switch.py", line 53, in __init__
self.update()
File "/config/custom_components/tapo_p100_control/switch.py", line 84, in update
self._p100.login()
File "/usr/local/lib/python3.9/site-packages/PyP100/PyP100.py", line 159, in login
raise Exception(f"Error Code: {errorCode}, {errorMessage}")
Exception: Error Code: -1501, Invalid Request or Credentials
SO pretty sure my credentilas are wrong ? but which one do i have to use ?
EDIT: GOT IT TO WORK had to change the first letter of the email to a lower case