use tablet camera as motion detection

Post Reply
underscore4
Posts: 14
Joined: Sunday 19 March 2017 23:06
Target OS: Raspberry Pi
Domoticz version:
Contact:

use tablet camera as motion detection

Post by underscore4 » Saturday 15 September 2018 11:10

Hi,
i'm going to install a door sersor detection and my idea would have a wall tablet camera to take a pitcure and send mail if door opened.Anyone has coded this feature with script or using apk solutions on domoticz?

Thanks in advance.

ben53252642
Posts: 482
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: use tablet camera as motion detection

Post by ben53252642 » Saturday 15 September 2018 11:17

underscore4, I'm not aware of any pre-built solutions however I'd suggest looking at an Android App called Tasker.

I used it successfully to turn Android tablet screens on / off when a motion sensor is activated, it can do many different things.

underscore4
Posts: 14
Joined: Sunday 19 March 2017 23:06
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: use tablet camera as motion detection

Post by underscore4 » Saturday 15 September 2018 11:25

Nice, thanks a lot.
I will test it. would be also visible in Domoticz with any way?

ben53252642
Posts: 482
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: use tablet camera as motion detection

Post by ben53252642 » Saturday 15 September 2018 12:07

Use a second App (for Tasker) called Autoremote to trigger it remotely from Domoticz using a script

I was also able to send text from Domoticz to the tablet and have it speak it out loud.

You will need to do some research and a small amount of coding (mostly copy and paste) to achieve what you want but it is do-able.

https://www.youtube.com/watch?v=ro_dFnrEAUY

Here is a sample bash script I use to send messages to Autoremote

Code: Select all

#!/bin/bash
message=$(echo "message to send goes here" | sed 's/ /%20/g')
curl "https://autoremotejoaomgcd.appspot.com/sendmessage?key=THEAUTOREMOTEKEYGOESHERE&message=${message}"
As I said what you want to do is achievable but this goes into moderate to advanced scripting level.

markk
Posts: 431
Joined: Tuesday 14 January 2014 15:50
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: use tablet camera as motion detection

Post by markk » Monday 17 September 2018 13:58

underscore4 wrote:
Saturday 15 September 2018 11:10
Hi,
i'm going to install a door sersor detection and my idea would have a wall tablet camera to take a pitcure and send mail if door opened.Anyone has coded this feature with script or using apk solutions on domoticz?

Thanks in advance.
I do something similar very easily.

Use this method viewtopic.php?t=17659#p135550 to turn your tablet camera into an IP camera and add it to Domoticz then use the Domoticz notification function or a simple blockly to send you a snapshot when the door sensor is triggered.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.

roxanekozo
Posts: 1
Joined: Tuesday 18 September 2018 14:13
Target OS: Windows
Domoticz version:
Contact:

Re: use tablet camera as motion detection

Post by roxanekozo » Tuesday 18 September 2018 14:14

The nature of induct and conduct is improved for the humans. The charges and rushmyessay have been mild for the use of the movement for the humans in life.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests