Page 1 of 1

See who is ringing the door bell on Your Android

Posted: Friday 04 March 2016 10:22
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:

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

Posted: Friday 04 March 2016 12:07
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

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

Posted: Friday 04 March 2016 12:13
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

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

Posted: Friday 04 March 2016 13:26
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 !

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

Posted: Friday 04 March 2016 13:54
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

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

Posted: Friday 04 March 2016 15:39
by DutchHans
Good afternoon,
Could you share your tasker project/tasks..

Cheers, Hans

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

Posted: Saturday 05 March 2016 9:25
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

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

Posted: Saturday 05 March 2016 9:32
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

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

Posted: Saturday 05 March 2016 11:17
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.

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

Posted: Saturday 05 March 2016 13:07
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.

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

Posted: Saturday 05 March 2016 15:53
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