Foscam camera with lots of controls

i added everything u did but no reaction from the cm :stuck_out_tongue: I can see the cm but not cntrol… no errors in log :frowning: but let me watch again before making horses wild here :stuck_out_tongue:

well… i installed 32 bit firefox… nothing … it tells me again and again that the plugin is not installed … FUCKED UP!#

which cam do you have?

and if you cant see the controls you made an error in the HA yaml :wink:
could be that you have input_slider, or input_boolean twice in your yaml.

exyclty the same cam like u. i guess i chose wrong entity id in config :stuck_out_tongue:

i dont know if it is 32 or 64.
but i installed Firefox version 35.0.1 a long time ago and didnt update.
and i had no trouble opening the webinterface

You can access the foscam webinterface with IE - after installing the plugin. Not with Chrome, and don’t know about Firefox…

not according to the documentation.
and i tried but the webinterface from the type of webcam i have doesnt load in IE only in Firefox as stated in the docs.

other cam types could have other options.

thtas indeed the secret… new firefox wont support plugins like for foscam.

Must then indeed be dependent on cam type. With mine (9831 & 9805 if I remember correctly) it is as I said. One more drawback of the inferior foscam software…

I got it working somehow… mounted on the wall but pic not sharp :frowning: I always have to modify the sharpness

I get no error here but no sensors in hass. Cam is showing up correctly. I have ddns actiated… this might be this ?

Sounds like you don’t have your configuration.yaml setup right.

1 Like

i added all sensors but it keeps telling me that i ont have those sensors .

May  6 22:56:23 home-assistant appdaemon[17465]: 2017-05-06 22:56:23.067592 INFO Connected to Home Assistant 0.43.2
May  6 22:56:23 home-assistant appdaemon[17465]: 2017-05-06 22:56:23.179791 INFO foscam: devstate gaf foute data
May  6 22:56:23 home-assistant appdaemon[17465]: 2017-05-06 22:56:23.256595 INFO foscam: image setting gaf foute data
May  6 22:56:32 home-assistant appdaemon[17465]: 2017-05-06 22:56:32.083394 INFO foscam: devstate gaf foute data
May  6 22:56:32 home-assistant appdaemon[17465]: 2017-05-06 22:56:32.178153 INFO foscam: image setting gaf foute data
May  6 22:56:42 home-assistant appdaemon[17465]: 2017-05-06 22:56:42.075923 INFO foscam: devstate gaf foute data
May  6 22:56:42 home-assistant appdaemon[17465]: 2017-05-06 22:56:42.174123 INFO foscam: image setting gaf foute data
May  6 22:56:49 home-assistant systemd[1]: Stopping AppDaemon service for Home Assistant...
May  6 22:56:49 home-assistant systemd[1]: Starting AppDaemon service for Home Assistant...
May  6 22:56:49 home-assistant systemd[1]: Started AppDaemon service for Home Assistant.
May  6 22:56:57 home-assistant appdaemon[17576]: 2017-05-06 22:56:57.698032 INFO AppDaemon Version 2.0.0beta3.5 starting
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.626596 INFO Got initial state
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.634452 INFO Loading Module: /home/pi/appdaemon_dashboard/appdaemon/conf/apps/foscam.py
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.679580 INFO Loading Object foscam using class foscam from module foscam
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.689260 WARNING foscam: Entity input_slider.foscam_up_down not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.691014 WARNING foscam: Entity input_slider.foscam_left_right not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.693360 WARNING foscam: Entity input_slider.foscam_zoom not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.695958 WARNING foscam: Entity input_select.foscam_preset_points not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.698130 WARNING foscam: Entity input_select.foscam_preset_cruise not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.701240 WARNING foscam: Entity input_slider.foscam_brightness not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.704375 WARNING foscam: Entity input_slider.foscam_contrast not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.709006 WARNING foscam: Entity input_slider.foscam_hue not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.716740 WARNING foscam: Entity input_slider.foscam_saturation not found in Home Assistant
May  6 22:57:03 home-assistant appdaemon[17576]: 2017-05-06 22:57:03.724815 WARNING foscam: Entity input_slider.foscam_sharpness not found in Home Assistant

pi@home-assistant:~/appdaemon_dashboard/appdaemon/logs $ tail -f /home/pi/appdaemon_dashboard/appdaemon/logs/appdaemon.log
2017-05-06 23:07:18.072958 INFO foscam: devstate gaf foute data
2017-05-06 23:07:18.135623 INFO foscam: image setting gaf foute data
2017-05-06 23:07:28.095655 INFO foscam: devstate gaf foute data
2017-05-06 23:07:28.205385 INFO foscam: image setting gaf foute data
2017-05-06 23:07:38.082003 INFO foscam: devstate gaf foute data
2017-05-06 23:07:38.143312 INFO foscam: image setting gaf foute data
2017-05-06 23:07:48.081377 INFO foscam: devstate gaf foute data
2017-05-06 23:07:48.165360 INFO foscam: image setting gaf foute data
2017-05-06 23:07:58.093482 INFO foscam: devstate gaf foute data
2017-05-06 23:07:58.134329 INFO foscam: image setting gaf foute data

first thing i see is that you didnt have the input_sliders and input_selects setup rightfully in your HA yaml.
that gives you the warnings that appdaemon cant find them.
the devstate gaf foute data (sorry i didnt change the language yet) means that the cam gives wrong data back.
i see that happen sometimes more, sometimes less.
the default checks for settings every 10 seconds. if it doesnt get right data back that warning appears.
“image setting gaf foute data” appears because the sliders are not as they should be.

whats wrong with the input_sliders? i copy pasted your config :frowning:

do you have other inputsliders or input selects created?

then you have something double.
check out your HA log.
or show your complete yaml here.

pi@home-assistant:/home/hass/.homeassistant $ cat input_slider.yaml
  ### AlarmClock

  auto_heat_hour:
    name: Hour
    icon: mdi:timer
    initial: 6
    min: 0
    max: 23
    step: 1
  auto_heat_min:
    name: Minutes
    icon: mdi:timer
    initial: 5
    min: 0
    max: 55
    step: 5
  auto_heat_duration:
    name: Duration minutes
    icon: mdi:timer
    initial: 50
    min: 1
    max: 120
    step: 5

    ########################################## FOSCAM #################################


  foscam_zoom:
    name: Zoom
    initial: 0
    min: -5
    max: 5
    step: 1
    icon: mdi:binoculars
  foscam_up_down:
    name: Move vertical
    initial: 0
    min: -5
    max: 5
    step: 1
    icon: mdi:swap-vertical
  foscam_left_right:
    name: Move horizontal
    initial: 0
    min: -5
    max: 5
    step: 1
    icon: mdi:swap-horizontal
  foscam_hue:
    name: Hue
    initial: 50
    min: 0
    max: 100
    step: 1
    icon: mdi:atom
  foscam_brightness:
    name: Brightness
    initial: 50
    min: 0
    max: 100
    step: 1
    icon: mdi:brightness-6
  foscam_contrast:
    name: Contrast
    initial: 50
    min: 0
    max: 100
    step: 1
    icon: mdi:contrast-circle
  foscam_saturation:
    name: Saturation
    initial: 50
    min: 0
    max: 100
    step: 1
    icon: mdi:brightness-7
  foscam_sharpness:
    name: Sharpness
    initial: 50
    min: 0
    max: 100
    step: 1

whats in your configuration yaml
and dou you have your input_selects setup?

I’m having trouble getting the contrast slider to work.
I just found there is a misspelling currently in the firmware.
Because of this, the current api call for contrast needs to be:

/cgi-bin/CGIProxy.fcgi?cmd=setContrast&constrast=44

In the last part of this line contrast is spelled as “constrast”

Where do I need to make changes to het your app to work with this firmware?

Thanks!

Jan
More on the misspelling:
http://foscam.us/forum/fi9821w-issue-list-t3967-790.html?hilit=contrast#p29860

1 Like

what u mean with configuration.yaml? I didn’t have input_select but created it now … how to integrate now ? i just restart appdaemon and reload groups in hass ?