Using NFC tags to automate my home

Imagine a home with a smart thermostat to control the heating, smart lights to control the lighting, and smart sockets to control other electrical devices. Well, for some people, that doesn’t require a lot of imagination – it’s just the way things are!

My home isn’t quite like that. We still have an analogue thermostat switch on the hall wall (one day we might upgrade) but there are various smart sockets around and we do have some smart lighting. The smart sockets control things like the heater in my Man Cave, the Christmas tree lights (mid December-January 6th only) or the fairy lights in the garden. And I wrote some posts about the smart lights, in this two part series in 2021:

NFC tags

Many of us are familiar with Near Field Communication (NFC), even if we don’t know it. It’s the technology used in contactless payment cards. To learn more, I thoroughly recommend watching Professor Hannah Fry‘s Secret Genius of Modern Life TV episode about the bank card, on BBC iPlayer.

And those smartphones we carry everywhere with us, well, if they are NFC-enabled, they can read NFC tags to perform other operations. It’s not just for making electronic payments!

All you need is to buy some tags and, as much as I try to avoid the big online marketplace that sells everything from A to Z, that’s where I picked mine up.

What follows is for iOS, as my family are all iPhone users (tested on 17.2.1). Android users can do similar things, but you’ll use a different app.

Shortcuts and automations

The iOS Shortcuts app has a section called Automation.

  1. Click + to create a new automation.
  2. Scroll down to NFC.
  3. Click Scan and scan your tag, then name it.
  4. Pick when to run the automation (immediately, or after confirmation) and whether to be notified.
  5. Select what the automation will do.

That’s it. Just touch the top of the iPhone to the tag and it will run your automation. Stick it to the desk, the wall, or wherever is handy to run the automation.

Things I discovered

In this experiment, I did find out a few things…

  • I should have bought tags with sticky pads. Or maybe not – a glue stick seems to work pretty well for attaching them to things.
  • They don’t seem to work on metal things (like my desk lamp, or the metal switch sockets in the Man Cave). I guess it interferes with the signal, so you’ll need to stick them nearby.
  • The iOS Shortcuts app will integrate with many applications, but not directly with Alexa, it seems. I have tested a couple of workarounds though:
    • Play a recording that issues the Alexa command.
    • More elegantly, use the scripting option to Open the Alexa app, wait a second, speak “Alexa”, speak the Alexa command.
  • You can also create quite advanced no-code scripts to launch menus and ask for input – for example scan the same tag and ask whether to turn on the device or turn it off, then take action accordingly.

There’s more in this thread on Twitter/X…

Conclusion

NFC tags are cheap (especially when bought in bulk) and an effective way to automate tasks around the home (or at work, in the car, or wherever). There’s lots more that you can do with NFC tags and YouTube is full of videos to provide inspiration. Have fun!

Featured image from the Computer Science Wiki, used under a Creative Commons Attribution-NonCommercial-ShareAlike licence.

Last Orders at The Fantastic Tavern (#TFTLondon)

This content is 13 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

About a year ago, I wrote about a fantastic concept called The Fantastic Tavern (TFT), started by Matt Bagwell (@mattbagwell) of EMC Consulting (ex-Conchango – where I also have some history). Since then I’ve been to a few more TFTs (and written about them here) and they’ve got bigger, and bigger. What was a few people in a pub is now a major logistical challenge and Matt’s decided to call it a day. But boy did it go out with a bang?!

Last night’s TFT was at Ravensbourne (@RavensbourneUK) – a fantastic mixture of education and business innovation hub on London’s Greenwich peninsula. I was blown away by what Chris Thompson and the team at Ravensbourne have achieved, so I’ll write about that another day. Suffice to say, I wish my university had worked like that…

Last night’s topic was 2012 trends. Personally, I thought the Top Gear-style cool wall (“sooo last year, tepid, cool, sub-zero”) was way off the mark (in terms of placing the trends) but that doesn’t really matter – there were some great pitches from the Ravensbourne students and other invited speakers – more than I can do justice to in a single blog post so I’ll come back and edit this later as the presentations go online (assuming that they will!)

The evening was introduced by Mike Short, VP of Innovation and R&D at O2/Telefonica who also sits on the board of governors at Ravensbourne and so is intimately involved in taking an institution with its rooms in Bromley College of Art (of David Bowie fame) from Chiselhurst to provide art, design, fashion, Internet and multimedia education on Greenwich Peninsular, next to the most visited entertainment venue in the world (The O2 – or North Greenwich Arena). Mike spoke about O2’s plans for an new business incubator project that O2 is bringing to London in the next 3 months as O2 looks at taking the world’s 6bn mobile device subscribers (not just phones, but broadband, payment systems, etc.) to connect education, healthcare, transport and more. In an industry that’s barely 25 years old, by the end of the year there will be more devices than people (the UK passed this point in 2006) and the market is expected to grow to more than 20bn customers by 2020.

Matt then spoke about the omni-channel world in which we live (beyond multi-channel) – simultaneously interacting on all channels and fuelling a desire “to do things faster”.

Moving on to the 2012 trends, we saw:

  • A. Craddock talking about smart tags – RFID and NFC tokens that can interact with our mobile devices and change their behaviour (e.g. switch to/from silent mode).  These can be used to simplify our daily routine to simply enable/disable functionality, share information, make payments, etc. but we also need to consider privacy (location tracking, etc. – opt in/out), openness (may be a benefit for some), ecology (printable tags using biodegradable materials) and device functionality (i.e. will they work with all phones – or just a subset of smartphones).
  • Riccie Audrie-Janus (@_riccie) talking about how, in order to make good use of technology, we need to look at the people element first.  I was unconvinced – successful technology implementation is about people, process and technology and I don’t think it matters that kids don’t understand the significance of a floppy disk icon when saving a document – but she had some interesting points to make about our need to adapt to ever-more-rapidly developing technology as we progress towards an ever-more complex world where computing and biology combine.
  • @asenasen speaking about using DIY healthcare to help focus resources and address issues of population growth, economics and cost. Technology can’t replace surgeons but it can help people make better healthcare decisions with examples including: WebMD for self-diagnosis; PatientsLikeMe providing a social network; apps to interact with our environment and translate into health benefits (e.g. Daily Burn); peripheral devices like FitBit [Nike+, etc.] that interact with apps and present challenges. It’s not just in the consumer space either with Airstrip Technologies creating apps for healthcare professionals. Meanwhile, in the developing world SMS can be used (ChildCount), whilst in Japan new toilets are being developed that can, erhum, analyse our “output”.  Technology has the potential to transform personal health and enable the smart distribution of healthcare.
  • Matt Fox (@mattrfox) talked about 2012 becoming the year of the artist-entrepreneur, citing Louis CK as an example, talking about dangerous legislation like SOPA, YCombinator’s plans to “Kill Hollywood”, Megabox (foiled by the MegaUpload takedown) and Pirate Bay’s evolution of file sharing to include rapid prototype designs. Matt’s final point was that industry is curtaining innovation – and we need to innovate past this problem.
  • Chris Hall (@chrisrhall) spoke about “Grannies being the future” – using examples of early retirement leaving pensioners with money and an opportunity to become entrepreneurs (given life expectancy of 81 years for a man in the UK, and citing Trevor Baylis as an example). I think hit onto something here – we need to embrace experience to create new opportunities for the young, but I’m not sure how many more people will enjoy early retirement, or that there will be much money sloshing around from property as we increasingly find it necessary to have 35 year and even multi-generation mortgages.
  • James Greenaway (@jvgreenaway) talked about social accreditation – taking qualifications online, alongside our social personas. We gain achievements on our games consoles, casual games (Farmville), social media (Foursquare), crowdsourcing (Stack Overflow) etc. – so why not integrate that with education (P2PU, eHow and iTunes U) and open all of our achievements to the web. James showed more examples to help with reputation management (spider  graphs showing what we’re good at [maybe combined with a future of results-oriented working?]) and really sees a future for new ways of assessing and proving skills becoming accepted.
  • Ashley Pollak from ETIO spoke about the return of craft, as we turn off and tune out. Having only listened to Radio 4’s adaptation of Susan Maushart’s Winter of Our Disconnect the same day, I could relate to the need to step back from the always connected world and find a more relevant, less consuming experience. And as I struggle to balance work and this blog post this morning I see advantages in reducing the frequency of social media conversations but increasing the quality!
  • Ravensbourne’s Chris Thompson spoke about virtual innovation – how Cisco is creating a British Innovation Gateway to connect incubators and research centres of excellence – and how incubation projects can now be based in the cloud and are no longer predicated on where a university is located, but where ideas start and end.
  • The next pitch was about new perspectives – as traditional photography dies (er… not on my watch) in favour of new visual experiences. More than just 3D but plenoptic (or light field) cameras, time of flight cameras, depth sensors, LIDAR and 3D scanning and printing. There are certainly some exciting things happening (like Tesco Augmented Reality) – and the London 2012 Olympics will e filmed in 3D and presented in interactive 360 format.
  • Augment and Mix was a quick talk about how RSA Animate talks use a technique called scribing to take content that is great, but maybe not that well presented, and make it entertaining by re-interpreting/illustrating. Scribing may be “sooo last year” but there are other examples too – such as “Shakespeare in 90 seconds” and “Potted Potter”.
  • Lee Morgenroth’s (@leemailme‘s) pitch was for Leemail – a system that allows private addresses to be used for web sign-ups (one per site) and then turned on/off at will. My more-technically minded friends say “I’ve been doing that for years with different aliases” – personally I just use a single address and a decent spam filter (actually, not quite as good since switching from GMail to Office 365) – but I think Lee may be on to something for non-geeks… let’s see!
  • Finally, we saw a film from LS:N profiling some key trends from the last 10 years, as predicted and in reality (actually, I missed most of that for a tour of Ravensbourne!)

There were some amazing talks and some great ideas – I certainly took a lot away from last night in terms of inspiration so thank you to all the speakers. Thanks also to Matt, Michelle (@michelleflynn) and everyone else involved in making last night’s TFT (and all the previous events) happen. It’s been a blast – and I look forward to seeing what happens next…

[I rushed this post out this morning but fully intend to come back and add more links, videos, presentations, etc. later – so please check back next week!]