Pi HomeGuard: helping people stay independent longer

Update: five years later, project author Jamie Grant has written to us to let us know that this is still a going concern. He writes:

I started this journey with Pi Homeguard many years ago when I built a Raspberry Pi system to monitor my late mother. The system has now progressed to Mi Homeguard, which uses Raspberry Pi Zero W with ready built sensors. You can read more at http://mihomeguard.com and watch a video demo at https://youtu.be/82-SuJARFPE.

Several people have mentioned the idea of using the Pi to help relatives and carers support older people in their own homes by monitoring aspects of their daily routine as well as things like the indoor temperature, but until now, we hadn’t seen anyone write up a system they’d implemented. So we were very interested when we received an email from Jamie Grant, telling us how he had used a Raspberry Pi-based home monitoring system to help him support his late mother in maintaining her independence.

HomeCare Guardian screenshot from 2012

An early Pi adopter, one of Jamie’s first projects was home power monitoring. After installing a system to plot electricity usage in his own home using CurrentCost hardware and a Raspberry Pi, he was struck by the “kettle spike”, a power spike that shows clearly that someone is up and making tea. His mother was very elderly, was living alone and had a worsening serious illness, and it occurred to him that the kettle spike would provide a useful indication that she was OK. He decided to install the system at her house, adding some wireless PiR (passive infrared) motion and door sensors. Jamie called this first version HomeCare Guardian; power and sensor data were displayed in a simple webpage. Here’s another screenshot, showing the system in 2013, after about a year of development:

HomeCare Guardian screenshot, 2013

From this single page, Jamie could see whether his mum was OK and going about her usual daily routine, and a sensor at the front door indicated when she took a taxi journey to visit her friends and when she returned. He says,

I found Homecare Guardian a great comfort and my sister and I used it daily to check on her condition. Near the end mum was more forgetful and sometimes left her front door open, we could see whenever this happened and I would call round and check she was alright.

Mum managed to stay totally independent and was only admitted to our local hospital for her last week where she got the best possible care.

Jamie has continued working on the wireless sensors and their power requirements: his latest PiR motion sensor is powered by just two AA batteries and has a battery life of over a year, and his new door sensor has an estimated battery life of over three years. With sensors for motion, door opening, indoor temperature and water (to provide flood alerts) ready to go, he hopes to add a humidity sensor soon. The same system, he observes, could also be used for checking an unoccupied property for flood or frost risk as well as other aspects of security. Very recently he has been working with an Android app developer, and they’re hoping to add an alerts app facility soon.

The system has been renamed as Pi HomeGuard, and you can see a working live site, all running off a Raspberry Pi, at www.pihomeguard.com. Jamie is interested in taking this prototype further and making it more widely available, and would be glad to make contact with people who’d like to become involved; if this describes you, say so in the comments, and we’ll put you in touch.

Addendum: 21/12/14

My mini Pi server is taking 000s of hits at present, sorry if anyone finds it a bit slow. Please see more details at my information site: http://pihomeguard.co.uk

Many thanks to all at Pi Foundation,
best regards & Merry Christmas,


Bantammenace avatar

The kettle power spike monitor is brilliant. Its unobtrusive and can be a very good indicator of when a daily routine becomes interrupted.
Webcams might be considered by many independent elderly people to be too intrusive.
Its probably going a bit far to ask an octogenarian to wear a bluetooth/wifi fitness bracelet, but the contents of a Texas Instrument Sensortag or the Broadcom Wiced Sense could feasibly be worn around the neck if packaged differently.
One question I would ask is how secure is this data ?
Also how about an anxiety level monitor for the person actually viewing the data and ahving to deal with the consequences ?
Great Work.

simon avatar

About 10 years ago there was a commercial product: the “i-Pot”. It was a kettle monitor.


My father’s spin was “what if we found a nice bottle of Merlot”.

Liz Upton avatar

To which your response should have been: “Wouldn’t it taste nicer if it was hot?” :D

Steve Amor avatar

Great stuff. I too have spent the last 9 months building a similar system with multiple alerts and some funkey stuff with wireless sensors and some home automation. Can someone at Pi Towers put me in touch with Jamie.

Al Audet avatar

I would like to know more. Possibly get involved.

andrum99 avatar

Is the source code available somewhere?

Chris avatar

I live 180 miles from my Mum and I think this sounds like a great idea. I’d certainly be interested in getting involved.

Chris avatar

I like the idea. Unfortunately those graphs (generated by rrd-tool) look mediocre. I solved this by exporting the rrd-tool data as xml files and then use a JavaScript library do the rendering. My Raspberry Pi hosts a site that monitors the temperatures in my apartment: Home Temperatures

ameyring avatar

I like what you’ve done with your temp monitoring and it’s a great model like what I see for temp profiles elsewhere, but it looks like your humidity graphs are marked for temperature. Otherwise, I’m not sure how you are alive at home :-)

Chris avatar

Thank you pointing that out. I will fix that over the holidays. :)

Bob avatar

This is a great idea and allows our older family members to remain independant with a non intrusive monitoring service. Please put me in touch with Jamie.

Aqua avatar

Excellent work. I would like to know more, and am interested in becoming involved. I have some experience and an interest in home monitoring in Canada.

erik avatar

Interesting – would like to know more and possibly contribute

joe avatar


Frank Smith avatar

I am a real-time systems engineer and was considering building something like this for my 86 year old mother-in-law. I am extreemly interested and would like to help.

trevor avatar

I am very new to this raspberry pi thing having just bought one for my grandson but have spent most of my working life in computers, I spent about four years working for a part of the NHS installing commercially produced systems like the ones being developed in this blog so I might be able to contribute a few ideas. I am also working on developing a means of communicating with people with dementia, living in their own homes who are finding telephones and certainly mobiles too complicated. It would involve the help of an android application programmer. Keep up the good work.

Barry avatar

Please put me in contact with Jamie

Luc Daigle avatar

I work for an FQHC health center that has recently expanded its “Care Coordinator” program which involves working closely with a lot of our elderly patients. This project could have some useful applications in that area.
Nice work!

Gary H. Baker, EE avatar

I am very interested in your project. I live in Washington State. I have elderly parents. Please allow me to participate. Thanks for considering my offer of help.

Jamie PiHomeGuard avatar

Hello many thanks for the positive comments :)
My mini Pi server is taking 000s of hits at present, sorry if anyone finds it a bit slow.
I plan to release more information as things develop at:

When I get time I’ll publish some more news on the Android app, which is working really well. Full control of all configuration inc colours etc all from the app.
best regards,

gus3 avatar

This is the perfect answer to the age-old question: “But what is it good for?” A journey of a thousand miles begins with Hello World, and takes us to places like PiHomeGuard.

Nick avatar

I have a Pi with a webcam that monitors movement – it emails me at work or can send an SMS so I know my Mum (92) is up and moving around. Just having those emails tick over while I’m at my desk is a great comfort.

Helen Lynn avatar

It’s really lovely to read comments like yours!

Herman avatar

This is a great idea I would like to get involved as well I also live 150+ miles away from my dad. Please put me in touch with Jamie

Thank you

Jamie @ PiHomeGuard avatar

Hello can you please add the below text to the end of your excellent article:

My mini Pi server is taking 000s of hits at present, sorry if anyone finds it a bit slow. Please see more details at my information site: http://pihomeguard.co.uk

Many thanks to all at Pi Foundation,
best regards & Merry Christmas,

ukscone avatar


Anuroop avatar

This is such a wonderful project! I strongly believe that a business can be started out of it. I am very much interested in contributing to this in any way i can. Please connect me to Jamie.

Ken MacIver avatar

Like many others I had a similar idea; After a bit of thought I considered the bare minimum sensors, to non-intrusively detect normal activity, was power and the kettle spike phenomonen and a water flowing meter\sensor. The presumption being that a loo refills in a regular way and can be detected as a water spike. The Pi could then learn patterns of behaviour and raise warnings of varying severity if the pattern changes or dissapears.

Diederik de Haas avatar

I’m the maintainer of the Raspbian (minimal) unattended netinstaller and I’d love to add features (if needed) to support your project.

Awesome work!

Troirp avatar

Awsome project, just what i have been looking for. Would love to know more about the project. It is exactly the kind of help my parents need to be able to stay independent. It would also be great to use for monitoring our remote holiday home.

Helen Lynn avatar

You can now register interest in the project as a user/consumer at http://pihomeguard.co.uk/ – if you mean you’re interested in becoming involved with developing the project in some way, let me know here and I’ll pass on your email address to Jamie.

James avatar

I am also working on a similar project. V1 used RaspiCam based movement detection but suffers from a lot of false detections from varying light cause by local vehicle traffic. V2 detects activity with an IR detector and displayed the results using an ncurses based graph over an open SSH session backed up by a Raspi Cam or webcam. V3 is web-based – I have tried but have backed away from external IOT services and am currently using MySQL as a database. Would also be keen to contribute to this project so please put me in touch with Jamie.

I am looking for a cost effective way of way of checking whether external doors are locked without creating an eyesore with lots of wires – Does anyone have any ideas for this?

Kind regards,

Russell Grokett avatar

I added a cmd line sendmail program to my grandma’s PC so that every time she turned it on, it sends an email to myself and sister. She usually checks her email or facebook every day, so is a good indicator of activity.

Several command line mail sending programs for PCs are available, but I use:

Helen Lynn avatar

That’s pretty impressive on the part of your grandma. I’m not sure I’ll have the gumption to adopt new technologies when my kids have grown-up kids.

thusgaard avatar

Hi. I just love your project. I would use it at home. At my parents summer cottage and in their home. I would like to help in any way possible. Most likely as a code reviewer/tester i’m quite good at data analysis. I have an education in hardware repair but have never used it. I have worked as a programmer and it specialist for 15 years. I haven’t been programming for the past 10 years…

Rob Iles avatar

Interested in collaboration /investment. I’ve a strong background in home/building automation/control systems. UK based, how that’s not a problem. R.

Marc avatar

Hi, that’s an awesome project and one I follow since I’ve looking into setting up a monitoring system for my house since we got a basement flood back in June. Let me know if I can help.

Marc avatar

Forgot to add this to my comment, how about adding a carbon monoxide sensor, smoke and fire sensor, also air quality sensor. Are there any sensors which can check on your furnace to see if it works properly? Thanks again.

Helen Lynn avatar

It’s great to see so much interest in this project! I’ve passed on to Jamie the email addresses of everyone who has asked to be put in touch with him, and I’ll watch out for anyone else commenting who would like me to do the same.

Haydn Williams avatar


I’d be very grateful if you could pass my contact details on to Jamie. I work in technology in the elderly care market in the UK, and I can see massive potential benefits for older people through this project; I’d love to contribute.

Many thanks,

Paul Versteeg avatar

Judging from the interest level, I strongly suggest that a new forum topic is started (HomeGuard ?) so everybody can keep informed and contribute.

Mike avatar

Recently had an issue with a elderly relative, where she called to let us know that the power had cut off. We traveled up the next day to fix the issue to also find that the heating hadn’t been working for about a week, but it wasn’t mentioned as they “didn’t want to cause a fuss”. Both were fix in 5 minutes (only took 5 hours to get there).
The remote temperature feature would have been great to know about this beforehand.
I would suggest the following optional features; a secondary battery power supply (so power outages can be recorded), and secondary internet connection (USB mobile broadband dongle), so that if the primary fails (ISP issue, or no power) an alert can still be sent. Also under some situations a USB dongle might be a cheaper way to connect to the internet if there are no other uses for it.

Steve Amor avatar

I’ve implemented a very similar feature for my home monitor. I have a battery backup and when the mains power fails, the USB dongle sends me an SMS :-) A simple cron job that runs every night ensures the dongle returns OK when sent AT and if it doesn’t, I get an email.

Marc avatar

Awesome project.
I need this, and very soon.
Mom is 88 and widowed, and routinely will let things go because she does not wish to trouble us.

Thank you for the excellent solution to monitoring.

Darren avatar

fantastic idea, good opportunities to develop add ons etc.

Scot avatar

Awesome! Now if only I could stop thinking about what the NSA could do with this.

Jeff (fos) avatar

What a great idea. They must be a huge market in the US for the Baby Boomer generation.

I would like to suggest adding a panic button in case grand mom or grand dad had a problem and needed help.

Jeff, a baby boomer ;)

Mike avatar

Interesting project. Please pass my details on to Jamie as I’d like to get involved if I can.

Duc Nguyen avatar

My mom had a stroke recently and her mobility is limited. I’d like to install a system like this. Please include me in the development.
Thank you!


Christophe C. avatar

it’s a great project and product … could be used for many applications.
The greatest challenge is the wireless and long life sensors ! (ok the android app is a real plus as well ;)).

How to get updated is there is a kickstarter started ? or a product launched ? or some sources openned ? etc.
I did my registeration of interest on the website but is there more I can do ?

darren green avatar

Like others who have posted on he I too have been using my raspberry pi to check on family members. I would be interested in your project and would like to help out with it

scott chappell avatar

Great information…so what’s the next step?

chaosfractal avatar

I was wondering if more technical details were available, and if you’d thought to add camera / motion detection support into the system?
That’s a project I’ve been thinking about for a while and I’d be interested in getting involved, if its something that fits? Or learning about the approach / architecture.
Great project though.

Alf avatar

Please ask Steve Amir if he would mind sharing his dongle SMS script with me.

Autumn avatar

Good article. I will be dealing with a few of these issues as

Berend avatar

Good ideas!
I needed something for my alzheimer mother (79).

Comments are closed