Closed GoogleCodeExporter closed 9 years ago
Original comment by kai.openhab
on 24 Sep 2013 at 3:36
Hi,
First off all thanks a lot for the great work on the milight binding.
I really appreciate this.
Some quick test confirm that it works.
The only thing that doesn't seem right is the brightness control.
I have some strange behavior when trying to change brightness.
Most often nothing happens and from time to time the RGB-W bulbs changes
brightness to some minor difference.
Example:
Dimmer Firstfloor_bureau_ceiling_led_power "Bureau led sterkte
[%d]" (Leds) {milight="bridge1;8;brightness"}
Setpoint item=Firstfloor_bureau_ceiling_led_power minValue=0 maxValue=100
step=10
Then I capture the UDP packets :
osgi> 21:04:11.861 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 80
.
.
.
21:05:08.787 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led_power
received command 10
No UDP packets seen
21:05:09.410 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led_power
received command 0
UDP data 4800 55 (bulb off)
Another thing i see are some errors when switch the bulb on and off :
21:09:44.296 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_RGB
received command OFF
21:09:45.197 ERROR o.o.b.m.i.MilightBinding[:644] - messageBytes must not be
null
21:09:45.199 ERROR o.o.b.m.i.MilightBinding[:637] - Failed to send Message to
'10.10.1.125':
21:09:45.199 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led
received command ON
21:09:50.193 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led
received command OFF
21:09:51.524 ERROR o.o.b.m.i.MilightBinding[:644] - messageBytes must not be
null
21:09:51.525 ERROR o.o.b.m.i.MilightBinding[:637] - Failed to send Message to
'10.10.1.125':
21:09:51.526 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led
received command ON
21:09:59.393 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led
received command OFF
21:10:00.524 ERROR o.o.b.m.i.MilightBinding[:644] - messageBytes must not be
null
21:10:00.525 ERROR o.o.b.m.i.MilightBinding[:637] - Failed to send Message to
'10.10.1.125':
21:10:00.526 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_led
received command ON
But it works.
I hope this helps.
Regards,
Nico
Original comment by nicoat...@gmail.com
on 20 Oct 2013 at 7:11
[deleted comment]
Hi,
Thats strange, i will investigate on this.
Regards
Hans-Joerg
Original comment by josh.m5968
on 20 Oct 2013 at 7:33
Hans-Joerg,
I tried with a slider item too bu the behavior is the same :
21:49:17.458 INFO runtime.busevents[:42] - Firstfloor_bureau_ceiling_RGB
received command 0.0,0.0,0.0
21:49:24.251 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 49
21:49:26.336 ERROR o.o.b.m.i.MilightBinding[:644] - messageBytes must not
be null
21:49:26.337 ERROR o.o.b.m.i.MilightBinding[:637] - Failed to send Message
to '10.10.1.125':
21:49:26.338 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 100
21:49:28.999 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 52
21:49:30.701 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 0
21:49:33.809 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 32
21:49:36.848 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 84
21:49:38.041 ERROR o.o.b.m.i.MilightBinding[:644] - messageBytes must not
be null
21:49:38.041 ERROR o.o.b.m.i.MilightBinding[:637] - Failed to send Message
to '10.10.1.125':
21:49:38.042 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 100
21:50:05.478 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 39
21:50:06.593 INFO runtime.busevents[:42] -
Firstfloor_bureau_ceiling_led_power received command 97
21:50:09.453 INFO runtime.busevents[:42] -
Groundfloor_living_ceiling_led_white received command ON
Original comment by nicoat...@gmail.com
on 20 Oct 2013 at 7:53
Hi Nico,
I made a mistake causing the binding not to run into the command for sending
brightness values to the RGBW bulbs. Fixed this, so new version should work now.
It's posted on google-groups.
Error messages when switching ON or OFF can be ignored, its still working.
I will try to solve this later on.
Regards
Hans-Jörg
Original comment by josh.m5968
on 20 Oct 2013 at 9:01
Original comment by teichsta
on 5 Nov 2013 at 10:53
merged PR into default (see https://github.com/openhab/openhab/pull/62)
Please confirm that everything works fine now.
Original comment by teichsta
on 13 Nov 2013 at 2:18
Original issue reported on code.google.com by
josh.m5968
on 23 Sep 2013 at 5:07