Tyfy/OctoPrint-TapoSmartplug

[BUG]: Cannot Install

Opened this issue Β· 21 comments

Installing plugin from https://github.com/Tyfy/OctoPrint-TapoSmartplug/archive/master.zip...
/home/pi/oprint/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmphj8g0sfx/OctoPrint-TapoSmartplug-master.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /tmp/tmphj8g0sfx/OctoPrint-TapoSmartplug-master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint-TapoSmartplug==0.0.1) (1.7.0)
Requirement already satisfied: uptime in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint-TapoSmartplug==0.0.1) (3.0.1)
Requirement already satisfied: PyP100 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint-TapoSmartplug==0.0.1) (0.0.13)
Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.1)
Requirement already satisfied: colorlog<6,>=5.0.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (5.0.1)
Requirement already satisfied: feedparser<7,>=6.0.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (6.0.8)
Requirement already satisfied: psutil<6,>=5.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (5.8.0)
Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.0)
Requirement already satisfied: requests<3,>=2.26.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.26.0)
Requirement already satisfied: emoji<2,>=1.4.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.6.1)
Requirement already satisfied: unidecode in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.4.21)
Requirement already satisfied: flask<2,>=1.1.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.4)
Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.12.1)
Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.18.2)
Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (3.5)
Requirement already satisfied: pathvalidate<3,>=2.4.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.5.0)
Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.8)
Requirement already satisfied: sentry-sdk<2,>=1.3.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.4.3)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.0)
Requirement already satisfied: netifaces<1,>=0.11 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.11.0)
Requirement already satisfied: tornado<7,>=6 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (6.1)
Requirement already satisfied: immutabledict<3,>=2.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.2.1)
Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.2.0)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.5.0)
Requirement already satisfied: OctoPrint-PiSupport>=2021.8.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2021.10.28)
Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.1)
Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.7)
Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2020.11.13)
Requirement already satisfied: Jinja2<3,>=2.11.3 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.11.3)
Requirement already satisfied: zeroconf<0.34,>=0.33 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.33.4)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2021.10.11)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.0)
Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.4)
Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (3.1.1)
Requirement already satisfied: pkginfo<2,>=1.7.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.7.1)
Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (7.1.2)
Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.6)
Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.1)
Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.8.5)
Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.10.4)
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2021.2.23)
Requirement already satisfied: websocket-client<1,>=0.59 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.59.0)
Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (5.4.1)
Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.8.0)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python3.7/site-packages (from watchdog==0.10.4->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.2)
Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.7/site-packages (from feedparser<7,>=6.0.8->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.0)
Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Assets<3,>=2.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.0)
Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2020.5)
Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.9.0)
Requirement already satisfied: setuptools>=36 in /home/pi/oprint/lib/python3.7/site-packages (from markdown<3.2,>=3.1->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (51.1.2)
Requirement already satisfied: charset-normalizer~=2.0.0 in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.0.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.25.11)
Requirement already satisfied: idna<4,>=2.5 in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.7/site-packages (from requests<3,>=2.26.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2020.12.5)
Requirement already satisfied: six in /home/pi/oprint/lib/python3.7/site-packages (from websocket-client<1,>=0.59->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.15.0)
Requirement already satisfied: ifaddr>=0.1.7 in /home/pi/oprint/lib/python3.7/site-packages (from zeroconf<0.34,>=0.33->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.7)
Collecting PyP100
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.12-py3-none-any.whl (5.8 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.11-py3-none-any.whl (5.8 kB)
Downloading PyP100-0.0.10.tar.gz (4.2 kB)
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-paxsshdn/pyp100_4be83d9337d24d0ea8124d9bb8824ff5/setup.py'"'"'; file='"'"'/tmp/pip-install-paxsshdn/pyp100_4be83d9337d24d0ea8124d9bb8824ff5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-_o61i1f2
cwd: /tmp/pip-install-paxsshdn/pyp100_4be83d9337d24d0ea8124d9bb8824ff5/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-paxsshdn/pyp100_4be83d9337d24d0ea8124d9bb8824ff5/setup.py", line 6, in
with open('HISTORY.md') as history_file:
FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.md'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output


OctoPrint version : 1.7.0
OctoPi version : 0.18.0

Hello,

I had same issue. I use following workaround:

  • Download PyP100 0.0.10 archive from internet. For ex:
    https://files.pythonhosted.org/packages/d2/cb/58b3913adfb7515bf04721f8c31f210925d74cd191d723d24ec785521e3e/PyP100-0.0.10.tar.gz
  • Put downloaded file on your desktop
  • Create a text file named "HISTORY.md" on your desktop . Be carefull to use .md as extension.
  • Open PyP100-0.0.10.tar.gz with 7zip and navigate to following path:
    Desktop\PyP100-0.0.10.tar.gz\PyP100-0.0.10.tar\PyP100-0.0.10\
  • Drop HISTORY.md file on 7zip view and confirm adding file to archive.
  • Connect to your Pi system via ssh and upload the updated tar.gz to pi home directory
  • Install PyP100 library manually with following command:
    /home/pi/oprint/bin/python3 -m pip install /home/pi/PyP100-0.0.10.tar.gz
  • Finally, install Tapo plugin via Octprint GUI .

Hope it will help ;)

Hi, I have the same error that GoganGogan, with the same error message.

I tried what batreseau explain, but the I get this error message:

_pi@octopi:~ $ /home/pi/oprint/bin/python3 -m pip install /home/pi/PyP100-0.0.10.tar.gz
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./PyP100-0.0.10.tar.gz
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-t809ty_4/setup.py'"'"'; file='"'"'/tmp/pip-req-build-t809ty_4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1ft84fc0
cwd: /tmp/pip-req-build-t809ty_4/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/oprint/lib/python3.7/tokenize.py", line 447, in open
buffer = builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-t809ty_4/setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.3.3; however, version 21.3.1 is available.
You should consider upgrading via the '/home/pi/oprint/bin/python3 -m pip install --upgrade pip' command.

Any idea?

Then I have tried to update the pip ti 21.3.1 as error message told:
pi@octopi:~ $ /home/pi/oprint/bin/python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in ./oprint/lib/python3.7/site-packages (20.3.3)
Collecting pip
Downloading https://www.piwheels.org/simple/pip/pip-21.3.1-py3-none-any.whl (1.7 MB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.7 MB 984 kB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3.3
Uninstalling pip-20.3.3:
Successfully uninstalled pip-20.3.3
Successfully installed pip-21.3.1

But now I get this message error:

pi@octopi:~ $ /home/pi/oprint/bin/python3 -m pip install /home/pi/PyP100-0.0.10.tar.gz
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./PyP100-0.0.10.tar.gz
ERROR: file:///home/pi/PyP100-0.0.10.tar.gz does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Any idea?

Hi Janseta,
I had the same problem but with the help of the cp2004 from octoprint discord server he managed to solve the problem with these steps:

  • SSH to your octopi
  • source ~/oprint/bin/activate
  • pip install one
  • python -m pip install --upgrade pip
  • pip install pycryptodome==3.9.8 pkcs7==0.1.2
  • pip install PyP100 --no-deps
  • pip install https://github.com/Tyfy/OctoPrint-TapoSmartplug/archive/master.zip
  • sudo reboot pi

The library has a dependency conflict with OctoPrint, so it counts back until it finds one that works. So this should work.

Hi cryptedwcoder,
I used your instructions, and it seems to work.. (altough some erros warnings...)
But I have a question:
at the end, it uninstall " OctoPrint-1.7.2" and installs "OctoPrint-1.6.1"...
Can i Reinstall 1.72 or TAPOSMARTPLUG only works with 1.6.1?

(oprint) pi@octopi:~ $ pip install https://github.com/Tyfy/OctoPrint-TapoSmartplug/archive/master.zip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/Tyfy/OctoPrint-TapoSmartplug/archive/master.zip
Downloading https://github.com/Tyfy/OctoPrint-TapoSmartplug/archive/master.zip
/ 2.5 MB 822 kB/s
Preparing metadata (setup.py) ... done
Requirement already satisfied: OctoPrint in ./oprint/lib/python3.7/site-packages (from OctoPrint-TapoSmartplug==0.0.1) (1.7.2)
Requirement already satisfied: uptime in ./oprint/lib/python3.7/site-packages (from OctoPrint-TapoSmartplug==0.0.1) (3.0.1)
Requirement already satisfied: PyP100 in ./oprint/lib/python3.7/site-packages (from OctoPrint-TapoSmartplug==0.0.1) (0.0.13)
Requirement already satisfied: netifaces<1,>=0.11 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.11.0)
Requirement already satisfied: semantic-version<3,>=2.8.5 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.8.5)
Requirement already satisfied: markupsafe<2.0,>=1.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.1)
Requirement already satisfied: watchdog==0.10.4 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.10.4)
Requirement already satisfied: PyYAML<6,>=5.4.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (5.4.1)
Requirement already satisfied: regex!=2018.11.6 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2020.11.13)
Requirement already satisfied: future<1,>=0.18.2 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.18.2)
Requirement already satisfied: pathvalidate<3,>=2.4.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.5.0)
Requirement already satisfied: emoji<2,>=1.4.2 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.6.1)
Requirement already satisfied: psutil<6,>=5.8 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (5.8.0)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.5.0)
Requirement already satisfied: Click<8,>=7.1.2 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (7.1.2)
Requirement already satisfied: Flask-Babel<2,>=1.0 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.0)
Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.8)
Requirement already satisfied: markdown<3.2,>=3.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (3.1.1)
Requirement already satisfied: tornado<7,>=6 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (6.1)
Requirement already satisfied: flask<2,>=1.1.4 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.4)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2021.10.11)
Requirement already satisfied: feedparser<7,>=6.0.8 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (6.0.8)
Requirement already satisfied: sentry-sdk<2,>=1.3.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.5.0)
Requirement already satisfied: colorlog<6,>=5.0.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (5.0.1)
Requirement already satisfied: wrapt<1.13,>=1.12.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.12.1)
Requirement already satisfied: cachelib<0.2,>=0.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.1)
Requirement already satisfied: pkginfo<2,>=1.7.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.7.1)
Requirement already satisfied: requests<3,>=2.26.0 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.26.0)
Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2021.10.28)
Requirement already satisfied: blinker<2,>=1.4 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.4)
Requirement already satisfied: websocket-client<1,>=0.59 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.59.0)
Requirement already satisfied: sarge==0.1.6 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.6)
Requirement already satisfied: netaddr<0.9,>=0.8 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.8.0)
Requirement already satisfied: filetype<2,>=1.0.7 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.7)
Requirement already satisfied: werkzeug<2,>=1.0.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.1)
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2021.2.23)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.1.0)
Requirement already satisfied: pyserial<4,>=3.4 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (3.5)
Requirement already satisfied: zeroconf<0.34,>=0.33 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.33.4)
Requirement already satisfied: Jinja2<3,>=2.11.3 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.11.3)
Requirement already satisfied: Flask-Assets<3,>=2.0 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.0)
Requirement already satisfied: pylru<2,>=1.2 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.2.0)
Requirement already satisfied: immutabledict<3,>=2.1 in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.2.1)
Requirement already satisfied: unidecode in ./oprint/lib/python3.7/site-packages (from OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.4.21)
Requirement already satisfied: pathtools>=0.1.1 in ./oprint/lib/python3.7/site-packages (from watchdog==0.10.4->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.2)
Requirement already satisfied: pycryptodome==3.9.8 in ./oprint/lib/python3.7/site-packages (from PyP100->OctoPrint-TapoSmartplug==0.0.1) (3.9.8)
Collecting PyP100
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.12-py3-none-any.whl (5.8 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.11-py3-none-any.whl (5.8 kB)
Downloading PyP100-0.0.10.tar.gz (4.2 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-61rzc2uh/pyp100_432c3fe003a0440fac99c929c45130bb/setup.py'"'"'; file='"'"'/tmp/pip-install-61rzc2uh/pyp100_432c3fe003a0440fac99c929c45130bb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-djn2y0_5
cwd: /tmp/pip-install-61rzc2uh/pyp100_432c3fe003a0440fac99c929c45130bb/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-61rzc2uh/pyp100_432c3fe003a0440fac99c929c45130bb/setup.py", line 6, in
with open('HISTORY.md') as history_file:
FileNotFoundError: [Errno 2] No such file or directory: 'HISTORY.md'

WARNING: Discarding https://files.pythonhosted.org/packages/d2/cb/58b3913adfb7515bf04721f8c31f210925d74cd191d723d24ec785521e3e/PyP100-0.0.10.tar.gz#sha256=01db3b02e918ea9a674f25d4505ef705d9be23a37043ed322fe5f4612766bea8 (from https://pypi.org/simple/pyp100/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.9-py3-none-any.whl (5.4 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.8-py3-none-any.whl (5.3 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.7-py3-none-any.whl (5.3 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.6-py3-none-any.whl (5.3 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.5-py3-none-any.whl (5.3 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.4-py3-none-any.whl (5.3 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.3-py3-none-any.whl (4.9 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.2-py3-none-any.whl (4.8 kB)
Downloading https://www.piwheels.org/simple/pyp100/PyP100-0.0.1-py3-none-any.whl (4.5 kB)
INFO: pip is looking at multiple versions of watchdog to determine which version is compatible with other requirements. This could take a while.
Collecting watchdog==0.10.4
Using cached https://www.piwheels.org/simple/watchdog/watchdog-0.10.4-py3-none-any.whl (76 kB)
INFO: pip is looking at multiple versions of sarge to determine which version is compatible with other requirements. This could take a while.
Collecting sarge==0.1.6
Using cached https://www.piwheels.org/simple/sarge/sarge-0.1.6-py3-none-any.whl (19 kB)
INFO: pip is looking at multiple versions of octoprint to determine which version is compatible with other requirements. This could take a while.
Collecting OctoPrint
Downloading https://www.piwheels.org/simple/octoprint/OctoPrint-1.7.2-py2.py3-none-any.whl (3.9 MB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3.9 MB 1.8 MB/s
INFO: pip is looking at multiple versions of watchdog to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while.
Downloading https://www.piwheels.org/simple/octoprint/OctoPrint-1.7.1-py2.py3-none-any.whl (3.9 MB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3.9 MB 1.1 MB/s
Downloading https://www.piwheels.org/simple/octoprint/OctoPrint-1.7.0-py2.py3-none-any.whl (3.9 MB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3.9 MB 9.5 kB/s
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: pip is looking at multiple versions of sarge to determine which version is compatible with other requirements. This could take a while.
Downloading https://www.piwheels.org/simple/octoprint/OctoPrint-1.6.1-py2.py3-none-any.whl (3.9 MB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3.9 MB 90 kB/s
Collecting tornado==5.1.1
Using cached https://www.piwheels.org/simple/tornado/tornado-5.1.1-cp37-cp37m-linux_armv7l.whl (463 kB)
Collecting immutabledict<2,>=1.2.0
Downloading https://www.piwheels.org/simple/immutabledict/immutabledict-1.3.0-py3-none-any.whl (3.8 kB)
Collecting sarge==0.1.5post0
Using cached https://www.piwheels.org/simple/sarge/sarge-0.1.5.post0-py3-none-any.whl (19 kB)
Collecting emoji<1,>=0.5.4
Using cached https://www.piwheels.org/simple/emoji/emoji-0.6.0-py3-none-any.whl (50 kB)
Collecting zeroconf<0.25,>=0.24
Using cached https://www.piwheels.org/simple/zeroconf/zeroconf-0.24.5-py3-none-any.whl (65 kB)
Collecting sentry-sdk<1,>=0.15.1
Downloading https://www.piwheels.org/simple/sentry-sdk/sentry_sdk-0.20.3-py2.py3-none-any.whl (131 kB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 131 kB 856 kB/s
Collecting requests<3,>=2.23.0
Downloading https://www.piwheels.org/simple/requests/requests-2.24.0-py2.py3-none-any.whl (61 kB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61 kB 106 kB/s
Requirement already satisfied: pkcs7==0.1.2 in ./oprint/lib/python3.7/site-packages (from PyP100->OctoPrint-TapoSmartplug==0.0.1) (0.1.2)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./oprint/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.25.11)
Requirement already satisfied: idna<3,>=2.5 in ./oprint/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in ./oprint/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2020.12.5)
Requirement already satisfied: chardet<4,>=3.0.2 in ./oprint/lib/python3.7/site-packages (from requests<3,>=2.23.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (3.0.4)
Requirement already satisfied: sgmllib3k in ./oprint/lib/python3.7/site-packages (from feedparser<7,>=6.0.8->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.0.0)
Requirement already satisfied: webassets>=2.0 in ./oprint/lib/python3.7/site-packages (from Flask-Assets<3,>=2.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.0)
Requirement already satisfied: Babel>=2.3 in ./oprint/lib/python3.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2.9.0)
Requirement already satisfied: pytz in ./oprint/lib/python3.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (2020.5)
Requirement already satisfied: setuptools>=36 in ./oprint/lib/python3.7/site-packages (from markdown<3.2,>=3.1->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (51.1.2)
Requirement already satisfied: six in ./oprint/lib/python3.7/site-packages (from websocket-client<1,>=0.59->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (1.15.0)
Requirement already satisfied: ifaddr in ./oprint/lib/python3.7/site-packages (from zeroconf<0.25,>=0.24->OctoPrint->OctoPrint-TapoSmartplug==0.0.1) (0.1.7)
Building wheels for collected packages: OctoPrint-TapoSmartplug
Building wheel for OctoPrint-TapoSmartplug (setup.py) ... done
Created wheel for OctoPrint-TapoSmartplug: filename=OctoPrint_TapoSmartplug-0.0.1-py3-none-any.whl size=2480974 sha256=e582a602df86bd3e36db6d06c6dbe2fc1b3832c4c6beec71a4427c7ecad09dad
Stored in directory: /tmp/pip-ephem-wheel-cache-13u1ks09/wheels/d3/a4/2e/f8aef65940498c2f3ab7bbb0232fda6714b6538d67ac405ceb
Successfully built OctoPrint-TapoSmartplug
Installing collected packages: zeroconf, tornado, sentry-sdk, sarge, requests, immutabledict, emoji, OctoPrint, OctoPrint-TapoSmartplug
Attempting uninstall: zeroconf
Found existing installation: zeroconf 0.33.4
Uninstalling zeroconf-0.33.4:
Successfully uninstalled zeroconf-0.33.4
Attempting uninstall: tornado
Found existing installation: tornado 6.1
Uninstalling tornado-6.1:
Successfully uninstalled tornado-6.1
Attempting uninstall: sentry-sdk
Found existing installation: sentry-sdk 1.5.0
Uninstalling sentry-sdk-1.5.0:
Successfully uninstalled sentry-sdk-1.5.0
Attempting uninstall: sarge
Found existing installation: sarge 0.1.6
Uninstalling sarge-0.1.6:
Successfully uninstalled sarge-0.1.6
Attempting uninstall: requests
Found existing installation: requests 2.26.0
Uninstalling requests-2.26.0:
Successfully uninstalled requests-2.26.0
Attempting uninstall: immutabledict
Found existing installation: immutabledict 2.2.1
Uninstalling immutabledict-2.2.1:
Successfully uninstalled immutabledict-2.2.1
Attempting uninstall: emoji
Found existing installation: emoji 1.6.1
Uninstalling emoji-1.6.1:
Successfully uninstalled emoji-1.6.1
Attempting uninstall: OctoPrint
Found existing installation: OctoPrint 1.7.2
Uninstalling OctoPrint-1.7.2:
Successfully uninstalled OctoPrint-1.7.2
Successfully installed OctoPrint-1.6.1 OctoPrint-TapoSmartplug-0.0.1 emoji-0.6.0 immutabledict-1.3.0 requests-2.24.0 sarge-0.1.5.post0 sentry-sdk-0.20.3 tornado-5.1.1 zeroconf-0.24.5
(oprint) pi@octopi:~ $

There shouldn't be a problem with reinstalling it, because how the code is written, it remains dependent on the old version, but it has nothing to do with the operation of the plugin. The library problem is also caused by the same problem. BTW I am getting a bolt spinning error even though I downloaded it successfully, I hope you can fix that.

Hey all, I had the same issue as @GoganGogan, so digging into TapoP100 repo i can see that the HISTORY.md file exists in a later version (0.0.13), although a previous version was being retrieved when i was installing this Plugin in OctoPrint. I forked Tapo100 in order to upgrade also the requests version to 2.26.0, to match the one used in OctoPrint. Then made my TapoP100 fork as a requirement to my own fork of this repo, to make it available as direct install on OctoPrint. I have installed it on a fresh install of OctoPrint and also my PROD version and is getting installed and worked just fine. You can use https://github.com/harisjmd/OctoPrint-TapoSmartplug/archive/refs/heads/master.zip to install it in OctoPrint directly

Cool, can you add it to Octoprint Repo?

Will try to add it in the coming days and will update here.

Thanks, mate, finding someone to add this to the plugin repo was what everyone was waiting for. You can use this guide to add it to the octoprint repo. Since you already forked it, it will be much easier to add it to repo.

Shame, I get an error:
Stored in directory: /tmp/pip-ephem-wheel-cache-f9s9fei6/wheels/2a/3a/db/bf034a525bef23d9afd2e15de36462ba7b6126cd707d1d0a89
Successfully built OctoPrint-TapoSmartplug PyP100
Installing collected packages: pycryptodome, pkcs7, uptime, PyP100, OctoPrint-TapoSmartplug
Attempting uninstall: pycryptodome
Found existing installation: pycryptodome 3.4.3
Uninstalling pycryptodome-3.4.3:
Successfully uninstalled pycryptodome-3.4.3
Successfully installed OctoPrint-TapoSmartplug-0.0.2 PyP100-0.0.14 pkcs7-0.1.2 pycryptodome-3.9.8 uptime-3.0.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
octoapp 1.0.6 requires pycryptodome==3.4.3, but you have pycryptodome 3.9.8 which is incompatible.

Β‘Done!

but... IT WORKS!!!!
Thanks everybody πŸ’―

Hi there!

I just installed this but the icon still spinning around and I'm not able to switch off/on the Tapo100 from octoprint...
This is what the log said, any ideas??

[2022-01-21 10:24:33,664] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:26:16,473] DEBUG: abortTimeout: 30 [2022-01-21 10:26:16,474] DEBUG: powerOffWhenIdle: True [2022-01-21 10:26:16,475] DEBUG: idleTimeout: 10 [2022-01-21 10:26:16,482] DEBUG: idleIgnoreCommands: M105 [2022-01-21 10:26:16,483] DEBUG: idleTimeoutWaitTemp: 10 [2022-01-21 10:26:16,484] DEBUG: powering on due to startup. [2022-01-21 10:26:16,484] DEBUG: powering on 192.168.1.35/0 due to startup. [2022-01-21 10:26:16,485] DEBUG: Turning on 192.168.1.35/0. [2022-01-21 10:26:16,485] DEBUG: {'autoConnect': True, 'autoConnectDelay': 10, 'autoDisconnect': True, 'autoDisconnectDelay': 0, 'automaticShutdownEnabled': True, 'btnColor': '#808080', 'countdownOffDelay': 1, 'countdownOnDelay': 1, 'currentState': 'unknown', 'displayWarning': False, 'emeter': {'get_realtime': {}}, 'event_on_disconnect': False, 'event_on_error': False, 'event_on_startup': True, 'event_on_upload': False, 'gcodeEnabled': False, 'gcodeOffDelay': 0, 'gcodeOnDelay': 0, 'icon': 'icon-bolt', 'ip': '192.168.1.35/0', 'label': '3D', 'password': 'heroes15', 'sysCmdOff': True, 'sysCmdOffDelay': '1', 'sysCmdOn': True, 'sysCmdOnDelay': '1', 'sysRunCmdOff': '@TAPOOFF 192.168.1.35', 'sysRunCmdOn': '@TAPOON 192.168.1.35', 'thermal_runaway': True, 'useCountdownRules': False, 'username': 'sharlie_89@hotmail.com', 'warnPrinting': True} [2022-01-21 10:28:08,195] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:28:08,195] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:29:32,611] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:29:32,612] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:29:33,319] DEBUG: Settings saved, Automatic Power Off Enabled, starting idle timer... [2022-01-21 10:29:43,679] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:29:43,680] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:30:35,215] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:30:35,216] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:39:26,085] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:39:26,085] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:40:02,079] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:40:02,079] DEBUG: Checking status of 192.168.1.35/0. [2022-01-21 10:46:45,055] DEBUG: ImmutableMultiDict([('checkStatus', '192.168.1.35/0')]) [2022-01-21 10:46:45,056] DEBUG: Checking status of 192.168.1.35/0.

Hi there!

I just installed this but the icon still spinning around and I'm not able to switch off/on the Tapo100 from octoprint...

Same problem here, any ideas?
Thanks in advance!

I just installed as 7 messages up, and it worked....
use https://github.com/harisjmd/OctoPrint-TapoSmartplug/archive/refs/heads/master.zip to install it in OctoPrint directly

Ensure you put the rigt ip of the Tapo...
In my case, sometimes my router changes the IP of Tapo, and then happends that the icon spinns around and I'm not able to switch off/on the Tapo100 from octoprint...
So, ensure the ip is right...

this are my settings, may be it helps you...
image
image

That doesnt work for me... I'm sure about the IP also...

I just installed as 7 messages up, and it worked.... use https://github.com/harisjmd/OctoPrint-TapoSmartplug/archive/refs/heads/master.zip to install it in OctoPrint directly

Ensure you put the rigt ip of the Tapo... In my case, sometimes my router changes the IP of Tapo, and then happends that the icon spinns around and I'm not able to switch off/on the Tapo100 from octoprint... So, ensure the ip is right...

this are my settings, may be it helps you... image image

Hi

Did a clean install, used your exact settings. Still not working. I work with static IPs. Maybe Tapo hardware/firmware related!?

IMG_0531

Now that finally worked for me as well!!
Using https://github.com/harisjmd/OctoPrint-TapoSmartplug/archive/refs/heads/master.zip to install.

All other packages from tyfy or a0s didn't work for me, but miraculously this one did!
Thanks a lot!

Hi

Did a clean install, used your exact settings. Still not working. I work with static IPs. Maybe Tapo hardware/firmware related!?

IMG_0531

I have the same Hardware version....
my firmware is 1.4.9...

I hav not more help to give, sorry

Update for the ones that could not make it work: There is a PSU Control Tapo Plugin, works fine for me
tapo

@janseta thank you for your support and dedication!