Skip to content

Commit

Permalink
= Fix MotionDetection example (EliasKotlyar#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
tetreum authored and jmtatsch committed Dec 1, 2018
1 parent e0938b8 commit 0668d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/custom/motiondetection.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ "$1" == "on" ]; then
source /system/sdcard/scripts/common_functions.sh
# Check external service to see it anyone present.
presence=$(curl http://openhab/rest/items/PresenceAtHome/state 2>/dev/null)
presence=$(/system/sdcard/bin/curl http://openhab/rest/items/PresenceAtHome/state 2>/dev/null)
if [ "$presence" == "OFF" ] ; then
# No-one is meant to be here, but motion detected. Send email.
Expand Down

0 comments on commit 0668d35

Please sign in to comment.