Giter Club home page Giter Club logo

Comments (25)

Kane610 avatar Kane610 commented on June 24, 2024 1

I think I found it, it is the root.Image parameters in param.cgi

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024 1

I've just updated HA this morning and tried the new AXIS integration and... it's working perfectly fine ! That's great, I can select the view now, thanks for the great work !

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Awesome!

Just a thought: stream profiles doesn't solve this? https://github.com/Kane610/axis/blob/master/axis/stream_profiles.py

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

Unfortunately, no, you can't select a "view" for a profile. It seems that it's only for parameters such as resolutions, etc.

I can use different URLs, such as http://<AXIS_IP>/axis-cgi/jpg/image.cgi?camera={1-12} to get a still image, or rtsp://<AXIS_IP>/axis-media/media.amp?videocodec=h264&camera={1-12} for streaming.

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

Just figured out something this morning... I have to setup both the ONVIF and the AXIS integration for my camera to get all the different profiles with each view and also the different sensors.

If I setup each integration separately, either I get the different profiles with each views but not the sensors and vice-versa.

Strange thing is that I can't select any profile with the AXIS integration:
Screenshot 2020-12-24 at 14 07 31

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

I will look at this soon. The two integrations shouldn't affect each other

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

@WhistleMaster could you share logs of this behavior?

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Have you configured stream profiles on the camera? I dont think there are any automatically created profiles but you have to do it yourself

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

Yes there are already there on the camera and I can get them with the ONVIF integration. Which logs would you like ?

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

So you mean you don't get the stream profiles from the camera with the axis integration? Are you perhaps using too low level of credentials?

Enable debug logging for the axis integration and share what pops out of it :)

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

Indeed. I've tried with the root user with the AXIS integration but I don't get any stream profiles either. I've created a ONVIF user in "administrator" user group, but it doesn't work with the AXIS integration (I cannot log in from the integration) but this user does work with the ONVIF integration and I get the stream profiles.

I will enable debug logging and send the logs :)

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

And here are the logs:
ha_logs.txt

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

According to the logs there are no configured stream profiles. And I'm working on adding proper view area support

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

How are the different views for your 360 device presented? How do you know that you get a view which is not the 360° view?

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Parts of it is solved, but not yet in home assistant

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

According to the logs there are no configured stream profiles. And I'm working on adding proper view area support

Well, the profiles are defined in the OVNIF section of the camera ("ONVIF media profiles"), that's maybe why I can see it with the OVNIF integration but not with the AXIS one. I don't have stream profiles defined in the "Stream profiles" section.

Screenshot 2021-01-05 at 12 33 27

Screenshot 2021-01-05 at 12 33 41

How are the different views for your 360 device presented? How do you know that you get a view which is not the 360° view?

They are available with the "ONVIF media profiles" but not with the "Stream profiles". I have to use an OVNIF user to get them with the ONVIF integration.

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Ok, well I'm not utilizing any onvif functionality. Its all Vapix APIs I call

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

That’s why then, so the only way to get the different views other than the 360 one is to use the ONVIF profiles and the ONVIF integration because the standard AXIS stream profiles through vapix calls don’t propose this option to choose the view.

I guess we can close this issue. Thanks for your help !

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Isn't it worth investigating more?

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

You tell me :)

As I see it, the only way would be to include some ONVIF functions in your AXIS integration to include the profiles but that would require two different users, one for the AXIS integration and one for the ONVIF.

from axis.

WhistleMaster avatar WhistleMaster commented on June 24, 2024

I don't know if that could be of any help, but Synology Surveillance Station allows to select a "Video Channel" and it is not using ONVIF.

Screenshot 2021-01-09 at 08 19 08

I can use different URLs, such as http://<AXIS_IP>/axis-cgi/jpg/image.cgi?camera={1-12} to get a still image, or rtsp://<AXIS_IP>/axis-media/media.amp?videocodec=h264&camera={1-12} for streaming.

Maybe that's what is used in Synology Surveillance Station.

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

I think those are view areas. I have that implemented. Just need to verify everything :)

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

I've done something, try it out in beta shortly!

Screenshot 2021-01-17 at 19 21 17

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Haven't heard anything and functionality is available, closing this. Feedback would be appreciated.

from axis.

Kane610 avatar Kane610 commented on June 24, 2024

Thanks for the feedback! Happy i could solve it 😃

from axis.

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.