PonyCam or Raspberry Pi surveillance system

This was a super simple and not very expensive project. I needed a way to watch the ponies in the horse box whilst we are travelling. Obviously you can buy systems that do this, but they are expensive – starting at about £150 for a low end one .. and they can get as expensive as £600.  I was convinced that I could make something way cheeper than that with a Raspberry Pi .. so I googled.

What you will need to make a surveillance system:

Something to use as a screen – an old phone, tablet as long as it can connect via wi-fi and it has a browser that will work fine.

 

 

Raspberry Pi Zero W – which you can buy from the awesome PiMoroni or PiHut for less than £10

Link to Pi Zero – Pimoroni
Link to PiZero – PiHut

 

Pi Camera – I have this one from amazon £13 comes with a handy camera holder
Amazon Link to PiCamera

 

 

Wireless nano router – again from amazon for less than £20, this allows the Pi to talk to the device to show the streaming video
Amazon Link to Nano Router

 

 

 

Basic Steps

Setting up the Nano Router

Super simple. You normally fire it up and browse to its web interface and login to set it up. Most have very simple guides to set it up and to be honest as its not connecting to anything other than the RaspberryPi and an old phone default settings are fine.

I have changed the wireless settings on mine to call it PonyCam and gave it a sensible password.

 

The only other things I have changed is making the IP address of the Pi and phone sticky so they keep the same ones

 

Setting up the Pi

  • Set up the Pi as normal – the lasest version of raspbian and patch it – you can get info about installing if you have never done it before here
  • Build the camera housing .. it is a bit fiddly but takes about 5 mins.
  • Enable the camera module – Either from the UI

 

 

 

 

 

 

Or the terminal –

sudo raspi-config

and select the Interfacing Options > Enable/Disable the RaspberryPi camera

once complete reboot

  • Shut the Pi down and plug the camera in
  • Turn it back on
  • Attach the Pi to the new wireless network – PonyCam in my case
  • Get the IP of your pi – from a terminal
ifconfig

The IP of my Pi is 192.168.0.102 and I have set it in the router to always assign that IP.

nano rpi_camera_surveillance_system.py
  • Run the script by running the following command
python3 rpi_camera_surveillance_system.py
  • Test the script from the Pi by going to the following url:
    http://ipaddressofpi:8000
    i.e – http://192.168.0.102:8000

A lovely image of the back of a chair, but it works 🙂

Start up and shutdown

As I am going to want to use this ‘headless’ as a plug and go solution I wanted the script to run on Pi boot and have a way to shut the Pi down nicely rather than just pulling the plug.

Firstly configure VNC

  • If you don’t already have one, create a free VNC account
  • Enable the VNC from the UI under Preferences > Raspberry Pi Configuration

  • This will open up the config dialog, enable VNC
  • Once rebooted you can configure the Pi – by default you log in with the standard Pi username and password.
  • Install VNC viewer on the phone or tablet and configure it – make sure it is connected to the same wifi as the Pi.
  • You can now connecto to the Pi using it’s local IP address and the Pi username and password.
  • This will allow you to shut the pi down and command it from the phone or tablet – simples

Add the Camera script to the startup

We now have to add the camera script to the autostart file

  • Run the command
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart 
  • Once the file has opened use the arrow keys to navigate to the end of the 2nd line and press enter. Add the path of the script on to line 3 just above the screen saver.

  • Save and close the file and restart the Pi. The camera script will start when the Pi boots.

And there you go .. all done .. I will post an update over the next week with it all installed and working.

The idea for this was taken from the randomnerdtutorials site which has loads of cool Pi camera projects. Use this link here to see the video streaming posts tutorial and thanks to my hubby Nathan for doing some of the grunt work as I was busy working – he is now full of ideas for projects with Pi cameras 🙂

HCL Connections – Our Future is Now

On Tuesday I joined the HCL Connections – Our Future is Now call, thank you Mat Newman for tweeting about it as I had totally missed this was on.

Wow there was a lot packed into that hour ..

The highlights for me were:

  • Tailored Experiences  and the community updates
    • Totally customisable spaces
    • Built with widgets
    • Lifecycle management (YES!)
  • The Road Map – so so much being delievered over the next 18 months
    • Connections 6 CR
    • Connections 6.5
    • 3rd Party Integrations
    • Connections 7
  • Lowering the TCO for the Componant Pack – Can not come soon enough for me

There is so much good stuff coming plus the news on Connections Cloud and the new offerings, I have written a full roundup over at the BCC Blog , so please check out the full posting there.

MS Teams stuck on dnd

Yesterday after an update and a reboot my Teams app was set to offline and no matter what I tried to do it was stuck. Not at all frustrating as I use Teams every day.

My other office apps were working ok, and my status showed as online in the web version of teams.

I couldn’t work out why it wasn’t playing ball so a quick google led me to a few community articles about setting the status as a command rather than from the UI.

Even though I was offline already the only way I could get my status to show up as available was to set my status to dnd on the desktop app using the command /dnd and then back to available with /available, I then had to force it by hitting the webapp version of teams and suddenly my desktop app showed up as being available!

No idea why it happened in the first place, but this work around seems to have resolved the issue. Hopefully this won’t happen again, but if it does at least I have a work around.

European Collaboration Summit was a blast

The European Collaboration Summit was last week in Germany. I am still fairly new to the world of Microsoft Conferences and user groups / community events, but the collabsummit was fantastic.

Will about 2,000 attendees it is one of the biggest, if not the biggest community run events in the world. Jam packed with lots of sessions about all types of collaboration there was too much to chose from.

I presented on Wednesday 29th May. The session “How to automate life cycle management of Teams and ensure compliance and security”, covered some of the challenges organizations face with managing teams – from creation and security, through to Teams lifecycle management and how BCC can help with our new Teams Management module for AdminTool.

My first time presenting at a Microsoft Event and the audience were great – so thank you 🙂 Yet again Olaf pushed me slightly out of my comfort zone as he is a big believer in my ability – which I am very greatful.

 

The sense of community at the collabsummit was amazing .. this conference has been running for about 10  years and the community is family to a lot of the attendees – which I can relate to after being in the IBM space with the community.

The thing I have learned most is that

  • The adoption problems are the same not matter what the technology you use
  • Collaboration is all about the people – still all about the people and has always been about the people
  • Teams is the way forward for Microsoft as far as real time collaboration goes
  • The Microsoft community guys are fantastic

I am very much looking forward to seeing some of my new family at Microsoft Ignite in Novemeber and the ECSP Conference in December.

Next step is to get an MVP .. that is high on my priority this year 🙂

 

 

We had an excellent time at Engage

Slightly delayed due to many conferences and travelling,  here is my round up of Engage 2019.

This year’s Engage was bigger than ever. In the amazing location of AutoWorld in Brussels – I have no idea how Theo finds these great venues year after year.

With over 400 attendees, 1500 tweets, 88 speakers, 85 sessions, 26 sponsors and 35 IBM Champions – I am sure this was the biggest Engage event yet.

HCL and IBM were working in partnership, but this time HCL took the lead as the sale of the ICS products to HCL is going to happen very soon (news on the street is somepoint in June 2019). Richard Jefts is like Robin Hood, it feels like he has stolen the ICS products away from IBM (the Sherrif of Nottingham) and he is giving it back to the community. That isn’t to say that IBM have done a bad job at all over the past 2 years with our beloved products – its all steps in the right direction.

I am very much looking forward to see what HCL do with my beloved WebSphere Commerce – the software I worked on for 7 years. If I can dip my toe in the Commerce pond again I will be a very happy person.

I was lucky enough to present at Enage with my big boss Olaf. Our session Making Domino & Office 365 your Dream Team” covered integration, pain points and challenges, some things you may not have thought about and how to ensure that organisations can work effectively with both sets of technology. There were plenty of people (almost 40) in the session and we had some great questions and discussion. You can find the slides below

 

Speed Sponsoring this year was a little different too. This year each sponsor had a 2 minute 30 second pitch in the OGS and the audience voted on their favourite.

Stephanie and I had great fun reading the news and we won 🙂 You can watch our fun news broadcast here:

Absolutely loved it as usual .. already looking forward to next year and what Theo and the team have instore for us 🙂

 

May will be a busy month

I have been a bit quiet of late .. I have been a little busy – working hard at BCC, spending time with the family and the horses and booking my place at the Magic Run Weekend at Disneyland Paris (more about that in a later post) but May will be a busy month ..
I will be at the awesome Engage with co-speaker (and my boss 🙂 ) Olaf Boerner. We have a great session for you on Making Domino and Office 365 your Dream Team ..

Engage is a fantastic event .. free to attend and has some of the best speakers from the ICS bubble, it is well worth the trip.

Just after Engage there is the European Collaboration Summit in Germany. One of the largest user run conferences in Europe for Microsoft.  Again I will be speaking (at my first Microsoft conference) on Microsoft Teams: How to automate life cycle management of Teams and ensure compliance and security. I am really looking foward to it

So hope to see you at one or both of these events 🙂

Connections migration DB issues

I thought I had already posted this but was remided by our slack chat today that I hadn’t. When migrating the Connections meetrics database from V5 to V6 there is an error that is thrown when the DB2 restore tries to run the upgrade command.

DB20000I The RESTORE DATABASE command completed successfully.
SQL2519N The database was restored but the restored database was not upgraded to the current release

The error related to the application heap size, and there is not enough space allocated to run the upgrade command.

Get the current heap size by running the following db2 command

db2 GET DATABASE CONFIGURATION FOR METRICS

You can resolve the issue running the commands:

db2 UPDATE DB CFG FOR METRICS USING APPLHEAPSZ 1536
db2 UPGRADE DATABASE METRICS

I set the APPLHEAPSZ to double the current one. I have also previously seen the same issue with the Cognos DB – which can be resolved in the same way

db2 UPDATE DB CFG FOR COGNOS USING APPLHEAPSZ 2018
db2 UPGRADE DATABASE COGNOS

I have seen this issue with both Connections V5 and 5.5 DB2 databases updating to V6 and this has fixed it for me (and now some others) .. when you google the error you don’t get much in the way of help, so hopefully this will help others who get stuck.

 

 

 

Official list of IBM 2019 Champions

Although the IBM Champions were announced just before Christmas the official list has now been published.

Super proud to be included in this illustrious list again. I am in a handful of champs from the ICS brand that have been champions since the program started in 2011  for ICS.

The program selects Champions annually based on individual contributions that go beyond the scope of a person’s job, so that we can recognize and reward those who give so generously of their time, effort, and energy.

 

 

 

This will be the last year that ICS as a brand is part of the IBM Champion group as of course the software is moving over to HCL later this year. Hoping the guys over there do a similar thing as it has strengthened the community. It’s been a blast and I am looking forward to the future.

The full post and list can be seen here on the IBM Community Blog

 

HCL announce PartnerConnect Program

In the midst of all the news (or non news as they can’t really talk too much about the deal) of the HCL acquisition of ICS from IBM, the awesome people at HCL have announced the HCL PartnerConnect program. Registration will be open in January.

A quote from the announcement
“HCL will continue the critical partner ecosystem model. We believe that all our product groups rely on highly technical experienced partners with great market presence.”


Partners have always been a massive part of the Collaboration Solutions ecosystem and this is great news that HCL are going to carry this on.
Looking forward to to finding out more about this when registration opens.