-
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
setColor in color_action.coffee #19
Comments
Hi, the purpose is to change the color of the light device. So you could have a rule like: Can you please provide an example of the breaking rules. |
Hi. My rule is as simple as: set blinkstick to red The error message is setColor: is undefined. When removing this code the rule works as expected (changeing color to red).
|
Another user seems to have the same issue after the last update: http://forum.pimatic.org/topic/687/problems-with-color-change-pimatic-led-light-plugin-with-milight |
@tester22 you are right the code at this line is broken. It will be fixed soon. |
… development_xento # By Philip Patzer (15) and others # Via philip1986 (4) and Philip Patzer (3) * 'master' of github.com:philip1986/pimatic-led-light: (21 commits) include libudev-dev agin as travis dependency remove usb dependencies for blinkstick dirty workaround to run tests at travis libusb-1.0-0-dev add sudo libusb-1.0-0.dev as travis dependency add libudev-dev as travis dependency add .travis.yml bugfixes and unskip tests due to this fixes unskip test and adjust test case to actual behavior add test script to package.json Increased command delay to avoid drop-outs due to packet loss Suggested Fix for issue #19 revert validation changes in iwy_master.coffee style MilightRF24Port workaround for testing add basic tests for iwy master and milight Fixed update of 'mode' property value as part of setColor() method. Fix for issue #18. Added section 'Installation' to document dependency on libudev-dev on Raspbian and Debian systems Fix for issue #24. Milight setColor() raises 'color undefined' error. Added DummyDevice. ...
fixed by #25 |
Hi,
This code breaks rules for me:
https://github.com/philip1986/pimatic-led-light/blob/master/predicates_and_actions/color_action.coffee#L36
What is the purpose of this function?
The text was updated successfully, but these errors were encountered: