Comments (9)
I have a branch created with full addition of the HS200 switch if you could a add me as a contributor.
from pyhs100.
Code changes I am proposing can be found in https://github.com/smaggard/pyHS100/blob/master/pyHS100.py
from pyhs100.
That's great.
Please start a new branch, raise a pull request and we will be able to
check and merge it in.
On Oct 26, 2016 1:26 AM, "smaggard" [email protected] wrote:
I have a branch created with full addition of the HS200 switch if you
could a add me as a contributor.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI62U75uvOe9wZZbE1uXnK6T6tPnlsI_ks5q3jvUgaJpZM4KgNT4
.
from pyhs100.
I have a new branch but I can't publish it
On Oct 25, 2016, at 4:54 PM, GadgetReactor [email protected] wrote:
That's great.
Please start a new branch, raise a pull request and we will be able to
check and merge it in.On Oct 26, 2016 1:26 AM, "smaggard" [email protected] wrote:
I have a branch created with full addition of the HS200 switch if you
could a add me as a contributor.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI62U75uvOe9wZZbE1uXnK6T6tPnlsI_ks5q3jvUgaJpZM4KgNT4
.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from pyhs100.
I am getting the following error trying to create a branch, I think I need some permissions set.
You may not have permission to access pyHS100. Check Preferences to make sure you’re still logged in.
On Oct 25, 2016, at 4:54 PM, GadgetReactor [email protected] wrote:
That's great.
Please start a new branch, raise a pull request and we will be able to
check and merge it in.On Oct 26, 2016 1:26 AM, "smaggard" [email protected] wrote:
I have a branch created with full addition of the HS200 switch if you
could a add me as a contributor.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI62U75uvOe9wZZbE1uXnK6T6tPnlsI_ks5q3jvUgaJpZM4KgNT4
.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #4 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AV_aD6uz3TmVxr1zXIxbaodCwEC6AMcAks5q3nqLgaJpZM4KgNT4.
from pyhs100.
I tried doing a pull request and got a permission denied that route too, let me know when you get the permissions setup.
from pyhs100.
Hi, there isn't any permissions. You won't be able to publish directly. Please see how to below, it's the same guidelines as used by Home-Assistant.
How to contribute
If doing this for the first time
Fork this repo using the Fork button.
Clone your fork on your computer.
git clone https://github.com/YOUR_GITHUB_USERNAME/pyHS100.git
Add the main repo as upstream.
cd pyHS100
git remote add upstream https://github.com/gadgetreactor/pyHS100.git
Every time
Be sure to always work with the current upstream master.
Run this from your feature branch
git fetch upstream master # to pull the latest changes into a local branch
git rebase upstream/master # to put those changes into your feature branch before your changes
Create a feature branch for your changes. This is important - don't push to master!
git checkout -b new-feature
Also, do a special branch based on your master for each feature you want to implement - don't put multiple features into one branch - this is also very important!
Do your work here and commit it. If there is an issue in the tracker that regards your commits, always reference it in the commit message. For example git commit -m "docs: add referencing issues (#2)".
Push this new branch into your fork.
git push origin new-feature
Open a pull request using GitHub.
from pyhs100.
Just some quick thoughts:
The identify_model was added in the last pull request. I think it should be more generic. This will allow other TP-Link devices to work if they follow a similar format. This is the main reason why the HS200 was no longer working after the latest update.
def _identify_model(self):
"""Query sysinfo and determine model"""
sys_info = self.get_info()
model = sys_info["system"]["get_sysinfo"]["model"][:5]
return model
For the lines with the following:
if self.model == 100 or self.model == 200:
return False
I would suggest to change it to:
if self.model != "HS110":
return False
from pyhs100.
Done, thanks for giving me the steps.
On Oct 26, 2016, at 2:19 AM, GadgetReactor [email protected] wrote:
git push origin new-feature
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.