Sorry I meant 3 SSID, I only have one actual network and with just one subnet. I might look at setting up some Vlans in the future though.
Hi Rob again, I am sitting down to work on this pulsing thing. I just realized I may be wrong with how I set it, by putting an entire PULSE(string) all in one go. I followed your suggestion by putting in PULSE, and then use another parameter, and another parameter and go on. But I still get an error. It is asking for OBJECT but I only have string, number or decimal under the options?
2021-02-28 12:07:23.919 am errorgroovy.lang.MissingMethodException: No signature of method: user_driver_robheyes_LIFX_Color_384.setWaveform() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer) values: [PULSE, red, 100, 100] Possible solutions: setWaveform(java.lang.String, java.lang.String), setWaveform(java.lang.String, java.lang.String, java.lang.String), setWaveform(java.lang.String, java.lang.String, java.lang.String, java.lang.Object), setWaveform(java.lang.String, java.lang.String, java.lang.String, java.lang.Object, java.lang.Object), setWaveform(java.lang.String, java.lang.String, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object) (setWaveform)
But noticing when I go in the devices list, and clicking on the button here

Doesn't do anything, but the other buttons (on, off, etc) works fine.
What am I doing wrong? I really appreciate your patience!
I'm really not sure what's going on there - I've never used setWaveform, that was written by @dkilgore90. Let me see if I can work it out though...
... ah, I think I see what one problem might be. The Color parameter there is supposed to be the string version of a map, try using color: red in that field instead.
However, that doesn't explain the messages in the logs, I don't see those at all.
Just an observation, but it’s telling you the acceptable parameter combination, i.e.
2 strings or
3 strings or
3 strings and an object or
....
@robIs it possible to initiate a colour cycle with this driver?
If you mean going through all the colours then no. You can transition between two colours over a duration, but that's about it. What did you have in mind?
yep I meant like the colour cycle feature in the app
I doubt that will ever be added, seems to me that it would be better as a separate app so that you wouldn't be restricted to LIFX devices.
Possibly something like Hubitat/Apps/Lighting Effects at master · bptworld/Hubitat · GitHub - note that I've not tried that with my LIFX drivers, but you may have some success.
What is an object? So far I seem to be only able to add String, Integer, or long decimal?
Has there been an update or something changed that would make my lights not work? In the logs I just have "Error occured with UDP message: SocketTimeoutException: Receive timed out" for every light I have.
I did not change anything, just stopped working last night.
Nothing that I know of. Can you still control your lights? If not, then it sounds like you didn't use static ip addresses and your router was rebooted.
Ah yep I must not have. Just did a rediscover and seems to be working now. Thanks!
Normally it will be a map object of the format:
[key1: “value1”, key2: “value2”, ...]
You’d have to dig into the code a wee bit to be sure though.
@rob FYI, the setColorTemperature method is being changed in the next Hubitat release to support optional parameters for level and transition time. May be good to look into adding those options. Looks like an easy enough change to just add two new versions of setColorTemperature in the drivers and another deviceSetColorTemperature in Master to handle the new parameters.
Source:
https://community.hubitat.com/t/setcolortemperature-documentation-wrong
Should be straightforward enough. Thanks for the heads up.
One other thing I just noticed. It looks like the app limits the Mini Color and Mini Day/Dusk bulbs to their original temperature range. A while back the devices were updated to support a wider temperature range.
Seems like the Lifx product page isn't updated either, but my bulbs support the newer range in the Lifx app, and the change was officially announced here.
It doesn't look as though I limit the colour temperature in code. And testing on my Mini Colors shows that to be the case.
Oh yeah, you're right. I was just looking at the specs in the deviceVersion map. Probably should have tested it!