HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: petediscrete on July 20, 2015, 08:39:41 PM

Title: Enabling Raspberry PI camera module (Resolved)
Post by: petediscrete on July 20, 2015, 08:39:41 PM
I installed HomeGenie on the Raspberry PI B+ from the RPI image. I did the three updates from the maintenance section and it is now fully up to date. I ran PUTTY and enabled the Raspberry PI Camera Module. The camera module is still not recognised.I updated Raspbian via PUTTY to ensure that v42l driver was installed. I can run raspistil and raspivid from the command line and the camera works fine.It is still not recognised on the configuration section of HomeGenie.

Am i doing anything wrong here
Title: Re: Enabling Raspberry PI camera module
Post by: petediscrete on July 21, 2015, 11:18:33 AM
Maybe the question I should have asked is, has anyone managed to get the Raspberry PI camera module attached to the Raspberry Pi's CSI port recognised, configured and working in HomeGenie. If so, how have you achieved this. I've tried many different approaches but none have worked so far.
Title: Re: Enabling Raspberry PI camera module
Post by: Gene on July 21, 2015, 02:33:48 PM
Ensure updating to latest RPi firmware and that the Video4Linux driver is enabled:

https://www.ics.com/blog/raspberry-pi-camera-module#.VAaCHqM0_YQ (https://www.ics.com/blog/raspberry-pi-camera-module#.VAaCHqM0_YQ)



Title: Re: Enabling Raspberry PI camera module
Post by: petediscrete on July 21, 2015, 05:38:17 PM
Yes Gene, Ive tried that link and many others without success. I've reflashed the Homegenie image and updated as per the latest version prior to trying any solutions. It's starting to remind me of my days trying to get Video for Linux working with a DVBS card in MythTV lol . I did succeed there in the end though and along came XBMC and took all that heartache away.

Would it be possible to incorporate the firmware/driver for the PI Camera module into your image bearing in mind that it connects to a proprietary CSI port and was manufactured specifically for the Raspberry PI and no other, unlike all those other generic USB cams.

Thanks in advance
Title: Re: Enabling Raspberry PI camera module
Post by: Gene on July 21, 2015, 06:31:59 PM
I stopped mantaining the HG RPi SD card image a long time ago and there's no plan to support further updates.
So any system configuration must be made by the end user on the latest official Raspbian image.
I did succesfully setup RPi Noir camera (V4L) a couple of months ago, it was not too much complicated, but actually cannot recall the url/guide I followed in order to achieve this.

g.
Title: Re: Enabling Raspberry PI camera module
Post by: petediscrete on July 21, 2015, 07:52:30 PM
I completely understand. Your software is multi platformed so I can see how time consuming maintaining an embedded system could be.

I come from the AHP application and was looking to run HA on a low energy unit like the RPI. I got the X10 side of your software setup working nicely and maybe I'll look at streaming from another Pi running an application like MotionPie. That handles the Pi camera module "straight out of the box".

Once again, nice software, very slick, and maybe with the proliferation of the RPI, you may revisit an RPI image option. Thanks again for your help.
Title: Re: Enabling Raspberry PI camera module (Resolved)
Post by: petediscrete on July 22, 2015, 10:19:09 PM
Just as Gene suggested, I ditched the RPI image approach, downloaded a vanilla version of Raspbian,carried out the relevant updates, updated the firmware, modprobe BCM 2835-v4l2 and the RPI camera is up and running.