Getting Foscam IP Cameras to work from Linux (Ubuntu)

As with most hardware manufacturers of hardware Foscam utility software is Windows or Mac only. The actual unit tested with the below is a FI9805E Outdoor POE camera. Installation The installation is relatively painless as the unit is set up to get the IP assignment via DHCP (check your routers DHCP assignment list). https://IP.ADDRESS.OF.CAM should get you to the web-admin interface. The default user is 'admin' with no (empty) password. Taking snapshots http://IP.ADDRESS.OF.CAM:PORT/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=username&pwd=password I had some issues with the color of the images in daylight (which for an outdoor camera is not really a good thing. A Firmware update (V2.14.1.5) improved this (you can disable the IR LEDs during daylight hours). Thanks for FOSCAM UK support via Twitter I found the download URL as the main site seems to have been down for a while. Firmware URL: http://foscamuk.co.uk/downloads/ Streaming in H.264 video The easiest way to get the stream appears to be the RTSP connection (using VLC or any network video player). MXPlayer on Android works very well too. rtsp://username:password@IP.ADDRESS.OF.CAM:PORT/videoMain rtsp://username:password@IP.ADDRESS.OF.CAM:PORT/videoSub rtsp://username:password@IP.ADDRESS.OF.CAM:PORT/audio Streaming in MPEG mode The be able to use the MPEG streaming the stream format needs to be set first. http://IP.ADDRESS.OF.CAM:PORT/cgi-bin/CGIProxy.fcgi?&usr=username&pwd=password&cmd=setSubStreamFormat&format=1 http://IP.ADDRESS.OF.CAM:PORT/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=username&pwd=password Resetting back to H264: http://IP.ADDRESS.OF.CAM:PORT/cgi-bin/CGIProxy.fcgi?&usr=username&pwd=password&cmd=setSubStreamFormat&format=0 Next steps will be to make this work from a headless device with an Amazon S3 storage backend. This Github project https://github.com/phil-lavin/Foscam-FI8908W-Recorder is looking promising. Watch this space.

Continue Reading

Automatically posting GooglePlus articles to Twitter

I have switched most of my Social Media postings to Google+ over the last year. Despite popular opinion being that Google+ is some 'ghost town', I find G+ the most useful environment for my particular needs & interests (specially since the introduction of groups). It has in my experience a vastly better signal-to-noise than other social media in particular Facebook. However I would still like to feed postings through to my Twitter stream. Unfortunately Google has (stupidly / purposely / nastily) not included RSS support to make this possible without much work. There are a few publicly accessibly services out there, but they generally are either not updated or tend to fail very frequently as they hit the API Access limits as soon as they get a few users on their services. To achieve this I have created a PHP script utilising the Google API Client to convert the public activities to a standard RSS feed. The code is available on GitHub. I used to use a script by by Michael Mahemoff (https://plus.google.com/106413090159067280619/posts/8NE3cFi4cB6) - thank you ! The main reasons for needing to change were IFTTT having issues with the initial script output (not valid RSS and illegal characters). Create API Project Go to https://cloud.google.com/console/ Create a project Go to 'APIs & auth' --> 'APIs' and turn "Google+ API" on (see Screenshot below) Go to 'APIs & auth' --> 'APIs' and create a 'Public API access' key (see Screenshot below) Copy the API Key for the next step Setting up…

Continue Reading