Comments (7)
How does the communication look like? Is it working fine with the command line utility? In the code the library handles setting those separately depending on the state of the bulb, so it could be possible that this is an issue with homeassistant instead of this library.
P.S. Could you please provide pyhs100 sysinfo
(after masking the IDs if you want so), it's the only bulb we are missing an entry in https://github.com/GadgetReactor/pyHS100/blob/master/pyHS100/tests/fakes.py
from pyhs100.
Here is the sysinfo for one of my LB120 blubs.
from pyhs100.
I removed my LB120 from Kasa, added is back to provision network access, and made no configuration changes to the bulb in Kasa.
Using hass, i activated a scene that turned the bulb on and checked with the command line to see that brightness was 1. I then activated a scene that turned the bulb off. Using the command line, i verified that brightness was 1. I then activated a scene that set the brightness to 39 and verified that with the command line. I activated a scene to turn off the light. I then activated the first scene, which should have set brightness to 1. But, the command line confirmed that brightness was 39.
This pretty much confirms that when the light is turned on, the brightness defaults to what the light has stored as its last setting. The brightness provided in the scene has no influence.
hope this helps.
from pyhs100.
I'm pretty sure this bug was addressed in this PR 8780, which has been merged but not in time for 0.51.2. In this PR, the bulb is activated and then brightness modified when turned on, previously the brightness was modified then the bulb turned on, and that doesn't work. You could take this version to test with if you like or wait for the next release.
from pyhs100.
from pyhs100.
If the linked PR fixes this issue, then there is still a problem with pyhs100's bulb support though. I think it should be possible to change the settings when the bulb is off, but unfortunately testing such is hard without having a bulb. If the fix on that PR works for you, that's good! Thanks for the sysinfo output, I'll add it to our test-suite.
from pyhs100.
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.