Giter VIP home page Giter VIP logo

Comments (9)

lenny-intel avatar lenny-intel commented on August 17, 2024 1

Yes, the camera management app in examples is for 2.x version only. You are running the latest 3.0.0 WIP services from edgex-compose. Simply checkout the levski branch of edgex-compose and run the compose file from that branch.

from device-onvif-camera.

ajcasagrande avatar ajcasagrande commented on August 17, 2024 1

Last q on the tutorial here - I see the menus have a simulated camera option - Is there a fast way to get something like this going in the documentation?

I couldnt find by searching or in the simple setup / camera demo. What's recommended?

We have used the Happytime Multi ONVIF Server as a simulator for Onvif cameras. The free version out of the box is limited to 2 cameras, and does not integrate as nicely into the system.

Internally we have purchased the source code to it and have modified it to improve some of that compatibility. We currently use it as one of our devices for our automated integration testing.

from device-onvif-camera.

Einse57 avatar Einse57 commented on August 17, 2024 1

Awesome, total success! Thanks for the guidance here.

from device-onvif-camera.

lenny-intel avatar lenny-intel commented on August 17, 2024

@Einse57 , Issue 1 is because you are using the example Camera App (built for 2.3.0 release) with the latest WIP dev ONVIF camera code for the upcoming 3.0.0 release. Please use the code from the ONVIF camera 2.3.0 tag, which is compatible with the example Camera App, here: https://github.com/edgexfoundry/device-onvif-camera/tree/v2.3.0

from device-onvif-camera.

ajcasagrande avatar ajcasagrande commented on August 17, 2024

@Einse57 for issue 2, it we have not completely dockerized the example app yet, so that is why installing Go is required. You can install the latest version here: https://go.dev/doc/install

from device-onvif-camera.

Einse57 avatar Einse57 commented on August 17, 2024

I removed the newer image that was auto pulled for device-onvif-camera then went back and checked out the v2.3.0 tag from https://github.com/edgexfoundry/device-onvif-camera.git then ran make docker successfully. I see the corresponding dev 0.0.0 image from my build of the onvif camera device service but when I rerun it's still throwing the following - Do I need to make sure all services are v2.3.0? Is there an easy way to do that in the compose framework?

level=INFO ts=2023-02-27T22:03:50.7634665Z app=app-camera-management source=telemetry.go:78 msg="Starting CPU Usage Average loop"
level=ERROR ts=2023-02-27T22:03:50.7759503Z app=app-camera-management source=version.go:137 msg="Core Services version (3.0.0-dev.67) is not compatible with SDK's version(v2.3.0)"
level=ERROR ts=2023-02-27T22:03:50.7760047Z app=app-camera-management source=factory.go:43 msg="App Service initialization failed: boostrapping failed"
error: unable to create new app service app-camera-management!
level=INFO ts=2023-02-27T22:03:50.7760372Z app=app-camera-management source=telemetry.go:83 msg="Exiting CPU Usage Average loop"

from device-onvif-camera.

Einse57 avatar Einse57 commented on August 17, 2024

It's working! Checking out the v2.3.0 tag in edgex-compose worked. I had assumed that this was already 2.3.0 since that was the latest tag.

I think where I went wrong was in focusing on the device-onvif-camera repo vs fixing my version mismatch in the compose repo (since the simple tutorial has you pull them vs build them first).

Maybe moving the checkout step of device-onvif-camera could be move later in the guide just before use?

https://github.com/edgexfoundry/device-onvif-camera/blob/main/doc/guides/SimpleStartupGuide.md#deploy-edgex-and-onvif-device-camera-microservice

from device-onvif-camera.

Einse57 avatar Einse57 commented on August 17, 2024

Last q on the tutorial here - I see the menus have a simulated camera option - Is there a fast way to get something like this going in the documentation?

I couldnt find by searching or in the simple setup / camera demo. What's recommended?

from device-onvif-camera.

lenny-intel avatar lenny-intel commented on August 17, 2024

Last q on the tutorial here - I see the menus have a simulated camera option - Is there a fast way to get something like this going in the documentation?

I couldnt find by searching or in the simple setup / camera demo. What's recommended?

@ajcasagrande can better answer this.

from device-onvif-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.