Tyfy/OctoPrint-TapoSmartplug

[BUG]: Can't get it to work

Opened this issue · 1 comments

Describe the bug
Firstly can't install the plugin over the webinterface but managed it by this thread #10 . Now the issue is I can't get it to work while all is correct (IP, Username [eMail Address], Password). The other issue is that the installation over SSH rolled back OctoPrint to version 1.6.1. Now OctoPrint is reporting a new version (1.7.3) but I can't update because your plugin does block it. And btw. the spinning icon can't be fixed with the link in the mentioned thread.

The weird is that I switched now to the English language to get you a screenshot to understand and the version is now 1.7.3 again. It looks like it sprints back and forth.

To Reproduce

  1. Update to OctoPrint version 1.7.3
  2. Connect to OctoPrint via SSH
  3. Type: source ~/oprint/bin/activate
  4. Type: pip install one
  5. Type: python3 -m pip install --upgrade pip
  6. Type: pip install pycryptodome==3.9.8 pkcs7==0.1.2
  7. Type: pip install PyP100 --no-deps
  8. Download: https://files.pythonhosted.org/packages/d2/cb/58b3913adfb7515bf04721f8c31f210925d74cd191d723d24ec785521e3e/PyP100-0.0.10.tar.gz , create file HISTORY.md and put it in the archive
  9. Upload the modified PyP100-0.0.10.tar.gz to your Pi
  10. Install it with pip install PyP100-0.0.10.tar.gz
  11. After: pip install https://github.com/Tyfy/OctoPrint-TapoSmartplug/archive/master.zip
  12. Reboot the Pi.

Expected behavior
I can switch the plug on and off after and got the latest OctoPrint version.

Screenshots
Bildschirmfoto vom 2022-02-09 15-25-45

Logs
octoprint.log
plugin_pluginmanager_console.log
plugin_softwareupdate_console.log
plugin_taposmartplug_debug.log

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.3 LTS (Linux)
  • Browser [e.g. chrome, safari]: Brave (Chromium based)

Pi

  • OctoPrint Version [e.g. 22]: 1.7.3
  • OctoPi Version: 0.18.0
  • Python Version: 3.7.3
  • Plugin Version: 0.0.1

Additional context
When I want to install one:

Bildschirmfoto vom 2022-02-09 15-56-30

i've successfully installed plugin and command my plug. for this i've do:
-connect to the pi with ssh and update pip in last version. (if you already have pass this step)
-open octoprint and install this first: https://github.com/jneilliii/TapoP100/archive/refs/heads/main.zip
-reboot
-open octoprint and install this : https://github.com/a0s/OctoPrint-TapoSmartplug/archive/refs/heads/master.zip
-reboot
-configure plugin with ip of your plug, login and password are your login and pass you use tou connect to your Tapo app.

normally after this it works.
thanks to jneilliii who have help me.
sorry everyone for my bad english.