Tyfy / OctoPrint-TapoSmartplug

17 stars 12 forks source link

[BUG]: #1

Open DocZagreus opened 3 years ago

DocZagreus commented 3 years ago

Hi! Thanks a lot for this plugin! Thanks to you I am able to control my printer using a Tapo P100 smartplug. The only issue I have, is that it seems that the Tapo Smartplug switch on Octoprint main page, doesn't seem to work.

Schermata 2021-02-10 alle 09 30 12 It doesn't matter if it is switched on or off, after the delay I set for the printer to turn off (600 sec.) the printer switches off. Here are my parameters, probably I'm missing something on the right setting to make this work at 100%, but again, thanks a lot for the incredibly useful plugin. I can't believe I can control my printer with a 10 euros smart plug ^^

Schermata 2021-02-10 alle 09 27 37 Schermata 2021-02-10 alle 09 27 46

whooooosh1 commented 3 years ago

Hi, I'm not able to help you with your issue. infact I have an issue my self and I was wondering if you can maybe answer my question cause it seems that your tapo smartplug does switch on or off. My question is if that you have changed anything in the python code that was needed for the plug to work? Or did you just installed the plugin, fill in your details on octoprint and then it worked? Also, I'm not sure what they meant by the things that you need to fill in. did you put in 1.1.1.1 of 1.1.1.1/0 by ip address (example). What did you put in by label? Is this a name you can make up so it shows on the navbar, is this the name that you gave the plug in the tapo app or is this the name that you need to give the plug via your router? By username do you need to set your username as the name of your tape app, do you need to fill in your email of the tapo app or is there some kind of username and password pregiven that i don't know about? And then the password. Is this the password of your tapo app account or is this again a pregiven password?

As you can see is there a lot of indistinctness for me. I hope you can help because it seems that you have the plug somewhat working

DocZagreus commented 3 years ago

I try my best to help you. I just installed the plugin, no changes. In the IP Address field I wrote the IP I can see on the Tapo App. I haven't added any /0 or anything, just the IP. The Label is the name that will appear under the lightbulb icon in Octoprint's NavBar (I named mine "Presa Elvira"), and I named it the same as I did on the app (dunno if I have to, but I did). For the username I wrote the email address I used to create my Tapo account. The password is the Tapo App password.

whooooosh1 commented 3 years ago

Thank you very much!, I'm not sure what I did wrong but I reinstalled the plugin filled in the things you said and now it works (for so far)

thank you very much you made my day

(oh and i'm sorry for your issue)