Tyfy / OctoPrint-TapoSmartplug

17 stars 12 forks source link

[BUG]: Not working, bolt icon spinning #7

Open ipa64 opened 3 years ago

ipa64 commented 3 years ago

Describe the bug I added my Taco device (only one) using all requested information. I have verified all, include username (email), password. The bolt icon get spinning Under Tapo smart plug there is no information.

I tried to use the assiciate name instead of the email. I tried to uninstall all, and reinstall.

Tapo firmware 1.3.4

Thank you

ipa64 commented 3 years ago

Yes working ! Password issue ! https://github.com/fishbigger/TapoP100/issues/1 Changed password to 8 characters lowercases only letter, and now working

DeWolfRobin commented 3 years ago

Is it still possible to get this fixed? Passwords like these are really not secure...

ipa64 commented 3 years ago

A issue is already open at the source, but sadly no movement https://github.com/fishbigger/TapoP100/issues/1

mr-mbello commented 2 years ago

I'm still having this spinning bolt thing, on py3.7.3, silly password (testing1), and email as username. I dont understand what i'm missing :(

simonegiusti commented 2 years ago

Me too ... spinning icon and no connection ...

janseta commented 2 years ago

Same to me... spining with no succes... In my case, the pasword was only 8 alfanumeric , but no way...

cryptedwcoder commented 2 years ago

This plugin needs to be updated urgently "tapo" is a very common smart plug in the world due to its cheap price, but it is a shame that this plugin has such problems.

mr-mbello commented 2 years ago

I had "fixed" mine previously. Turns out it was a TypeError but now it's broken again after an octoprint update...

rontana commented 2 years ago

There is already a PR which fixes this issue: https://github.com/Tyfy/OctoPrint-TapoSmartplug/pull/9/files but as its not been merged yet Ive resorted up hacking it into <venv_path>/site-packages/octoprint_taposmartplug/__init__.py

cryptedwcoder commented 2 years ago

Oh I can try that.

cryptedwcoder commented 2 years ago

Should I need to change anything after that like my password or username and can you share step-by-step instructions please?

simonegiusti commented 2 years ago

I can confirm that after editing _init__.py in installation package it works ! I unistalled and installed again.

cryptedwcoder commented 2 years ago

The part that confuses me is that I cannot upload octoprint plugins as a zip file. I can only upload it as a link over ssh. How do you modify the init.py file and load it into the octoprint?

simonegiusti commented 2 years ago

The part that confuses me is that I cannot upload octoprint plugins as a zip file. I can only upload it as a link over ssh. How do you modify the init.py file and load it into the octoprint?

I installed Octoprint on a notebook running Ubuntu. I had no problem in installing TapoSmartPlug loading .zip file. I manually edited init__py file before uploading.

rontana commented 2 years ago

The part that confuses me is that I cannot upload octoprint plugins as a zip file. I can only upload it as a link over ssh. How do you modify the init.py file and load it into the octoprint?

you could try using the zip URL for the fork where that pull request is from:

https://github.com/a0s/OctoPrint-TapoSmartplug/archive/refs/heads/master.zip

cryptedwcoder commented 2 years ago

It worked thanks rontana.

kaza007 commented 1 year ago

nice work rontana :)