Comments (25)
I think I found it, it is the root.Image parameters in param.cgi
from axis.
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.
Awesome!
Just a thought: stream profiles doesn't solve this? https://github.com/Kane610/axis/blob/master/axis/stream_profiles.py
from axis.
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.
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:
from axis.
I will look at this soon. The two integrations shouldn't affect each other
from axis.
@WhistleMaster could you share logs of this behavior?
from axis.
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.
Yes there are already there on the camera and I can get them with the ONVIF integration. Which logs would you like ?
from axis.
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.
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.
And here are the logs:
ha_logs.txt
from axis.
According to the logs there are no configured stream profiles. And I'm working on adding proper view area support
from axis.
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.
Parts of it is solved, but not yet in home assistant
from axis.
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.
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.
Ok, well I'm not utilizing any onvif functionality. Its all Vapix APIs I call
from axis.
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.
Isn't it worth investigating more?
from axis.
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.
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.
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.
I think those are view areas. I have that implemented. Just need to verify everything :)
from axis.
I've done something, try it out in beta shortly!
from axis.
Haven't heard anything and functionality is available, closing this. Feedback would be appreciated.
from axis.
Thanks for the feedback! Happy i could solve it 😃
from axis.
Related Issues (20)
- HTTPS support HOT 6
- Axis problem with post command HOT 1
- Websocket support HOT 1
- Enable/disable automations
- sending command to enable/disable an action rule
- Axis cameras (Companion line) - solved by kimjohnson
- Add PTZ, zoom and preset positions to Axis camera integration
- Pytest picked
- Companion line support
- Axis M1031-W keeps trying to connect to the default IP and spamming the logs
- Cannot view RTSP stream Axis M3106-LVE
- Axis integration, motion sensors randomly stops reporting
- New device class doorbell needed to resolve homekit issue
- Debouncing HA state updates
- Axis camera motion sensor becomes unavailable
- Feature request of PTZ commands and preset positions in Axis cameras HOT 1
- Specify resolution in home assistant
- error handling event type with no MessageInstance HOT 13
- file conflicts with aiounify package? HOT 2
- Request specifying ports on RTSP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axis.