open source ZM client: ZmNinja (uses ZoneMinder APIs)

Discussion topics related to mobile applications for ZoneMinder
Andre81
Posts: 14
Joined: Thu Jun 25, 2009 10:25 am

Re: Working on an open source ZM client: ZmNinja

Post by Andre81 » Tue May 19, 2015 5:15 pm

asker wrote:Lots of new updates:
Both Android and iOS ports are rock solid. Events view integrated, with skip/prev/next/pause/play
If any of you want to install the APIs for ZoneMinder, I'll be happy to send you the app to test

https://github.com/pliablepixels/zmNinja

Hi asker, I want to test your app, either iOS and Android 5

Thanks

Andrea

patpend
Posts: 43
Joined: Thu Mar 13, 2014 12:23 pm

Re: Working on an open source ZM client: ZmNinja

Post by patpend » Tue Jun 09, 2015 6:11 pm

asker wrote:Lots of new updates:
Both Android and iOS ports are rock solid. Events view integrated, with skip/prev/next/pause/play
If any of you want to install the APIs for ZoneMinder, I'll be happy to send you the app to test

https://github.com/pliablepixels/zmNinja
Great project, I'm happy to help test the app on iPhone, iPad, and Android devices. I plan to use an existing docker container that includes 1.28.1 with the APIs, or build one myself if necessary. Thinking out loud, which port(s) does the API expect to be open? Docker remaps ports by default, so they need to be defined on the docker side and/or a setting provided in the app which allows the port to be changed.

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

Re: Working on an open source ZM client: ZmNinja

Post by asker » Mon Jun 15, 2015 3:34 pm

Patpend, thanks for your offer.
I've been working with the ZM devs to get the APIs incorporated into the master branch, which is done.
iconnor is working on adding an authentication layer - I really want to wait for that, test that myself first and then release a package for the app.
Hopefully in a few days/weeks --> not quite sure as it would depend on his schedule.

I'll post an update when that happens


patpend wrote:
asker wrote:Lots of new updates:
Both Android and iOS ports are rock solid. Events view integrated, with skip/prev/next/pause/play
If any of you want to install the APIs for ZoneMinder, I'll be happy to send you the app to test
a
Great project, I'm happy to help test the app on iPhone, iPad, and Android devices. I plan to use an existing docker container that includes 1.28.1 with the APIs, or build one myself if necessary. Thinking out loud, which port(s) does the API expect to be open? Docker remaps ports by default, so they need to be defined on the docker side and/or a setting provided in the app which allows the port to be changed.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

McFuzz
Posts: 181
Joined: Tue Aug 28, 2012 7:03 am

Re: Working on an open source ZM client: ZmNinja

Post by McFuzz » Sun Jun 21, 2015 6:42 am

Looks fantastic!

jhmiller
Posts: 8
Joined: Sat Mar 01, 2014 9:52 am

Re: Working on an open source ZM client: ZmNinja

Post by jhmiller » Fri Jun 26, 2015 11:35 am

Could I test the android app?
I have been working on a ZM plugin for Openmediavault. I think i have built the package with the API commands but I am not sure how to test apart from using your app.

Thanks
Miller

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

Re: Working on an open source ZM client: ZmNinja

Post by asker » Fri Jun 26, 2015 1:01 pm

jhmiller wrote:Could I test the android app?
I have been working on a ZM plugin for Openmediavault. I think i have built the package with the API commands but I am not sure how to test apart from using your app.

Thanks
Miller
You sure can. But before you do, make sure you have the right API installed. The full APIs are only available on the master branch today, not in 1.28.1 even if you use cmake (its installs APIs which are not complete)

An easy way for you to test, once you have the APIs set up is to do this from your terminal:

Code: Select all

curl http://server/zm/api/host/getVersion.json 
(replace server with the IP/port of your ZM install)
If this does not produce

Code: Select all

{
    "version": "1.28.1",
    "apiversion": "1.28.1.1"
}
You have either (depending on the error):
1. Not installed the APIs
2. Installed the APIs but not configured it correctly
3. Using an incomplete/old version of the API
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

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

Re: Working on an open source ZM client: ZmNinja

Post by asker » Tue Jun 30, 2015 8:19 pm

The automatic package with APIs is taking time, so in the mean time, if you are interested,
I've written up how to set up a ZM instance from source with cmake. It will also setup your APIs and set up basic security for your APIs.

If you are able to get it up and running, then I'll be happy to send you the app to test.

The instructions are for Ubuntu 14 - that's all I have to test

https://github.com/pliablepixels/zmNinj ... --security

thx
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

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

Re: Working on an open source ZM client: ZmNinja

Post by asker » Sat Jul 04, 2015 10:54 pm

I now have beta-test versions ready for iOS and Android. If you have an API version ready as per the instructions below, please shoot me an email and I'll be happy to send you a version to test (as long as you provide feedback).

thx
asker wrote:The automatic package with APIs is taking time, so in the mean time, if you are interested,
I've written up how to set up a ZM instance from source with cmake. It will also setup your APIs and set up basic security for your APIs.

If you are able to get it up and running, then I'll be happy to send you the app to test.

The instructions are for Ubuntu 14 - that's all I have to test

https://github.com/pliablepixels/zmNinj ... --security

thx
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

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

Re: open source ZM client: ZmNinja

Post by asker » Sun Jul 05, 2015 4:13 pm

For folks who have contacted me to test the app, please read the first post in this thread for pre-requisites.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

PacoLM
Posts: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: open source ZM client: ZmNinja

Post by PacoLM » Tue Jul 14, 2015 5:46 am

Hi asker,

Request for a function-> add a button to capture an image for all the active monitors (the current image when the button is clicked), and get the image to your phone or email.

What do you think?

PacoLM

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.31.1)

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

Re: open source ZM client: ZmNinja

Post by asker » Tue Jul 14, 2015 7:19 am

Hi PacoLM, I think thats a good idea. I can add a 'take snapshot' button that will directly save an image to your phone/tablet
PacoLM wrote:Hi asker,

Request for a function-> add a button to capture an image for all the active monitors (the current image when the button is clicked), and get the image to your phone or email.

What do you think?

PacoLM
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

PacoLM
Posts: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: open source ZM client: ZmNinja

Post by PacoLM » Tue Jul 14, 2015 10:40 am

That will be wonderful. I didn't installed the app yet. :roll:
I have to find some time to read carefully the instructions. By the way, do I need to uninstall/install ZM1.28 in order to get the API or it's a add-on?

Thanks!

PacoLM

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.31.1)

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

Re: open source ZM client: ZmNinja

Post by asker » Tue Jul 14, 2015 8:05 pm

uninstall/install following my instructions would be the easiest way till iconnor releases a PPA
PacoLM wrote:That will be wonderful. I didn't installed the app yet. :roll:
I have to find some time to read carefully the instructions. By the way, do I need to uninstall/install ZM1.28 in order to get the API or it's a add-on?

Thanks!

PacoLM
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

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

Re: open source ZM client: ZmNinja

Post by asker » Mon Jul 27, 2015 12:17 am

Quick update:

zmNinja now has real time scrubbing (back and forward) of events - much better performance than the zone minder events control. It also shows you where the alarm frames are so you can scrub to that point.

Slide away!

You can now also capture a photo of a live view and store it in your phone photo album.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

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

Re: open source ZM client: ZmNinja

Post by asker » Wed Aug 05, 2015 9:25 pm

Some awesome new updates:

(Alpha-testers will automatically get an update with timeline pushed to their phones.)

In addition to the incredible(tm), life changing(tm) "Events scrubbing" feature, zmNinja now has pan-zoom capable timeline. Magical(tm), life enhancing(tm)!

You can zoom in/out, select specific date ranges and tap on the timeline to scrub specific images. How cool is that?

S

(For the testers: timeline is a resource intensive operation and the way ZM returns data in the API makes it very timeline unfriendly, so I've made compromises. Also while this timeline is fully touch pan/zoom capable, for performance reasons I've had to disable that and enable pan/zoom via buttons. More on that in 1-1 developer-tester emails)
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests