about to build app that auto shows camera on tablet on alert

Discussion topics related to mobile applications for ZoneMinder
Post Reply
Posts: 1
Joined: Fri Jan 10, 2020 9:34 pm

about to build app that auto shows camera on tablet on alert

Post by wehkjl2 » Fri Jan 10, 2020 9:43 pm

So I'm about to attempt to develop an app that will show camera on 'registered' tablets when an alert is triggered by one of the cameras.

Here's the usecase:
I will have tablets in different places around the house as part of my home automation. I want to be able to see who is at the cameras whenever an alert is fired. I want this to launch from the background if necessary and I don't want to ahve to press anything on the tablets to trigger this.

I believe the android SDK supports this:

https://stackoverflow.com/questions/297 ... background

So again the features are:
* auto pops up from alert (that is, if some other app is in the foreground, the camera view will take over much like in the same way as you getting a phonecall)
* no need to touch anything (yes screen will have to be on all the time--will think through power management strategies later)

I'm assuming ZM ninja doesn't have these features, and there are no other app solutions. I'd be happy to be told I'm wrong. Please let me know if there is a current solution, or if you see any potential issues that would make this POC non-viable.


User avatar
Posts: 1411
Joined: Sun Mar 01, 2015 12:12 pm

Re: about to build app that auto shows camera on tablet on alert

Post by asker » Sat Jan 11, 2020 11:06 am

Correct. ZmNinja does not do that today. Look forward to the app - I’m sure folks would find the feature useful. There have been requests for a similar ask in zmNinja but I haven’t had the time to look at a combined approach for both iOS and Android (wrapped as a cordova plugin).

With respect to feasibility I know it’s possible in android. Never tried it though. I suppose you’d want to make sure the app is not constantly streaming in the background. Maybe when it gets an alarm from the ES via push or web sockets it can auto pop to foreground and start streaming and then when it receives an alarm end it goes back.
My collection of ZoneMinder learnings:

Posts: 31
Joined: Tue Jan 17, 2017 9:49 pm

Re: about to build app that auto shows camera on tablet on alert

Post by MoOz » Sat Jan 25, 2020 2:16 am

That is a great idea
I have been looking for a feature like this

I have the tablets for home automation that mount in the wall that are POE

also a project that I tested, used the Pushover app
the only problen with that you have no control over the what camera pops up and No video
here is the project
https://www.jens.bruntt.dk/zoneminder-w ... fications/

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests