You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I struggled quite a bit to get the Tapo-P100 plugin working in an environment with python 3.9. The instruction as provided did not work for me and I need to do following:
When the Installation of the @petretiandrea plugp100 was done as non-root user, domoticz was not able the find the module locally. When i installed with 'sudo pip install plugp100', domoticz had no problem find the module
The 3rd bullet of 'How to install the Python v3.8 / v3.9 version' for plugp100-3.9 says download the ZIP file, and then follows a link the Domotiz Plugin. What you mean here is obviously the zip of the plugp100-3.9 archive instead. (took me some time to realise that)
Having done a root level install of plup100, I needed to copy the plugp-3.9 as 'sudo cp -a plugp100/ /usr/local/lib/python3.9/dist-packages/' of course.
For the plugin itself, domoticz could be no means locate the p100.py file, At some point I had maybe 5 or 6 copies of it in all possible paths for my shell. In the end I copied the file to my /home/pi/bin directory and modified the plugin hardcoded to that location, before domoticz was able to locate the file.
The issues I encountered may be related to my specific domoticz installation.
Getting things working, I see that any command to the plug takes extremely long (10-20 seconds).
When a command is entered manually with p100py, I see following on sterr:
Default protocol not working, fallback to KLAP ;)
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0xb572da30>
Is it possible that the delay is cause by the attempt to use the "Default" protocol?
If so, it could be worth to try configuring "KLAP" as default. If such a configuration would be possible in the plugin in or the p100.py script.
The text was updated successfully, but these errors were encountered:
gettevan
changed the title
Installatoin documentation
Installation documentation
Jun 29, 2024
I struggled quite a bit to get the Tapo-P100 plugin working in an environment with python 3.9. The instruction as provided did not work for me and I need to do following:
The issues I encountered may be related to my specific domoticz installation.
Getting things working, I see that any command to the plug takes extremely long (10-20 seconds).
When a command is entered manually with p100py, I see following on sterr:
Is it possible that the delay is cause by the attempt to use the "Default" protocol?
If so, it could be worth to try configuring "KLAP" as default. If such a configuration would be possible in the plugin in or the p100.py script.
The text was updated successfully, but these errors were encountered: