Axis camera component

I know this is an old thread… but probably around 0.100, my Axis setup stopped working. My cams are both on 5.50, but HASS cant seem to stream them… Getting a lot of

Tue Dec 03 2019 21:48:27 GMT-0500 (Eastern Standard Time)

Config entry for axis not ready yet. Retrying in 80 seconds.

and

Tue Dec 03 2019 21:48:27 GMT-0500 (Eastern Standard Time)
Error connecting to the Axis device at 192.168.0.90

I cant find any more descriptive errors… Anyone else with a similar issue?

Have you verified that the IP address hasn’t changed?

Hello,
I am seaching about a smart doorbell without cloud subscription, and after fiew weeks I found the Axis 8105-E.
I have some questions:
Is that possible to have doorbell button event in HA ?
What about the TTS using the internal speaker ? It would be grest appreciated !
And the audio stream from the camera ?

Best regards, keep me in touch !

Yes the button event should work. I had a rough alpha working with tts but it was hard to make portable for users. The main issue is the used audiocodec ok the cameras

If you are looking for video popup on your phone, Axis has the Companion software you could install on the A8105 which would give you ‘Ring’ like functionality. Companion is free.

How many thanks, I am very interested.
I see it is sip compatible.
Is your able alone to establish a phone call ?
how do you pay for the dievice, I see it is very expensive ?

Many thanks for your replay!

Yes, it is SIP compatible and I have had it working on Cisco, Avaya, Grandstream…etc. It supports peer-to-peer SIP as well so you don’t necessarily need a PBX. I think the MSRP is $799 USD and you have to buy it through an Axis partner in your area. It works with Axis’ Companion software and mobile app and other partner software as well.

1 Like

Hello,
Many thanks for your reply.
Can you exlain me what does SIP means for a doorbell ?
I had an asterix server, but no physical interface to be able to connect to “old scool line” phone.
So, doorbel SIP enabled means this device is able to compose an phone number and initiate a call when somebody push the button ?
Many thanks for your explanation !
do you know if it is a mean to buy Axis door bell at a lower price ? Because I am a retired man an a small budget…

SIP is Session Initiation Protocol. It is an open standard that allows devices that are compatible to initiate and complete phone calls. It happens over the network without getting too complicated. The A8105 can act just like an IP desk phone. You can call from it (even a 10 digit outside number if you have all the parts and pieces in place). You can call to it as well. If you want to use SIP to call outside your network, you’ll need a TRUNK so that your internal call can get sent over the Internet.

The MSRP I quoted is just the list price. You can probably find it for less if you shop around with different Axis partners.

Because SIP takes a bit to setup (although it isn’t too hard) most people just use the Axis Companion app which will work outside your internal network as long as it has Internet access. The A8105 basically bounces the call off of an Axis server and down to the app running on your mobile device.

@Robban hi I want to use a specific stream profile for the rtsp. In the camera.py file you have the stream URLs listed. Can I change the rtsp stream URL to point at the profile (I know the vapix URL)? Also where is the file located? I dont mind if it’s a global change as I can configure all my Axis cameras to suit.

Thanks

Right now you would have to modify the file itself to change the url, I could possibly expose this as a config option

@Robban Hi I am still having problems with one of my cameras that looses the RTSP session then HA never trys to reestablish it. I turned debug logging on and i was able to capture the last 200 ok and then the next response was 454 session not found.

2020-03-26 00:26:49 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 200 OK', 'CSeq: 4', 'Public: OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN', 'Server: GStreamer RTS
P server', 'Session: rkWgPZCGKBUj7MkC; timeout=60', 'Date: Wed, 25 Mar 2020 23:26:51 GMT', ''] from 192.168.1.41
2020-03-26 00:26:49 DEBUG (MainThread) [axis.rtsp] RTSP session (192.168.1.41) state playing
2020-03-26 00:26:49 DEBUG (MainThread) [axis.rtsp] RTSP session (192.168.1.41) state playing
2020-03-26 00:26:49 DEBUG (MainThread) [axis.rtsp] RTSP session (192.168.1.41) state playing
2020-03-26 00:27:09 DEBUG (MainThread) [axis.rtsp] OPTIONS rtsp://192.168.1.42/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0
CSeq: 4
User-Agent: HASS Axis
Session: N7_Xkk8ES1PglRDl




2020-03-26 00:27:51 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 454 Session Not Found', 'CSeq: 4', 'Server: GStreamer RTSP server', 'Date: Wed, 25 Mar 2020 23:27:54 GMT', ''] from 192.168.1.41
2020-03-26 00:27:51 DEBUG (MainThread) [axis.rtsp] 192.168.1.41 RTSP 454 Session
2020-03-26 00:27:51 DEBUG (MainThread) [axis.rtsp] RTSP session (192.168.1.41) state playing
2020-03-26 00:27:51 DEBUG (MainThread) [axis.rtsp] RTSP session (192.168.1.41) state playing
2020-03-26 00:28:04 DEBUG (MainThread) [axis.rtsp] OPTIONS rtsp://192.168.1.42/axis-media/media.amp?video=0&audio=0&event=on RTSP/1.0
CSeq: 4
User-Agent: HASS Axis
Session: N7_Xkk8ES1PglRDl

Any suggestions? I should say that this is a different physical camera from the one that was having this problem last year. They are the same model running 6.5 firmware with VMD4. It is the VMD4 that is the issue. It will stop reporting to HA after 3 hours. I have messed with the RTSP timeout setting on the camera but it seems to have no effect.

Ok, maybe there is an issue when certain fault codes gets sent. Can you create an issue on my axis github?

Thanks for great work. Is it possible to make Ha stream the doubble panaroma view insted of the default? The camera is a 3047-p.

I should add an option to allow stream to be configurable :+1:

Could you create an issue on axis library GitHub with some more details? what the url is and if it is visible when you list supported streams etc…

@Robban hello, im trying to add a P8221 io module however i just get “unknown error occured”. I know the unit doesnt have a RTSP stream, which is probably the issue, however i would like to be able to monitor the inputs and outputs if possible on this I/O unit.

Is this an option, could i manually add it via YAML somehow?

Cheers

Sorry, the firmware required for the integration to work is minimum 5.50 since that is where the event stream was introduced

Thanks for the great work on this component. It would indeed be great to get an option to allow stream to be configurable. I have an AXIS M3058, and the default image with the component is the 360° fisheye view, as @Jake999. Thanks !

Please create an issue on the Axis library github to help me remember :slight_smile:

Done :slight_smile:

1 Like