Icons in v2b2

Im sure im doing something stupid here but I just cant figure it out. I have the current version of appdaemon installed from hadashboard_beta running under docker. For the life of me I cant get any custom icons to work.

Can anyone tell me what im doing wrong. I have tried both of the following, but the default icon is always used

morning:
    widget_type: mode
    icon_off: fa-clock-o
    icon_on: fa-clock-o
    title: Morning   
    entity: input_select.housemode
    mode: Morning
morning:
    widget_type: mode
    icon_inactive: fa-clock-o
    icon_active: fa-clock-o
    title: Morning   
    entity: input_select.housemode
    mode: Morning

I having the same problem with all icons, not just the ones in the example above. Any help would be highly appreciated.

Do you have the same issue with MDI icons? Are there any errors in your logs? If you look in appdaemon_dashboard/appdaemon/appdaemon/assets/css, do you see the font-awesome.css file? Is it set to 0755 perms?

That’s all I can think of at the moment.

Yea I have the same issue with MDI icons. Cant see anything in appdaemon.log (Is this the right log file?). Files exist inside the container and the perms are correct.

There should also be an error.log assuming you enabled it in the appdeamon.cfg:

logfile = /home/pi/appdaemon_dashboard/appdaemon/logs/appdaemon.log
errorfile = /home/pi/appdaemon_dashboard/appdaemon/logs/error.log

no errors in the error.log file. Might be something todo with docker, maybe I should try a standard install…

Thought I was being dumb, apparently I was right. Removing the following line fixed the issue. Thanks for your help.

global_parameters:
use_hass_icon: 1

On a side note, I dont seem to be getting any HADashBoard errors in my logfies, normal appdaemon errors appear thou any ideas?

1 Like

Huh! I’m on the beta team (I contributed the skins and styling) and I don’t think I’ve seen that option; is that just for Docker or did I miss reading the last readme?!? Anyhow, glad you got it figured out.

Should be normal; the option you mentioned was working correctly, so it wouldn’t have generated an error. As long as you’re not doing anything freaky and just manipulating styles and such, a clean error log is normal. Most of my errors are actually when something misses a polling in HA. Even so, the last error I have of that type is on 4/25. Mine is pretty small even with testing.

i know that Andrew mentioned that he had put in an option to use the icons from HA.
but i also didnt see it like this :wink:
if im correct he did put it in shortly for a break. so thats probably why we missed it :wink:
but i think that configuration in the dashboard should overrule that option.
@aimc??

1 Like

Glad I’m not the only one!

It’s a real thing but it went in later than beta 2 - it is definitely in beta 3.5

Im actually running 3.5, assumed it was 2 because I couldn’t find an announce thread for anything higher (probably blind
!)

As for the use_hass_icon option, its a copy and paste from the docs so you might want to remove that as an example

Dashboard Configuration -> Main Settings

#
# Main arguments, all optional
#
title: Main Panel
widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 8
global_parameters:
    use_comma: 0
    precision: 1
    use_hass_icon: 1

Thanks for your help everyone, its all up and running and I got some brownie points from the wife as she can see what the heck the house is doing :slight_smile:

1 Like