Thanks guys for helping to start the debug!
According to the log, milight binding thinks it sends out packets. IP address is right, port is right. Partial extract from the log:
2015-09-14 20:31:26.190 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: item is of type brightness
2015-09-14 20:31:26.197 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: sendOn
2015-09-14 20:31:26.204 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: messageBytes to transform: '35:00:55'
2015-09-14 20:31:26.216 [DEBUG] [.o.b.m.internal.MilightBinding] - Sent packet '35:00:55' to bridge 'hameleons0' (192.168.1.30:8899)
2015-09-14 20:33:40.509 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: item is of type brightness
2015-09-14 20:33:40.519 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: sendOff
2015-09-14 20:33:40.529 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: sendDecrease
2015-09-14 20:33:40.540 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: Bulb '0' getting decreased to '91'
2015-09-14 20:33:40.547 [DEBUG] [.o.b.m.internal.MilightBinding] - milight: messageBytes to transform: '34:00:55'
2015-09-14 20:33:40.557 [DEBUG] [.o.b.m.internal.MilightBinding] - Sent packet '34:00:55' to bridge 'hameleons0' (192.168.1.30:8899)
Now I have some more info to process, like why item is said of type brightness while it is defined as on/off switch and what bulb number ‘0’ is actually meaning.
Additional info about my config:
OpenHAB v1.7.1 runs on Ubuntu v15.04 (upgraded from 14.04) on Raspberry Pi 2. So far I have successfully set up and running for a month or so a few things based on Arduino based mysensors.org via serial binding. Milight was intended as a next step.
Java:
openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK Zero VM (build 25.45-b02, interpreted mode)
Milight bridge is v3, to my best knowledge. At least pics seem the same and bridge initial config instructions of v3 worked. Bought it this year from China, iPhone app works with it, both Milight app and LimitlessLED app. I’d be glad to have a hint how to be sure about the version, as I know that port number changed from v2 to v3. I tried with both port values just out of curiosity, none worked.
What I’m trying to achieve is to control a few Milight RGBW bulbs and couple of RGB LED strip controllers I have working for a few months in my home. Initial config I’m trying to get working is for one group of 2 RGBW bulbs. Control with Milight remote and by iPhone app(s) works.
For me the next step now will be playing around in order to see what happens in logs when I change OpenHAB configuration around the Milight item. Probably I’ll try package capture on my WiFi router as currently I have tried it just on my internet router LAN port where almost nothing happens, except for when Milight tries to communicate to outside world.
Any more ideas would be appreciated.
Veiksmi,
Jānis