Skip to content
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

Open
fabaff opened this issue Jun 7, 2018 · 7 comments
Open

Add support for WiFi LED Strips #8

fabaff opened this issue Jun 7, 2018 · 7 comments

Comments

@fabaff
Copy link
Member

fabaff commented Jun 7, 2018

Test if myStrom WiFi LED Strips are working with the same implementation as the Bulbs.

@fabaff
Copy link
Member Author

fabaff commented Nov 9, 2020

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.

@Schnabulation
Copy link

Schnabulation commented Sep 17, 2021

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:

Error_HA

This is the output of curl http://[IP]/api/v1/device/XXXXXXXXXXXX:
{"XXXXXXXXXXXX":"type":"strip","battery":false,"reachable":true,"meshroot":true,"on":false,"color":"1;1","mode":"mono","ramp":100,"power":0,"fw_version":"3.82.56","connectionStatus":{"ntp":true,"dns":true,"connection":true,"handshake":true,"login":true}}}

Does this help in any way?

@asansano
Copy link

asansano commented Oct 8, 2021

I got it to work here with some modification in the light.py home-assistant/core#57322

@Schnabulation
Copy link

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.

@asansano
Copy link

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.

@Schnabulation
Copy link

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?

@asansano
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants