1

Device System Bridge Lamps not visible in LSF Controllers

asked 2016-01-07 01:05:04 -0700

updated 2016-01-20 02:59:06 -0700

Hi,

I'm currently using the Microsoft Device System Bridge in aim to use Philips Hue Lights in AllJoyn. Everything seems to work fine and I'm able to see my lights in MS AllJoyn Explorer and also with Lifx Desktop Application. My problem is that I'm not able to see or control my lights from any LSF Controllers applications such as LSF Sample App, Higgns or Luminaire. I also tested with DSB Samples from Microsoft and the result is exactly the same. Is there something I miss?

Thanks Mathieu

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-01-11 00:26:23 -0700

updated 2016-01-15 08:14:17 -0700

Hi dotMorten,

No actually I have started my Hue bridge before seeing yours (very good work by the way). I had the same issues you mentionned with LIFX app and understood why by doing some Wireshark analysis. The LIFX app doesn't use the properties mecanism to change the Brightness or the Hue but instead it is using the TransitionLampState method that you can implement in the ILSFHandler interface (beware there is a bug in the parameters of the TransitionLampState method ,Brightness and Saturation parameters are inverted) . By doing so, I'm able to control the brightness of my Hue lights with the DSB. Concerning my original issue, I'm also able to control my lights from a client application such as a .Net application but not from a AllJoyn Light Controller application, for instance the LSF Sample App available at : https://wiki.allseenalliance.org/tsc/connected_lighting I tried to debug this LSF application to see where the problem stand but without any luck. Other AllJoyn devices such as LIFX bulbs are working correctly in the LSF Sample App but I can't really see the difference with the lights exposed by the DSB.

edit flag offensive delete publish link more

Comments

oh nice! Interestingly enough I had just finished adding the transition stuff to my bridge, but hadn't bothered using the LIFX app to try it out. Thanks! So isn't it a bug in the LIFX app to use transitions if the lamp says it doesn't support effects?

dotMorten ( 2016-01-11 15:52:12 -0700 )edit
1

Just submitted a PR for fixing Microsofts DSB for this. Great catch! http://github.com/ms-iot/samples/pull/194 .

dotMorten ( 2016-01-11 17:59:16 -0700 )edit

Hi DotMorten, Glad to see that this was helpful to you! I can't really tell if it is a bug in the LIFX App but I also think it is a bit strange to use the transitions just to change the brightness.

mcreteau ( 2016-01-12 01:22:28 -0700 )edit
0

answered 2016-01-10 20:59:11 -0700

Are you using my bridge? https://github.com/dotMorten/AllJoynP...

I'm seeing some issues as well. For instance the LIFX app can turn the lights on and off, and read the hue, brightness, saturation and temperature, but it never hits any code when setting these values apart from on/off. However I haven't had issues with my other self-written apps (haven't tried the apps you're referring to though).

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2016-01-07 01:05:04 -0700

Seen: 1,125 times

Last updated: Jan 19 '16