I have a couple of old Axis cameras:
A 2130 and a 2100, that I would like to get integrated, I know it’s old, but it’s a great little ptz camera, any idea if I can set it up; when i try it says bad credentials.
I also have a Xiongmai camera that has all access blocked to and from the outside world, is it possible to integrate this?
Is there any other way of integrating then, or could you recommend a camera that I can integrate? As low cost as possible, ideally poe if possible. How about the Xiongmai?
Is it possible to share what you figured out? I have an Axis 213 PTZ and struggle all day to integrade this in Hass. Tried everything I read about. Ofcourse in a browser no problems.
Someone else who got this type working? Please respond. Just a configuration to use it as a still and/or streaming cam is alright. Don’t need the fancy parts
I like HA so far as I have seen it. In the near future I want to migrate my z-wave stuff to HA. But for now I am trying to let everything non z-weave work. I managed to do this for my Denon HEOS AVR, my LG WebOS TV and my HUE lights. The cam was my next try. It is still not working. I tried to copy your config with my specs but nothing so far.
This is my setup:
I guessed it should be rtsp and I tried before I replied. But I can’t get rtsp stream working, also not in VLC or the browser. Just like I put in my example it works in a browser. (It also works in Domoticz and OpenHAB).
So I am a bit confused that it would not work in HA.
I did add the user and password in the cam.
It isn’t just the “rtsp” part that is wrong on your stream_source, the part after the ip address is wrong.
Your stream source is showin “/mjpg/video.mjpg” and should be “/axis-media/media.amp”
It needs to include the port number of 554. Also just checking that your password is HA_PASS and isnt stored in a secrets file? If the password is in a separate file it will need to be change to
The strange thing is that when I want to check f.i. the state of entities and I use the dropdown I can see a small icon that is the actual picture of the webcam. It is changing, so it must be actual. I can see it getting darker and darker.
So HA uses the image stream but I can’t get it in HA to work.
Steep learning curve for me
I found out that I manualy have to make a card inLovelace-menu. So I tried and this worked.
Because of the darkness it is impossible to see if its a still or stream picture. I used picture-entity so I guess it is a still.
I would like to know how I add a streaming picture to the menu.
could you please also share how you have integrated Xiongmai camera? I assume that examples below are valid only for Axis as it is not working for Xiongmai…
Hy and thanks for sharing your work. I had 2 Axis 241Q encoders and did follow this thread to integrate them in HA. It did not work at fist, looking at the 241Q logs I saw that HA was trying to login but credentials was no valid. I had to change the 241Q configuraiton to accept both encrypted and unencrypted password in System Options, Security, Users :
I then moved my password in clear text from the configuration.yaml file to secrets.yaml file. I was then able to replace the password by !secret myvariablename to remove the password from my config file at least. I would like a more secure way to send the password if possible. But a least, it worked!