Foscam app V2 (Appdaemon and HAdashboard)

is the dashboard new created?
in the dashboard is the camera link there the local IP link?

Yeah it created a new dashboard. For some reason it’s using https though. I’ve tried changing it to http but it just loads https when it opens in a browser. The link that it generates works perfectly fine in a browser. Just not in the dashboard

the dashboard gets the url from your appdaemon.yaml.
if you have set the url there to HTTPS, the dashboard also will use HTTPS for the cam.

1 Like

Hmmm… got that changed and now the app creates the dashboard using http for the camera instead of https but it’s still not loading on the dashboard :confused: I’m at a complete loss now. Anymore suggestions? The feed shows up in home assistant using the foscam component

hmm, difficult.
does it happen on all devices? also on the PC in google chrome?
the complete foscam dashboard show up correctly, only the cam doesnt show its pics?
you could try if this does something:
set create dashboard to false, so that it doesnt get recreated.
then modify the dashboard file and change the line from the camera.
change: /api/camera_proxy_stream/camera.
to: /api/camera_proxy/camera.

Yeah the complete foscam dashboard has always worked fine other than being able to see the camera image and control the motion detection. I tried your suggestion but it didn’t change anything. This is what’s showing up

you did have the wrong url at first, so maybe there is a cash problem somewhere.

  1. delete cash on the devices that you tried it on
  2. delete all files in the subdirs:
    conf/compiled/html
    conf/compiled/css
    conf/compiled/js
  3. restart your device.

by the way, you didnt respond to that, did you try in google chrome on a PC? not all browsers react the same way and some may have trouble.

Do your app works with Foscam Fi9900P camera?

its not 1 off the cams i know, so you have to use the test that is on the github (or in the first posting from this topic) to make sure if it does or not.

I tried your suggestions but still wasn’t able to get it to work. I’ve tried every browser at my disposal and every device.

The weirdest part is that if I type the link into a web browser it works perfectly and I’m able to see the camera feed but it just won’t work in the dashboard itself

in google chrome check in the console if you can find an error (ctrl shift i)

1 Like

Ok so its bringing up an internal server 500 error saying server got itself in trouble and this is the link it was trying to open. http://192.168.1.9:5050/&time=1518068277. Shouldn’t it be trying to open up http://192.168.1.9:8123/api/camera_proxy_stream/camera.livingroom?api_password=password?

am trying to get my head around your situation.
the link you provide suggest you have appdaemon 3.0 beta installed (the time part was only implemented in that one)
can you show me what is inside your dashboard that has the name you did set after the option:
alarm_dashboard_file_name and after the option:
dashboard_file_name

somehow i got the feeling that something is still wrongly cashed.

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.