Foscam app V2 (Appdaemon and HAdashboard)

no INFO, i dont have any debug logs in there.
but it would give the same in the end.

NOTHING in logs. JUST Camera state OK

Change request points works properly.

try to use flip and check in log, please

ok… it works… i can chage the values… but they wont be read out in frontebnd… thats strange… let me test and come back to u

thats weirdo! when i make RESET DEFAULT PIC SETTINGS it does it but input_numbers / SLIDERS :stuck_out_tongue: wont change in frontend but i can use them and they change values

but logs won’t show anything when i use input_numbers. Only input_select is shown in the logs

i know whats wrong.

in custom widgets find the files:

  • new_input_slider.yaml
  • vertical_input_slider.yaml

and change

service: input_slider/select_value

to

service: input_number/select_value

in both files.

I did… just to be clear… The input_sliders in FROMTEND of hass work BUT wont “read” the state when i chose reset to default… Cam pic changes according to standard values but sliders wont change

I saw the manual for foscam and the huge cdgi commands. I would like habing reboot cam and some other stuff…

but first question: Are u intrested in adding new features at all ?

here you will find all commands … i think u already know this best :slight_smile:

seems like you have another frontend problem. didnt we have that before?

you can always ask for features, dont know if i would do anything with it, but asking wont hurt :wink:

reboot cam? with what use?
if my cam hangs i cant reach it so rebooting over the net wont work then.

yeah that commandlist is on my PC :wink:

sometimes settings seem to be screwed up. The turn speed is slow… the set point not correct. afte rebooting the cam everything works fine again.

here my wishlist just to let u know:

  • set PTZ speed
  • reboot
  • set zoom speed

the ptz speed do you set by moving the slider more or less.
the same with the zoom speed.

zoom slider at 3 means zoom at high speed for 1 second
zoom slider at 1 means zoom at slow speed for 1 second.

same with move left right, up or down.
because there is no default speed, the zoom speed stays in the last set speed.

i will think about a reboot button.

Cool! thanjks! hats kind having a reboot function :slight_smile: like this i integrate those in my automation to reboot every 3 days

Hi!..
I need help again. I copied your customs_widgets in my conf folder but get this error… u can see that those file is there:

‘’’
2017-11-03 00:51:43.988952 WARNING ------------------------------------------------------------
2017-11-03 00:51:44.000589 WARNING Unexpected error during DASH creation
2017-11-03 00:51:44.006469 WARNING ------------------------------------------------------------
2017-11-03 00:51:44.036202 WARNING Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 788, in get_dashboard
dash = self._conditional_compile(name, skin, recompile)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 731, in _conditional_compile
dash = self._get_dash(name, skin, skindir)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 552, in _get_dash
widgets = self._get_widgets()
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 642, in _get_widgets
with open(jspath, ‘r’) as fd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/pi/appdaemon_dashboard/appdaemon/conf/custom_widgets/base_light_with_colopicker/base_light_with_colopicker.js’

2017-11-03 00:51:44.038742 WARNING ------------------------------------------------------------
2017-11-03 00:51:44.042033 INFO function [get_dashboard] finished in 10037 ms
2017-11-03 00:51:44.082617 INFO Loading custom widget ‘base_light_with_colopicker’
2017-11-03 00:51:44.084416 WARNING ------------------------------------------------------------
2017-11-03 00:51:44.085588 WARNING Unexpected error during DASH creation
2017-11-03 00:51:44.086702 WARNING ------------------------------------------------------------
2017-11-03 00:51:44.088821 WARNING Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 788, in get_dashboard
dash = self._conditional_compile(name, skin, recompile)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 731, in _conditional_compile
dash = self._get_dash(name, skin, skindir)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 552, in _get_dash
widgets = self._get_widgets()
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 642, in _get_widgets
with open(jspath, ‘r’) as fd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/pi/appdaemon_dashboard/appdaemon/conf/custom_widgets/base_light_with_colopicker/base_light_with_colopicker.js’

2017-11-03 00:51:44.089942 WARNING ------------------------------------------------------------
2017-11-03 00:51:44.092155 INFO function [get_dashboard] finished in 9917 ms
^C
pi@home-assistant:~/appdaemon_dashboard/appdaemon/logs $ cd /home/pi/appdaemon_dashboard/appdaemon/conf/custom_widgets/base_light_with_colopicker/
pi@home-assistant:~/appdaemon_dashboard/appdaemon/conf/custom_widgets/base_light
_with_colopicker $ ls
base_light_with_colorpicker.css base_light_with_colorpicker.js
base_light_with_colorpicker.html
pi@home-assistant
‘’’

probably a fileright problem.

did you also copy light_with_colorpicker.yaml?

I pulled the whole custom_widgets folder his would I set he permission to? 755?

2017-11-03 14:23:55.023277 INFO Compiling dashboard ‘Multimedia’
2017-11-03 14:23:58.556368 INFO Loading custom widget ‘base_light_with_colopicker’
2017-11-03 14:23:58.575030 WARNING ------------------------------------------------------------
2017-11-03 14:23:58.582347 WARNING Unexpected error during DASH creation
2017-11-03 14:23:58.594554 WARNING ------------------------------------------------------------
2017-11-03 14:23:58.624994 WARNING Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 788, in get_dashboard
dash = self._conditional_compile(name, skin, recompile)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 731, in _conditional_compile
dash = self._get_dash(name, skin, skindir)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 552, in _get_dash
widgets = self._get_widgets()
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 642, in get_widgets
with open(jspath, ‘r’) as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/appdaemon_dashboard/appdaemon/conf/custom_widgets/base

light_with_colopicker/base_light_with_colopicker.js’

@ReneTode still same error message… but files are there look:

pi@home-assistant:~/appdaemon_dashboard/appdaemon/logs $ ls -l /home/pi/appdaemon_dashboard/appdaemon/conf/custom_widgets
/base_light_with_colopicker/
total 16
-rw-r–r-- 1 pi pi 907 Nov 3 14:04 base_light_with_colorpicker.css
-rw-r–r-- 1 pi pi 424 Nov 3 14:04 base_light_with_colorpicker.html
-rw-r–r-- 1 pi pi 5028 Nov 3 14:04 base_light_with_colorpicker.js