[smartly] bug report and support thread

Great to hear! For anyone who is getting the “Cannot read property filter of undefined” error when pasting SMARTLY updated JSON back into your dash- the reason you might be getting this is if you have an ad-blocker/internet security plugin, it is stripping the JSON down to bare bones before allowing you to copy it back into HE, at which point the JSON is broken.

Please report what browser and spam/ad/internet protection you’re using so we can document it. Thank you @wegericp !
 
 


@TechMedX has the screenshots of the scales in PMs from when we finished them back when I was on HE forums. Maybe he can retrieve them? I think we should (re)create a thread for color-changing tiles so we can all talk more about them. Now more than ever we can customize gradients, thresholds, etc on the fly and I’m sure we’ll come up with all kinds of cool stuff.

#1 on the to-do list is a ‘freezer’ and ‘fridge’ gradient option, so it’s green up to a threshold then red afterwards. @markus already built the values, we just need to implement.
 
 


We’re getting closer and closer to the point where we’ll allow a bunch of customizations. In the meantime, you could override it with CSS:

html {
    background-image: url(https://site/folder/your-custom-background.jpg) !important;
}

or if you want to remove the background:

html {
    background-image: none !important;
}
1 Like

my current templates are here

i assume we still cannot do too many increments due to the size of the text? or has that been resolved

this gives you an idea kinda what they look like but not in a hubitat stock dashboard but in my version of smarttiles as hubitat does not have a good way to truncate the decimal off short of installing a million virtual devices…

It seems like the force to lowercase is back on hp3.

Hotpatch 4 - 10/30/2020

Hotpatch 3 - 10/29/2020

  • Attempt at fixing “Cannot set property ‘value’ of undefined”

Hotpatch 2 - 10/28/2020

Hotpatch 1 - 10/25/2020

1 Like

Working fine in hp4.

1 Like

If I try to have only the icon show on a dashboard link, it shows the icon and the original name of the dashboard.

Example: Dashboard name is “Home1”. If I select an icon and choose “hide the text, only show the icon.”, it will show the icon and the original dashboard name to the right of it.

image

So now that we are using SMARTLY-INJECT we no longer use colorTemplates:[], also decimals are automatically converted to whole numbers.

At this point it’s safe to remove those temperature/humidity value color templates.

1 Like

Apologies, the instructions are unclear. All “modifiers” show up in a fieldset, the darkened box with a title. When its a multi-option modifier, it normally starts with a checkbox. That checkbox enables or disables the modifier. In this case it’s Buttonize.

The second checkbox ‘icon only’ is for the Buttonize mod and only works when it’s enabled.

ok but if i want to customize to my own color template what do i need to do… and i assume i need to run it back through smartly… is the pxx version also supported still?

|split into [smartly] custom temperature gradient HOWTO :sunglasses:

Under the color tab when editing the tile in SMARTLY, you’ll see some help text below the input box. Currently we are only supporting a single gradient color-scheme, but in the future we’ll allow creating our own.

So, the gradient is purple > blue > green > yellow > orange > red. The default values are in the help text, so if you want your “comfortable” temperature to be 20 degrees lower (moving the green area of the gradient down 20 degrees) for F, you’d use:

-30, 15, 32, 33, 50, 70, 100, 120

purple, blue, blue_end, green_start, green, yellow, orange, red

 

It will be once I get around to rolling the new version. :slight_smile:

1 Like

Thank you. I will do that.

1 Like

Worked like a charm! Thanks again.

1 Like

I gave up on waiting and installed manually. Another forum member reported having difficulty updating with HPM (Smartly Inject driver already installed), and the error looked similar. However, not everyone seems to have this problem… HPM is working fine for some folks. I’m too impatient to wait, so I installed the hard way. Drag and drop is awesome!!!

1 Like

Thanks! I’ll set it up that way, I should’ve figured it would be something simple.

1 Like

@adam it’s just for fun, to have a badge showing that you’re a smartly project supporter :penguin:

Sure! I’m in.

2 Likes

Hi again,

With Cromium on Raspberry Pi the injector tile doesn’t work either, but does using a different browser.

1 Like

Created a ticket to track this, will tag you when we get it working. Thank you again for your help with the troubleshooting! :v:

When using the icon for the dashboard link instead of the text, I have to enter a custom label or the icon seems to be 2-3 times bigger than normal.

Without Label:
image

With Label:
image

1 Like

Are you using a single space character as the title in that second screenshot? It isn’t a bad thing to have the icon nudged to the left a little bit, and it will look centered between the left edge and the three dots.

I usually want to create more mods to make adjustments like this, but the mods will get pretty confusing if I add another ‘remove label’. Let me know about the blank/space title. I’m hoping that can work!