GithubHelp home page GithubHelp logo

renetode / foscam-app Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 1.63 MB

An App for Appdaemon to control foscam cameras

Python 100.00%
appdaemon appdaemon-apps foscam foscam-camera foscam-client home-assistant python python3 dashboard

foscam-app's People

Contributors

renetode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

foscam-app's Issues

help for install

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

New Cameras Request

Hi Rene--

This looks great! I did the URL test and it worked with all 3 camera types I use. They are:

  • R5 (5MP WiFi Pet Camera)
  • SPC (Spotlight Security Camera)
  • R4S (4MP WiFi Home Security Camera)

Is it possible to add them to the app? Thanks man!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.