Ich habe mich gestern mal an ein neues Modul gemacht, das vorangig Netzwerk-
Kameras in FHEM einbindet.
Über das Modul ist es möglich Ereignis- oder Zeitgesteuert Bilder von IP-
Kameras sowie eine Grafik (Wetterkarte, WebCams, Börsengrafiken, etc.) von
einer beliebigen Website zu holen.
Das Modul liegt im SVN und wird ab dem 12.08. Vormittags über updatefhem
verteilt.
Im folgenden ein Auszug aus der commandref. Ein weiterführendes Beispiel inkl.
dem Versand der "Aufnahmen" via eMail ist auf meiner WebSite nachzulesen:
http://www.fischer-net.de/hausautomation/fhem/
Viel Spaß damit...
Gruß Martin
#############################
IPCAM
Define
define <name> IPCAM <ip[:port]>
Defines a network camera device to trigger snapshots on events.
Network cameras (IP cameras) usually have a build-in function to
create snapshot images. This module enables the event- or time-controlled
recording of these images.
In addition, this module allows the recording of many image formats
like JPEG, PNG, GIF, TIFF, BMP, ICO, PPM, XPM, XBM and SVG. The only
requirement is that the recorded image must be accessible via a URL.
So it is also possible to record images of e.g. a public Weather
Camera from the internet or any picture of a website.
Examples:
A local ip-cam takes 5 snapshots with 10 seconds delay per call:
define ipcam IPCAM 192.168.1.205
attr ipcam delay 10
attr ipcam path snapshot.cgi?user=foo&pwd=bar
attr ipcam snapshots 5
attr ipcam storage /srv/share/surveillance/snapshots
A notify on a motiondetection of a specified device:
define MOTION.not.01 notify GH.ga.SEC.MD.01:.*on.* get ipcam image
Send an eMail after snapshots are taken:
define MOTION.not.02 notify ipcam:.*snapshots.* {
myEmailFuntion("ipcam") }
A public web-cam takes only 1 snapshot per call:
define schloss IPCAM
http://www2.braunschweig.de
attr schloss path webcam/schloss.jpg
attr schloss storage /srv/share/surveillance/snapshots
An at-Job takes every hour a snapshot:
define snapshot_schloss at +*00:01:00 get schloss image