supervisor: rpi_camera 'Image not available'
I’m seeing ‘Image not available’ under 0.53 on Pi-zero-W and pi-3 with platform: rpi_camera

About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 50 (6 by maintainers)
I’m seeing ‘Image not available’ under 0.53 on Pi-zero-W and pi-3 with platform: rpi_camera

Any resolution? Have RPi3B+ and running latest everything (as of 22.07.2020) and added an RPi cam for surveillance, but cannot get it enabled
I was having this same issue and I debugged and seemingly fixed it through noticing that the
rpi_camera.pycomponent was essentially running theraspistillcommand. I tried to emulate the command it was running usingWhich gave me an error:
And through some googlefu it seems like the homeassistant profile I was running as needed to be added to the raspberry pi video group.
Then I restarted the home assistant service
And it started working just fine. Hopefully this is enough info for others to figure out what might be wrong with their camera too.
On Hassio there is a workaround that you can do in order to use the Raspberry camera until this issue is fixed:
As @Mryck pointed out in order to use the camera, 2 additional steps need to be done:
resin-bootpartition of your SD card, modify the fileconfig.txtwith the following value:For that, you need a shell access to the resin-os system (not a shell inside a container): You can use the debug SSH access described here. Then, once logged, type the following commands:
The first command will remount the main file system with write permission and the second one create a configuration file that will load the kernel module bcm2835-v4l2 at startup.
Reboot in order to apply changes.
Now the camera should be exposed in
/dev/. If you want to check, log in again and typels /dev/video*. For me, as I have just the Raspberry camera, I only see one line:/dev/video0Finally to use the camera in Home Assistant you can use the ffmpeg component. Put something like this inside your
configuration.yaml:Done on a Raspberry 2 with a fresh install of Hassio (build 1.3). Hassio 0.98, Home assistant 0.65.6.
Did we get this problem fixed yet ?
I will leave a comment here, as i got a workaround working for me. Hopefully it helps someone 😉
@gollo I would like to take the approach of trying to make it work inside any Docker container on the Hass.io/ResinOS Docker host.
I agree with @gdampf . However here you can find a workaround: https://gist.github.com/enegaard/a57af286205914bd912270c89650fb1b
https://raspberrypi.stackexchange.com/questions/46851/raspberry-pi-2-camera-and-alpinelinux/51440#51440 Apparently this is the only solution, but I don’t know how to do it on a RPI running HassOS.
Solved it…
Hi gollo, It’s nice to know the cause - but still, most of the users of hass.io have choosen it, because, they don’t want to start development themselves - they just want to use the system. And that’s why it does not help just to know why it is actually not working. This bug will force them to switch to hassbian or similar. Is anyone still working on that issue or is hass.io not supporting rpi cameras anymore? Or did I miss a sufficient workaround? Don’t missunderstand my impatience, I really appreciate the work the comunity has done so far. BR Guido
I’m looking into it when I have the time…
On Mon, 11 Sep 2017 at 22:44 Pascal Vizeli notifications@github.com wrote:
Please can you resolve this issue? Regards,
same issue 😦 a little bit disapointed… I switch to hass.io to escape this kind of troubles and keep concentrate on designing a cool gui
This may work on Homeassistant but not on HASSOS as trying to run “raspi-config” doesn’t work.
editing config.txt makes the rpi3 not boot
is there really no solution for this?? I’m getting “idle” status and can’t see an image using raspberry pi camera
Package has arrived 🎉