-
Notifications
You must be signed in to change notification settings - Fork 13
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
Wifi370 no colors #27
Comments
I think this the same like #19. Or correct my if I am wrong! |
Hey, there was no update available so I pulled the git. I have it working using scriptfiles made by @leader21 pimatic/pimatic#348 (comment) |
my scripts are using another lib. I was first playing with the above mentioned but then I was switching over to this one here https://github.com/b4cedev/node-light-wifi370 but @mwittig created a pull request to the led plugin that still hasn't been released to the master branch yet. This should solve the mentioned issues have a look here http://forum.pimatic.org/topic/881/solved-error-message-with-installing-pimatic-led-light/5 |
The PR from @mwittig (#25) which address also the color issue is already merged to the master, but not published on npm. What I can say for sure its working for device IwyMaster. The device WIFI370 is using the same "driver" as IwyMaster, so there might be differences in the protocol between WIFI370 and IwyMaster. |
@incmve A new release of pimatic-led-light is available. Can you please give it try? If the problem with your Wifi370 remains it is most likely a problem with the underlying iwy-master package. Please also let me know if you know an alternative node package which works with your Wifi370. I am happy to look into this - either retrofit changes into iwy-master or create an additional device implementation using the alternative driver. |
I am updating now and going to test. Leader21 used https://github.com/b4cedev/node-light-wifi370 with some scripts and that worked perfect for switching on/off and switching pre-defined colors. Here is another but I havent tested it |
I had a brief look at node-light-wifi370. As far as I can see it is using the same command sequences for color&brightness as iwy-master. |
I hooked up the wifi370 but it won't connect to my wifi sigh |
hey, I can provide the infos whatever you want. If needed I could also borrow some (german) developer one of my controllers via mail to get it working again. Currently only on/off switching works and i can switch colors with predefined scripts (this really sucks) and https://github.com/b4cedev/node-light-wifi370 (which incmve already linked) |
@thymian Thanks for the feedback. Did you also try with the latest version of the plugin published 3 days ago? |
yes, i followed your guide http://forum.pimatic.org/topic/1114/updated-how-to-install-a-plugin-from-github/1 |
Gosh. I think I know what it is. Try to add the following to your device config:
For example:
|
i ran out of time, thanks for your answer, i will test this tomorrow. One more thing: But maybe your change will fix this, too?! I keep you updated tomorrow. |
@thymian where did you buy your controllers? I have also one (bought at Ebay), but unfortunately its using a whole different protocol. |
@mwittig You are awesome! When i added <"device":"wifi370"> everything works fine again! Thanks for your help and thanks a lot for your nice plugin! @philip1986 i bought all my controllers on amazon (germany) for about 25€. If you are still searching the right ones or want to know more about your problem i think this issue is interesting for you: pimatic/pimatic#348 |
@thymian Thanks. It's great it is working now. Meanwhile I have published a new new release and the |
@mwittig Yeah i saw your changes in the code and thought that adding device might be obsolete now. Just tried it and color changing works again with all controllers. But there are some things which are kind of ugly i want to inform you about (but i don't really care because it is working)
Didn't know if i have to open another issue. Sorry for that |
@thymian Thanks for the video which demonstrates issue 2) and 3) very well. I haven't experienced issue 2) so far, btw. Which browser are you using? I'll have a look at these issues as soon as I can. The "white X" is to change to white mode which which is supported with some of the LED controllers which provide four channels R-G-B-W. For Wifi370 it may be emulated by setting the approprate RGB value, but most likely the light won't be white really. If you have thought about this please let me know. |
@thymian Minor update: Regarding 1) I have no news yet. I am not able to reproduce it yet. I am able to reproduce 2) now. I am not sure whether this is to due recent changes in pimatic-led-light or it is due to some subtle changes in modible frontend code. I'll investigate this further as soon as I can. Regarding 3) I have written a mockup server to see the byte sequences sent to the Wifi370. As far as I can see the byte sequences sent are OK, but may be it is the response from Wifi370 causing the error. Can you please send me there error message with the full statck trace? Thanks. |
Regarding 1) the issue is caused by pushing to many commands via the socket. I thing it could be solved by either refactoring the "driver" or change the UI behavior and lower the calls to the light device Regarding 3) By just looking into the error message, it lseeams like the issue is driver by pimatic-hap @thymian thx for the advice, I will try to buy the right one |
I dont think it is a browser issue, because chrome and safari both behave the same. Regarding 3 (long error message): Regarding 1 (Blinking GUI): As we already went full off-topic: 💡 |
I am closing this ticket now. Please use the new issue tickets for further correspondence. Regarding the feature requests see http://forum.pimatic.org/topic/1176/dim-up-option-for-pimatic-led-light and http://forum.pimatic.org/topic/1175/morning-light-simulate-sunrise-as-part-of-pimatic-led-light |
Hi guys,
I installed the plugin and I can switch on and off my Wifi370 LED's.
I can't change the color or dim the LED's nothing happens, I tried with a rule
The LED's are switched on and in the colorpicker I see it changing to red but the LED's stay white.
What am I doing wrong, can I supply log's or anything?
another user reported the same thing in my forum topic.
http://forum.pimatic.org/topic/728/wifi370-color-picker-problems
The text was updated successfully, but these errors were encountered: