artemvang / p100-go Goto Github PK
View Code? Open in Web Editor NEWLibrary for communicating with Tapo P100 smart plug
License: MIT License
Library for communicating with Tapo P100 smart plug
License: MIT License
I have a problem, I really like Tapo P100 and want to change my starting status.
My problem is that after a power outage, the p100 does not remember theprevious state and is always turned off.
How do I changeit ? Is there any setting for a power outage?
I'm trying to understand your example code to use it myself.
plug := p100.New("192.168.0.100", "[email protected]", "password")
if err := device.Handshake(); err != nil {
log.Panic(err)
}
Why do you use device.Handshake()? And not plug.Handshake() or p100.Handshake()?
Where is the word device come from?
Thanks in advance, best regards
Jan Willem
Hi Artemvag!
Isn't there something changed on the TP-Link side?
My small utility now returns:
panic: Got error code 9999
when calling:
deviceInfo, err := device.GetDeviceInfo()
if err != nil {
log.Panic(err)
}
I would say that it is not actually an issue of your library, it seems to be a result of a change on TP-Link side. Am I right?
Best Regards,
Jan
Error code 1003 during Handshake()
New change to the tapo API probably.
It's the same error code to several tapo plugs.
I'm not sure how to find out what the correct json and such should be, or I could fix it myself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.