See who is ringing the door bell on Your Android

Moderator: leecollings

Post Reply
BakSeeDaa
Posts: 485
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi / ODroid
Domoticz version:

See who is ringing the door bell on Your Android

Post by BakSeeDaa »

I'd like to see who is ringing my door bell on my Android.

Domoticz already speaks "Ring Ring" when someone rings my door bell and the kitchen lights are flashing. If I'm at home that is. If I'm not at home Domoticz will bark like a big angry dog.

I've recently set up a web camera outside the front door. The web camera can deliver jpeg snap shots using a URL.

Now I'd like to instantly get alerted on my Android with a picture of the door ringer. Any ideas how to make that happen?

Thanks! :lol:
dakipro
Posts: 49
Joined: Thursday 17 December 2015 22:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Norway
Contact:

Re: See who is ringing the door bell on Your Android

Post by dakipro »

Hi,
I think this can be done with Imperihome and Tasker (plus AutoInput and maybe one more plugin, f.eks. AutoNotification or RESTask for tasker).
Then you somehow trigger tasker action from domotics (this is where autonotification could help, probably RESTask for Tasker as well) and just have a action that will "click" on appropriate element to open the camera. AutoInput mimics you touching the screen so it can do some quite tricky things (it restarts my non-rooted android tablet by manually clicking on the screen menus).
Before clicking you can use rest api for imperihome to navigate to the right page where camera shortcuts are.
That is how I plan to do it when I set some camera in front of the front door :)

I was pretty sure that imperihome had possibility to open a camera via rest API, that would be much much easier, but I do not find it anymore
http://dev.evertygo.com/api/local
Raspberry Pi 2 B - MySensors (dimmers, switches, motion, temperature, lux, humidity sensors)
zWave (220v switches)
various 433 via RFLink
dakipro
Posts: 49
Joined: Thursday 17 December 2015 22:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Norway
Contact:

Re: See who is ringing the door bell on Your Android

Post by dakipro »

Update: I know I have seen it somewhere, and I have now checked on my mobile, and I do see "/camera/view" in the API for my local ImperiHome documentation (you see it on your device when you visit its IP:8080 or by tiping 127.0.0.1:8080 on the same device where you have ImperiHome).
Then you do not need tasker for that (but you will certainly use if for other things on the android anyway :) )

Update2: I see now what you meant, I missed the topic here probably, sorry :(
This solution will work only when you are at home I guess, for getting the image on the mobile if you are not home then Pushover can certainly help, and some linux script on the domoticz or somewhere
Raspberry Pi 2 B - MySensors (dimmers, switches, motion, temperature, lux, humidity sensors)
zWave (220v switches)
various 433 via RFLink
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: See who is ringing the door bell on Your Android

Post by deennoo »

I use tinycam monitor, pushbullet, tasker

If someone ringing, this turn on a switch who got a notification.
On my phone using tasker, when pushbullet arrive from Domoticz, with text : "ring ring", this open tinycam monitor who show on my LGWatchR the cam and made an option to open garage door.

WAF garanty !
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
BakSeeDaa
Posts: 485
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi / ODroid
Domoticz version:

Re: See who is ringing the door bell on Your Android

Post by BakSeeDaa »

Thanks guys. You are fast!

I've got it working already. It's quite simple. Domoticz is using an AutoRemote call that triggers Tasker to start a task which does the following:

- Destroy Scene
- HTTP Get (mime-type image/jpg) (fetching URL from web camera and save a temporary file on sdcard)
- Secure Settings plugin (Screen on for 20 secs)
- Show scene (Tasker scene with an image as background)

Now, I'll have to wait for visitors.... ha ha
DutchHans
Posts: 230
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: See who is ringing the door bell on Your Android

Post by DutchHans »

Good afternoon,
Could you share your tasker project/tasks..

Cheers, Hans
migwelly
Posts: 18
Joined: Friday 03 July 2015 22:55
Target OS: -
Domoticz version:
Contact:

Re: See who is ringing the door bell on Your Android

Post by migwelly »

Hi,

It would be great if you guys can share you're Tasker projects.
I think that many people will be helped.

Regards,

Migwelly
BakSeeDaa
Posts: 485
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi / ODroid
Domoticz version:

Re: See who is ringing the door bell on Your Android

Post by BakSeeDaa »

migwelly wrote:Hi,

It would be great if you guys can share you're Tasker projects.
I think that many people will be helped.

Regards,

Migwelly
DutchHans wrote:Good afternoon,
Could you share your tasker project/tasks..

Cheers, Hans
I'm currently adding some functionality in the tasker tasks to conditionally be alerted also while not connected to my LAN.

To share the tasker profile and tasks, I'd better make it a separate project. I also need to rename the tasks used since the current task names might be offending. :oops: I used some bad words. :D
Raspberry Piet
Posts: 158
Joined: Saturday 11 January 2014 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: See who is ringing the door bell on Your Android

Post by Raspberry Piet »

BakSeeDaa wrote:Thanks guys. You are fast!

I've got it working already. It's quite simple. Domoticz is using an AutoRemote call that triggers Tasker to start a task which does the following:

- Destroy Scene
- HTTP Get (mime-type image/jpg) (fetching URL from web camera and save a temporary file on sdcard)
- Secure Settings plugin (Screen on for 20 secs)
- Show scene (Tasker scene with an image as background)

Now, I'll have to wait for visitors.... ha ha

I use this same setup with AutoRemote and Tasker but at the end Tasker launches (send intent) IP Cam Viewer to show a stream instead of a picture.
BakSeeDaa
Posts: 485
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi / ODroid
Domoticz version:

Re: See who is ringing the door bell on Your Android

Post by BakSeeDaa »

DutchHans wrote:Good afternoon,
Could you share your tasker project/tasks..

Cheers, Hans
I decided to make it simple.

Here is a screenshot of my Tasker task. It's invoked by a Tasker profile that triggers on an AutoRemote Event. Very basic.
It will just open up the IP Web cams URL in the browser, using different URL:s depending on if I'm using the home WiFi or not.
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: See who is ringing the door bell on Your Android

Post by deennoo »

Hère is mine.

Base for alarm but will work szme way.

Got old Android phone who act as SMS gateway.

When a switch is trigger, this send my a SMS with a texte i define.

Tasker Èvent : new text from with text = some one in house
Image

When this SMS arrive this lunch tiny monitor on my androidwear device then i can see who is here :

Image

Finally this give :

Image
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest