Hi
I just noticed that in the HueBridge the variable deviceType is set by calling
String deviceType = getClass().getName();
Ans this value is then send to the Hue however, the devicetype parameter is not allowed to be longer then 40 characters (http://developers.meethue.com/4_configurationapi.html), causing an error in the completeSync method if it is indeed longer.
I have changed it to
String deviceType = getClass().getName().substring(0, 35);
which I believe to be usable way to circumvent this restriction especially for Android developers who may not see the internal error messages of the sdk (At least I have spend some hours on this).
Just wanted to mention this (in case someone else may have that problem) and as a suggestion that may ease development.
Hi
I just noticed that in the HueBridge the variable deviceType is set by calling
String deviceType = getClass().getName();
Ans this value is then send to the Hue however, the devicetype parameter is not allowed to be longer then 40 characters (http://developers.meethue.com/4_configurationapi.html), causing an error in the completeSync method if it is indeed longer.
I have changed it to
String deviceType = getClass().getName().substring(0, 35);
which I believe to be usable way to circumvent this restriction especially for Android developers who may not see the internal error messages of the sdk (At least I have spend some hours on this).
Just wanted to mention this (in case someone else may have that problem) and as a suggestion that may ease development.