zoneminder icon indicating copy to clipboard operation
zoneminder copied to clipboard

More, better, IP camera presets [$100]

Open digdilem opened this issue 12 years ago • 17 comments
trafficstars

Existing preset list is long without much content. Either add to that with a bunch of new cams (I can help with some common paths), or some two-stage "Manufacturer -> Model" selection to make it less of a scroll-beast?

There is a $100 open bounty on this issue. Add to the bounty at Bountysource.

digdilem avatar Jun 06 '13 23:06 digdilem

On 13-06-06 07:13 PM, digdilem wrote:

Existing preset list is long without much content. Either add to that with a bunch of new cams (I can help with some common paths), or some two-stage "Manufacturer -> Model" selection to make it less of a scroll-beast?

— Reply to this email directly or view it on GitHub https://github.com/ZoneMinder/ZoneMinder/issues/17.

agreed, manufacturer -> Model

connortechnology avatar Jun 07 '13 13:06 connortechnology

When I get to this part of the new frontend, I'll implement it. Is this worth doing with the classic / current skin?

kylejohnson avatar Jun 07 '13 14:06 kylejohnson

It's a minor request, so my guess would be no - unless the schema/dropdown can be copied into the later version.

digdilem avatar Jun 07 '13 20:06 digdilem

I'd be happy to contribute additional profiles covering PLANET cameras which are common in the Asian region.

jaydio avatar Sep 20 '13 07:09 jaydio

The next release of zoneminder will have a new tool called zmcamtool.pl. While I didn't intend for it to directly fulfill this particular issue, it instead makes it easier & quicker for just about anyone to add more presets into zoneminder.

knight-of-ni avatar Feb 01 '14 20:02 knight-of-ni

Sounds great - I've got a small database that I can help populate it with, let me know - or just help yourself: http://digdilem.org/cameras/ - Export CSV

digdilem avatar Feb 01 '14 20:02 digdilem

We maintain a good list of Camera Vendors & Models at http://www.cambase.io/models ... also all available in .json from the API. Includes URLs, it's all open source.

marcoherbst avatar May 26 '15 12:05 marcoherbst

Here is one way to get more presets added to zoneminder:

  1. program camera into your instance of zoneminder (it doesn't have to actually work, but a reasonable attempt should be made to make sure things such at the url, resolution, etc are correct)
  2. Use zmcamtool.pl to convert the camera to a preset (it will attempt to replace ips & passwords with generic tags)
  3. Use zmcamtool.pl to export the preset out of the dB and into a .sql script
  4. Generate a pull request here on github that adds the record to zm_create.sql.in with the rest of the presets (https://github.com/ZoneMinder/ZoneMinder/blob/master/db/zm_create.sql.in#L566)

Anyone can do this and then claim the bounty.

knight-of-ni avatar May 26 '15 13:05 knight-of-ni

I think the bounty for this should be more about improving the interfaces to provide the preset options, as well as populating the db with presets. We could offer a generic bounty of $5 or something for each undiscovered preset.

Thanks for the tip @marcoherbst I wasn't aware of that list.

connortechnology avatar May 26 '15 13:05 connortechnology

Review and make submission on presets, versus ONVIF.

SteveGilvarry avatar Mar 18 '17 10:03 SteveGilvarry

I'm interested in solving this ticket but I think the community needs a chance for some input first. How would people be most interested in narrowing down a preset from what will (presumably) become a large list of presets?

I've wireframed one option here where one selects Manufacturer -> Model -> Stream configuration. Another that may be useful is a single fuzzy search bar.

screenshot from 2018-10-14 22-46-01 https://wireframe.cc/1550E3

screenshot from 2018-10-14 22-46-51 https://wireframe.cc/7KCjC5

At the end of the day, it is just a preset selection but it would be nice to start with a UI people like.

EDIT: I forgot to mention. I was planning on adding more presets in ticket #2254 but I don't think there's much point in my effort until we decide on the UI. It makes sense to change the internal data structure to best access the information we need and bringing new data into the mix would duplicate work.

azend avatar Oct 15 '18 02:10 azend

Looks good to me.

connortechnology avatar Oct 15 '18 13:10 connortechnology

Bountysource is going to take the money in this bounty on July 1st unless the funds are redirected. Alternatively I can close this out, collect the bounty and ZoneMinder will hold the funds until it is properly closed.

connortechnology avatar Jun 17 '20 16:06 connortechnology

I've actually started roughing some of this in. Could end up in 1.35.7

connortechnology avatar Sep 21 '20 23:09 connortechnology

@marcoherbst that link is no longer available, do you have another?

In case anyone is wondering, I am finishing up a PR that just adds manufacturer/model selection similar to what is wireframed above.

connortechnology avatar Oct 08 '21 17:10 connortechnology

Sorry, it's long gone. It was really just an assembly of what's available on various other sites ... if I was doing it again, I would probably do it in something like github as a big json file which people could then make PRs to ... (?) ... if that makes sense ..

The interesting part of our structure was a collection of snapshot & stream URLs for different manufacturers. These days I think you'd get that on a device by device basis via an onvif request (?)

disclaimer: I'm not sure about any of this, sorry I'm not more helpful.

marcoherbst avatar Oct 08 '21 17:10 marcoherbst

No worries. We may use this to crowd source the generation of such a list. Just wanted to start with a baseline. Will make it available in github.

connortechnology avatar Oct 08 '21 17:10 connortechnology