Foscam app V2 (Appdaemon and HAdashboard)

Yeah I never installed the 3.0beta. I’m still on 2.0 for the meantime. I’m not seeing any files or a cache in the appdaemon though
Here’s what I have in the file…

  dashboardsettings: 
    use_dashboard: True
    create_dashboard: False
    create_alarm_dashboard: True
    dashboard_file_name: living_room_cam_dash
    alarm_dashboard_file_name: living_room_cam_alarm_dash
    screen_width: 1280
    screen_height: 800
    show_full_screen_dashboard: True
    full_screen_alarm_switch: input_boolean.foscam_toon_alarm_dash
    time_between_shows: 60
    show_time: 30

the cash files are in
your_config_directory/compiled/css
your_config_directory/compiled/html
your_config_directory/compiled/js

i wanted to know what is in:
your_config_directory/dashboards/living_room_cam_alarm_dash.dash and
your_config_directory/dashboards/living_room_cam_dash.dash

I don’t see any compiled directories at all unfortunately. But here’s what’s in the alarm_dash.dash, the cam_dash uses the same url.

title: camera
widget_dimensions: [126, 131]
widget_size: [1,1]
widget_margins: [2, 2]
columns: 10
global_parameters:
    use_comma: 1
    precision: 0
    use_hass_icon: 1

layout:
    - my_camera(10x6)

my_camera:
    widget_type: camera
    entity_picture: http://192.168.1.9:8123/api/camera_proxy_stream/camera.livingroom?api_password=
    title: livingroom

can you see the directory compiled?

nope I don’t see any :confused:

hmm, without that dir, no dashboard can be shown, and you have dashboards, so you must have it somewhere.
whats all in your config directory?

the only directories inside of the appdaemon directory are apps, custom_widgets, and dashboards.

strange.
i must ask @aimc and @frenck if the compiled directory can be somewhere else.

I set up appdaemon using the appdaemon2 addon in hass.io, not sure if that makes any difference or not.

yeah it makes all the difference because with that i am trying to find things with my eyes closed :wink:
in a place where i never have been :wink:

ill have to wait for a reply from those guys, because i am out of options.

you could still try to edit your appdaemon.yaml
put this in it

hadashboard: # beneath this line
  dash_compile_on_start: 1 #add this line

and restart you entire device.

The compiled directory has to be in the same directory as apps - what that maps to in hass.io i’m not sure.

i thought so too.

so how can he find the dashboard dir, the appdeamon.yaml and show a pic from a dashboard, but not find the dir compiled???

this is all I can see in the appdaemon directory. I don’t think I can access it from ssh

whats in the conf dir?

In 2.0 there is a bug where you need to create the compiled directory manually

1 Like

but andrew how can he have a dashboard like he showed here:

without a compiled dir???

Sorry - didn’t see that, I have no idea.

I tried creating a compiled directory and it won’t let me for some reason. I also accessed the location with ssh and was able to see a compiled directory but it wouldn’t let me access it.

oke, so as i see it, the compiled dir is there, but its hidden by hassio.
that makes it hard to clear if there is something that is wrongly cashed there.

did you try the force compile setting?

Not that I’m aware of. How would I go about doing that?