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

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
wehkjl2
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 »

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.

thanks!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

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

Post by asker »

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.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
MoOz
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 »

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