KusoKaihatsuSha / appgotapo

Unofficial CLI app for remoting model cameras TP Link Tapo (C200, C210, C220, C310 ...)
MIT License
41 stars 4 forks source link

package appgotapo: cannot find package "appgotapo" #1

Closed ruirigel closed 1 year ago

ruirigel commented 2 years ago

I don't think it's a coding problem, maybe the problem is me, being the first time trying to run go. When i try to execute your script it shows this info in the terminal:

go run appgotapo -host address:553 -u username -p password -do "night_on"
package appgotapo: cannot find package "appgotapo" in any of:
        /usr/lib/go-1.13/src/appgotapo (from $GOROOT)
        /home/x/go/src/appgotapo (from $GOPATH)

I am trying to connect to a tapo externally by your code. could you help me?

KusoKaihatsuSha commented 2 years ago

Try: go run github.com/KusoKaihatsuSha/appgotapo@v1 -host address:553 -u username -p password -do "night_on"