Thanks! I got it working using the solution through the IDE.
1 Like
Hi, tried your device handler with my v2 hub and hue lux bulb but get the following error in the IDE:
c6b7e886-8ef0-49e5-a927-0da6a888bff3 19:06:18 GMT: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.math.BigInteger#.
Cannot resolve which method to invoke for [null, class java.lang.Integer] due to overlapping prototypes between:
[class [I, int]
[class [B, int]
[class java.lang.String, int] @ line 131
c6b7e886-8ef0-49e5-a927-0da6a888bff3 19:06:18 GMT: trace off()
I get the same error, but I believe that’s because the virtual device in the IDE does not have a deviceId. Anyway, I installed the script and it worked for me.