PiCam and motioneye, how to integrate them in HA?

I have a raspberry pi zero with its cam (Pi Cam v2), in the motioneye frontend I can see the cam stream but I can’t integrate it in HA … the url I use is the one provided by motioneye (192.168.xxx:8081) and in the state section there is the entity camera.ffmpeg but no video is showing.
This is the code:

Configuration.yaml

camera:
  - platform: ffmpeg
    input: 192.168.1.xxx:8081

ffmpeg:
  ffmpeg_bin: /usr/bin/ffmpeg

You should give a name to the camera (e.g. given_name). Then in lovelace you can call it by camera.given_name.

1 Like

Yes I already did it but still no video… maybe is an url issue. Someone that have motioneye can confirm that the right url stream is the one motioneye provide?

My understanding is that you should use the mjpeg integration, not ffmpeg.

I’ll try, thanks…

Ok now everything works, with the ffmpeg as in my first post… although I don’t know why, I’m anyway happy :slight_smile: thank you everybody