Comments (8)
How are you progressing with the wifi features? I actually need to use them. Has your PR been submitted yet?
from pyhs100.
I believe the PR was closed a few weeks ago due to inactivity.
from pyhs100.
sorry i have not gotten to this. I had a lot of thing take place and some of my projects ended up having to be put on the back burner. I will finish it up i just do not know when.
from pyhs100.
Thanks for the update. I've taken some of your changes into my fork to use for now. Thanks for the work
from pyhs100.
I have been working on this a bit over the past 2 weeks. I will have to change the code in order to work with your library. I have a project that uses python 2.7 and since this library only supports python 3+ i had to write a python 2 version of it.
I have all of the above features working. The only thing left to do is to port the changes or I can zip up the code and you can add what ever features you want. Up to you how you want to go about it.
from pyhs100.
We'd much rather prefer a pull request so we can review what's changed, etc.
from pyhs100.
OK cool. no worries there.
I have added a couple of things like the setting of the date and time as well as changed the discovery process to handle the possibility of a user having 2 network cards and the binding order set so that the network that the TPLink devices are on is not the first one in the list. It enumerates all NIC's and will send out a broadcast on each network that the NIC is associated with. Each NIC the discovery is run in it's own thread. so if the timeout is set to 3 seconds it will still take only 3 seconds to finish up.
There is also an issue with the Kasa App not setting the devices up properly and it has something to do with the setting of the time. So if this problem is encountered during the discovery process it will correct the issue on the device and restart the discovery. If the issue is not corrected the schedules, countdown timer and anti-theft will not work. The problem only occurs during the setup of the device when it is initially configured.
I also mapped out the different encryption options for setting of the access point. and you are able to set the device to a network that does not have any encryption enabled YAY! Not being able to do that was actually coded into the Kasa app and not the device it's self.
I have been working on getting the schedule, countdown, and anti-theft added.
The date and time I created a helper class for and set that helper class into the smartdevice class as an attribute named "device_time". and the class has properties for getting and setting all of the different elements in the time. Month, Year, Day, Hour, Minute, Second. It also has a get and set method that returns/accepts a datetime.datetime instance.
As far as the time goes if you can pass me the returned json data for this query
"time", dict(get_time=None, get_timezone=None)
this will be helpful in me mapping out the time zones. this way I can create a tzinfo subclass that i can attach to the datetime.datetime instance and also use the tzinfo if one is attached in setting the timezone. They have some kind of an index for the time zones that doesn't match to the utc offset
from pyhs100.
We are closing this repository for new changes in favor of a new, asyncio-enabled continuation project: https://github.com/python-kasa/python-kasa
If the issue is still present in the new project, please feel free to open an issue there, thanks!
from pyhs100.
Related Issues (20)
- alias, state, and is_on not functional in SmartPlug for SmartStrip.plug[] devices HOT 2
- HS300 not listed in Discover.discover() HOT 4
- HS200 weird communication error HOT 6
- Security HOT 2
- New protocol HOT 5
- Add support for the KP200 HOT 23
- bug displaying plug status if off.
- New release? HOT 2
- LED config not working HOT 4
- view and update a schedule
- import failure HOT 5
- TP-link KP200 not working proper NOT A DUPLICATE OF ADD SUPPORT FOR THE KP200 HOT 1
- Smart Bulb KL50 HOT 3
- HS220 Set Brightness HOT 1
- Get rid of click-datetime dep HOT 2
- Archive this repository HOT 3
- Failed to run "$ pyhs100" after install HOT 2
- KP105 support HOT 1
- Run
- Kasa discovery HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyhs100.