-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for WiFi LED Strips #8
Comments
Will not happen anytime soon as I don't have access to the physical hardware. Perhaps basic stuff mentioned in the API will be added. |
I'd like to express my interest in having WiFi LED Strips working. And as far as I tell they are basically working the same way as WiFi Bulbs. But configuring them the same way leads to this error: This is the output of Does this help in any way? |
I got it to work here with some modification in the light.py home-assistant/core#57322 |
Looks promising! I tried to rewrite the integration myself but as I'm not a good programmer that didn't work for me. However since MyStrom strips now support HomeKit, I have connected them through that. But once your pull request gets accepted I might switch back. |
hey schnabulation, going over homekit is a nice way too. to be honest my developer skills are as well limited ;) I downloaded the mystrom component from here (entire mystrom folder) https://github.com/home-assistant/core/tree/dev/homeassistant/components/mystrom then I changed the light.py and stored that folder in the homeassistant folder /config/custom_components/mystrom (had to create custom_components) this way home assistant overwrites the actual /mystrom component with my custom one ;) (nice feature). this I'm using till eventually my pull request gets accepted... without overwriting anything from the core. you will need to restart the home assistant server after copy a new custom component into the config folder to get activated (check logs). but for sure it will be safer to wait till they approve the pull request or even improve it. |
Hi there Yes true, I was also trying to adjust the code to integrate the LED strip and therefore creating a custom-component. Important is that when using the myStrom core integration as a baseline you have to add the "version" string in manifest.json - otherwise it wouldn't load the component. Anyway: I have tested your integration and it works for me. However it seems that when the LED strip is manipulated from another application (like the MyStrom app) the status in Home Assistant only changes between "on" and "off". But it does not read the color or brightness information, is that suspected? |
hey there yes you are right the version needs to be added, missed that one to explain. indeed the color and brightness seems to be different for led strips compared to bulbs. that's why I excluded that feature for led strips as I don't have any information from mystrom what in fact is different. |
Test if myStrom WiFi LED Strips are working with the same implementation as the Bulbs.
The text was updated successfully, but these errors were encountered: