Here are a couple of my smart apps ported from smartthings garden hue and battery monitor

must have missed a line.

or more likely logging is for more detailed debugging if you turn it on and i need multiple log levels just to be able to get only that one line.

ya just looked that is by design the minimal logging as the field is really debugging and puts out lot of stuff.. i would have to revamp it all and add a debug level ie off minimal (the one line) full, and that will take a while to change everything.. will get to it when i have a chance.

1 Like
  • 4.6 change debug to log level, rewrite all logging, change many to info which didnt exist when this is written. levels are off, minimal, maximum, minimal corresponds to what
  • loging off previously was, maximum corresponds to what debugging on previously was.

i am sure i missed something as there were probably over 100 lines changed.. so let me know if you find something.

1 Like

No errors anyone everything looks ok? I tested a few paths, but depending on .options there are at least 10 different paths through the code.

I haven't had too much time to look at it. Will run it tonight and let you know...

1 Like

Thanks for this!

I'm struggling to get the settings tweaked exactly right to accomplish what I'm after. My goal is to get 3 colors (red, green, white) to cycle in order; preferably for a 5 second duration.

I find that if I turn holiday mode off, every color is cycled in order. Regardless if only 3 are turned on.

But if I turn on holiday mode, only my 3 selected colors are cycled, but random mode is forced.

Is it possible to get:

  1. Random mode = False - while only cycling my 3 specified colors in order?
  2. A 5 second duration option added to the menu?

Thank you!

No .. the are no settings for order.

OK. Can random mode be disabled?

That way if an order can't be specified . . . the selected colors always display in the same order?

Ill look at that.

1 Like

new version of garden hue:

did some work for my govee lights..

since they are true rgb added 5 totally random color options .. when any off these are hit in the random queue , it generates a random color with hue between 1 and 100.

also added 5 user define effects that can kick in.. you set the effects from the list of effects for your fixtures.. mine are:

  • scenes : [101=Aurora, 102=Cherry blossoms, 103=Star, 104=Rainbow, 105=Deep sea, 106=Desert, 107=Karst Cave, 108=Glacier, 109=Raindrop, 110=Night, 111=Electro Dance, 112=Stacking, 113=Poppin, 114=Dancing, 115=Swing, 116=Morning, 117=Illumination, 118=Bright, 119=Sports, 120=Siren, 121=Dreamland, 122=Mother's Day, 123=Christmas, 124=Candlelight, 125=Fireworks, 126=Party, 127=Carnival, 128=Halloween, 129=Halloween B, 130=Halloween C, 131=Halloween D, 132=Christmas Tree, 133=Sled, 134=Christmas Gift, 135=Cheerful, 136=Rush, 137=Flash, 138=Speeding, 139=Crossing, 140=Longing, 141=Warm, 142=Tension, 143=Heartbeat, 144=Nebula, 145=Moonlight, 1=Deep sea, 20=Spring, 21=Summer, 2=Longing, 3=Sunset glow, 4=Rainbow, 5=Fire, 7=Forest, 8=Flower Field]

warning: do not use fade in or fade out with govee lights.. as it overwhelms the hub. since there is no fade implemented directly in the bulbs.

  • v 4.7 warning about using fade with govee lights.. will overwhelm the hub. as there is no internal fade up or down fx.
  • add 5 new pure random colors 1-100 as govee and other lights are true 16million colors.
  • v 4.8 also for govee only add 5 user selectable effects into the mix.

new version is in my github.. search for garden hue

Gotta say, I'm still running Battery Monitor and just love it. :smiley:

1 Like

New version again in github and package manager to add a change random colors to generate both hue and saturation,

Also added 5 named color pulldowns from a standard list of colors thanks to @jvm33 for assistance (he coded the table of names to rgb mappings), that i borrowed.

Note: that many colors of these named colors do not work well with rgb lights so try them and see.