From ad4720c550f89e8a88068e9b3cc509e980692bfb Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 2 May 2016 06:51:24 +0000 Subject: [PATCH] Site updated at 2016-05-02 06:51:23 UTC --- atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/switch.command_line/index.html | 34 +++++++++++-------- sitemap.xml | 8 ++--- 17 files changed, 39 insertions(+), 33 deletions(-) diff --git a/atom.xml b/atom.xml index f2b00ba007..37e23ac032 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index ce8112c78a..8b203cc43e 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 509ea97676..eb3858180b 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 6d4e3aaa93..3924e6883b 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 28b1328a5a..425b1f5fad 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 802a5d2f8e..bcf83e8b4b 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 3f41d76073..b60a5c2a1a 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index ef4d44dc5e..58c1cc2b8b 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 8c33839336..9f3b92e5aa 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index fefbfd451b..e400c53059 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 2b1558c09c..d00b960f2d 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 066345f419..a19512b604 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index f09dd757d2..b9e6ccc1e1 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index b6b76d1796..12f9e3f48b 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index a900fdfb4e..b43a4f8106 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-05-02T06:42:21+00:00 + 2016-05-02T06:50:54+00:00 https://home-assistant.io/ diff --git a/components/switch.command_line/index.html b/components/switch.command_line/index.html index dc1ec526b5..9b7a02ed74 100644 --- a/components/switch.command_line/index.html +++ b/components/switch.command_line/index.html @@ -181,20 +181,26 @@ This switch will shutdown your host immediately, there will be no confirmation.

Control Foscam Motion Sensor

-

This switch will control the motion sensor of Foscam Webcams which Support CGI Commands (Source). This switch supports statecmd, which checks the current state of motion detection.
-yaml -# Example configuration.yaml entry -# Replace admin and password with an "Admin" priviledged Foscam user -# Replace ipaddress with the local IP address of your Foscam -switch: - platform: command_line - switches: - foscam_motion: - oncmd: 'curl -k "https://ipaddress:443/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=1&usr=admin&pwd=password"' - offcmd: 'curl -k "https://ipaddress:443/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=0&usr=admin&pwd=password"' - statecmd: 'curl -k --silent "https://ipaddress:443/cgi-bin/CGIProxy.fcgi?cmd=getMotionDetectConfig&usr=admin&pwd=password" | grep -oP "(?<=isEnable>).*?(?=</isEnable>)"' - value_template: '' -

+

This switch will control the motion sensor of Foscam Webcams which Support CGI Commands (Source). This switch supports statecmd, which checks the current state of motion detection.

+ +
+
# Example configuration.yaml entry
+switch:
+  platform: command_line
+  switches:
+    foscam_motion:
+      oncmd: 'curl -k "https://ipaddress:443/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=1&usr=admin&pwd=password"'
+      offcmd: 'curl -k "https://ipaddress:443/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=0&usr=admin&pwd=password"'
+      statecmd: 'curl -k --silent "https://ipaddress:443/cgi-bin/CGIProxy.fcgi?cmd=getMotionDetectConfig&usr=admin&pwd=password" | grep -oP "(?<=isEnable>).*?(?=</isEnable>)"'
+      value_template: '{{ value == "1" }}'
+
+
+
+ +
    +
  • Replace admin and password with an “Admin” priviledged Foscam user
  • +
  • Replace ipaddress with the local IP address of your Foscam
  • +
diff --git a/sitemap.xml b/sitemap.xml index 9dd8de3945..4e3399bdb3 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1525,18 +1525,18 @@ https://home-assistant.io/demo/frontend.html - 2016-05-02T06:41:38+00:00 + 2016-05-02T06:50:18+00:00 https://home-assistant.io/demo/index.html - 2016-05-02T06:41:38+00:00 + 2016-05-02T06:50:18+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-05-02T06:41:38+00:00 + 2016-05-02T06:50:18+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-05-02T06:41:38+00:00 + 2016-05-02T06:50:18+00:00