renetode / foscam-app Goto Github PK
View Code? Open in Web Editor NEWAn App for Appdaemon to control foscam cameras
An App for Appdaemon to control foscam cameras
Hello
My camera is F19821W V2
After installing appdaemon 3 and the 2 files in apps folder, i got the following error:
2018-03-01 13:31:10.059710 INFO AppDaemon: Loading Module: /home/thoht/.homeassistant/appdaemon/apps/foscam.py
2018-03-01 13:31:10.089647 WARNING AppDaemon: ------------------------------------------------------------
2018-03-01 13:31:10.090427 WARNING AppDaemon: Unexpected error loading module: /home/thoht/.homeassistant/appdaemon/apps/foscam.py:
2018-03-01 13:31:10.090935 WARNING AppDaemon: ------------------------------------------------------------
2018-03-01 13:31:10.100301 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1773, in check_app_updates
self.read_app(mod["name"], mod["reload"])
File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1650, in read_app
self.modules[module_name] = importlib.import_module(module_name)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/thoht/.homeassistant/appdaemon/apps/foscam.py", line 518
' - spacer(2x1), spacer(2x1),' + self.recording_sensor + ', ' + self. ' title: ' + self.camera_name,
^
SyntaxError: invalid syntax
2018-03-01 13:31:10.101123 WARNING AppDaemon: ------------------------------------------------------------
2018-03-01 13:31:10.101615 WARNING AppDaemon: Removing associated apps:
2018-03-01 13:31:10.102129 WARNING AppDaemon: foscam
2018-03-01 13:31:10.103928 INFO AppDaemon: App initialization complete
Hi Rene--
This looks great! I did the URL test and it worked with all 3 camera types I use. They are:
Is it possible to add them to the app? Thanks man!
Your test URL returns
<CGI_Result>
-3
</CGI_Result>
Regards,
Martin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.