Howdy @mbishop i found your cool app and have been playing with prior to Halloween for my front porch lighting.
However I’m a little confused by the non holiday lighting. Is this supposed to act like a “motion lighting app”? I’m assuming when activated, it should set 100% and then 5 minutes later drop the light to 10%?
Ah, glad you sorted it! Yes, the intent is to provide the option of motion-activated lighting, so that it can play nicely with the holiday lights -- on holidays, colors until there's activity, then switch to illumination.
I accidentally posted a string into the hsv field and now I cannot fix it. The following error occurs when I go to set holiday colors.
Error: No signature of method: user_app_evequefou_Holiday_Lighting_337.HSVtoRGB() is applicable for argument types: (java.lang.String) values: [Vivid orange]
Hi @mbishop, Thanks this app is great!. I just came across it, loaded it up, and am looking forward to seeing it in action. There was one small request I have after going through the configuration. Would it be possible to add the 'days before'/'days after' to the holiday schedule button? That would make it easier to ready. It works fine when fixed weekday is used but when you put offsets to a fixed date or special days it does not appear.
i.e. the button will show '1 day after the fourth Thursday in November' and I have an offset for 12 days after December 25th but it only lists 'December 25th' as the end date. This is consistent with any fixed date or special days; fixed weekday works.
For whatever reason, Hubitat uses a hue range of 0-100 rather than 0-360, so the app has to follow suit. If the converter is giving you 348.9°, try 348.9/360*100 = 96.91. You could also try clicking the color block and using the RGB/HSV selector in your browser.
Right, but the other triggers keep it in triggered-illumination state for as long as they match the indicated state; that's not what you'd likely want with presence.
Again, I think a virtual motion sensor and a rule to actuate it is probably a better solution for you than adding presence as a monitored state in the app with different behavior to the other types.
Not sure what the crash on revert is, but I found and fixed a typo in the PR. If that doesn't resolve it for you, please include the error that's in the Hubitat logs for the crash and I'll take a closer look.