Code Monkey home page Code Monkey logo

appgotapo's Issues

Private mode options reversed in documentation

Firstly, this is a great utility for managing a Tapo camera

There is a small documentation issue

Private mode options are reversed to documentation (at least on a C210)

on turns camera on ( so turns off private mode)
off turns camera off ( so turns on private mode)

Noob needs help

I want to use your app to switch ON/OFF the night vision on my Tapo C310 camera. I have installed Go into C:\Program Files and made a batch file called Tapo.bat in my Documents folder that contains the following lines:

go run github.com/KusoKaihatsuSha/appgotapo@v1 -host address: 192.168.1.66 -u Conservatory -p ******** -do "night_on"
timeout /t 5 /nobreak >nul

The batch file appears to run ok, waits 5 sec then closes. However, on the Tapo iPhone app, the night vision mode remains on Daylight mode.

Can you please point me to where I might be doing something wrong.

Thank you.

EDIT:
Got it working with:
go run github.com/KusoKaihatsuSha/appgotapo@v1 -host=192.168.1.66 -u admin -p ******** -do "night_on"

Is there an appgotapo.exe that can be used if offline? I would like to be able to run standalone, ie:

appgotapo.exe -host=192.168.1.66 -u admin -p ******** -do "night_on"

Is this possible?

EDIT2:
Found appgotapo_windows_amd64.exe. Now works perfectly.

Many thanks for this.

package appgotapo: cannot find package "appgotapo"

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?

Authenticate failed after previously working

The following command was working fine up until about 3 days ago:

.\appgotapo.exe -host="192.168.x.x" -u="admin" -p="tapoPassword" -do="move:10_0"

"tapoPassword" in the command above is my Tapo cloud account's password and not the local RTSP account's password.

The camera's firmware has not been updated recently and the command was not modified.

Since the issue started, the following error is displayed any time the command is run.

To clarify, this exact setup has been working perfectly until 3 days ago.

Authenticate failed. Try use another cred. login - "admin", password - your password in Tapo account.
App will be trying with "admin" with next operation(if your pass on rtsp equal pass your account). If next operation exist.
panic: runtime error: index out of range [0] with length 0

goroutine 19 [running]:
github.com/KusoKaihatsuSha/gotapo.(*Tapo).getDevice(0xc0000e6000)
        C:/Users/skald/go/pkg/mod/github.com/!kuso!kaihatsu!sha/[email protected]/gotapo.go:1677 +0x3af
github.com/KusoKaihatsuSha/gotapo.Connect({0xc0000b004e, 0xc}, {0xc00009c09b, 0x5}, {0xc0000b0063, 0x10})
        C:/Users/skald/go/pkg/mod/github.com/!kuso!kaihatsu!sha/[email protected]/gotapo.go:1371 +0x159
main.main.func1({0xc0000b004e?, 0x0?})
        c:/Users/skald/Downloads/_camtest/appgotapo/main.go:37 +0x45
created by main.main in goroutine 1
        c:/Users/skald/Downloads/_camtest/appgotapo/main.go:36 +0x2d8

System information:
Computer:
Windows 11 Pro 23H2 build 22631.3527
appgotapo v1.0.5 amd64 (unmodified release file)
Windows Terminal - Default command prompt profile

Camera:
Tapo C200 v3
Firmware 1.3.13 build 240327 Rel.63336n(4555)

Latest camera firmware

Appgotapo is not able to log in to the camera since the camera firmware was updated to the latest firmware in Dec 2023. Are you able to supply a fix for this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.