2017년 5월 26일 금요일

NFC tags - game changer?


Having just received the marketing email from Loxone re the new NFC smart tags, is this a complete game changer for things like basic access control? http://shop.loxone.com/enuk/nfc-smart-tags.html

The major drawback I can see thus far is that configuration is client side only, I assume this may well change in the near future though.

Any other drawbacks that I should be aware of?  I have ordered a pack of them so look forward to playing with them asap.

[I don't consider being Android compatible only a drawback as we're fully invested in Android and not Apple but other's may well be in a different position]

--
I just updated the app on my HTC One phone and Nexus 9 tablet and did a few quick tests using a Mifare Classic 4K card.
Some things to consider if you want to use this as your (only) access control system: 

⦁ you have to switch on your phone first for NFC to work
⦁ you have to unlock your phone first for NFC to work, unless you activate the Android Smart Lock. (This seems not to be working on my HTC One. It does work on the Nexus)
⦁ it works fast if the Loxone App is active or running in background with an established connection to the Miniserver. If not, it takes about 5 seconds after reading the token before the action is executed.
⦁ everyone who needs to be able to unlock the door (the kids, the cleaning lady, colleagues, guests?) must have
⦁ ⦁ an NFC enabled phone
⦁ ⦁ a network connection to your Miniserver (i.e access to your LAN via Wifi ,or remote access from the Internet)
⦁ ⦁ an account on your Miniserver
⦁ the miniserver and you do not know who opened the door: the tag is associated with an action that you have selected in the user interface (similar to the task recorder). It's a shortcut to opening the app page and pressing a button.
⦁ there is some security risk: anyone has access to the tag and can read it using an NFC enabled phone. Another tag can be written with the same information and used with your phone at a remote location to unlock it and open your front door

Also the tag created by the app on my phone was not accepted by the app on my tablet. Not sure is this is a security measure or a problem, or because I'm using a Mifare rather than an NTAG tag.

--
Why would you want these bright green tags on your walls? A smart home is one that is subtle with technology in my opinion, not an advert for loxone.
Here is my list of waiting extra items that would have been more useful than smart tags.
1. Loxone air Wireless window contacts for heating and rain protection.
2. Geofencing in the app. Enable lights as you drive home, enable heating when you leave work etc. + family members notification e.g. When they are home.
3. Customisable iOS and android notification screen shortcuts
4. Weather compensation from weather service direct to heating controllers. E.g temp drop in an hour increase heating


--
Some more things to consider if you want to use this as your (only) access control system:
⦁ you won't be able to open the door when your phone battery is empty.
⦁ you would either need to obligate everyone in your family (or employees at work) to only purchase NFC enabled Android phones in the future, or later-on replace you access system with a self-contained system. Note that only about half of the Android phones have NFC and there is no guarantee that the technology is here to stay. My wife e.g. just got a One Plus 2. It has high end specs but it does not support NFC, so she would have to purchase another phone.

I only see this as adding convenience to a backup solution: if you have a badge reader on the wall and forgot or lost your badge, then you can still open the door using the app on your phone. The 'Smart Tag' just speeds up this process (and adds a show element), so some people might use it as their primary method to open the door. That might work for yourself if you live alone, but would be difficult to impose on others. A 'smart home' does not mean you must do everything with a 'smartphone', but it should make things simpler and automated.

Now for any other function inside the house that does not require authorization, for which you would put a tag on the wall because you need that function fast and frequently, like selecting a light scene, it would be more convenient to add a push button, which does not require an Android phone to trigger the function, just a finger. It could however by useful for any function that requires your authorization via the app, e.g. like switching on the TV so kids can not watch when you don't want them to: this would add speed and convenience.

--
I'm struggling to see any use or benefit for this myself (pretty much why NFC hasn't taken off in any significant way despite the tech having been around for years).  

It feels like it's something pretty cheap and simple that the Loxone dev's played with that they've put on the market. 

Presumably for Access control purposes you'd also need to have reliable Wifi outside your house - my newbuild with foil backed insulation and some steel framing is very good at preventing any wifi leakage.  Even immediately outside the front door appears to be a deadzone but even if it wasn't there's a bit of a delay in picking up your LAN when you arrive.  

--
I think the assumption is that where you don't have wifi you would remote connect via the external link.

--
I can see NFC being cool for some things, but can you use any NFC-tags for this? The bright green ones are a bit extreme.

--
Good to hear everyone's opinion on this.  I haven't been able to test yet as my existing MiFare tags aren't write compatible so I'm still waiting for the 'bright green' loxone versions.  I'm actually not that bothered by their appearance as I plan to make then as discreet as possible by hiding behind keypads, inside cupboards etc but here's the plan thus far for their usage:

1. Behind each keypad to provide quick access to room screen
2. one on the rear of the TV remote which will set the room lights to 'TV mode' as we're forever changing to that and working through the app is usually slower that walking to the KP (and i don't want to get up from the sofa!)
3. One by the front door (painted over to match the frame) which will switch the lights on inside (useful until geofencing is available - which I'm convinced will be).
4. One discreetly placed to provide access through the garden gate and activates external lighting - will be interesting to see if this is quicker than using the current MiFare / 1-wire solution
5. Possibly I'm going to use a series of tags inside a kitchen cupbaord that will allow instant switching of AV in the most popular ways (e.g. radio to TV etc.

Now, there is no doubt that all of these could be achieved using a keypad or similar however as we've minimised keypads and number of buttons on keypads these are useful to provide similar functionality in locations that don't already have keypads or aren't suitable to have them.

As soon as I have some experience with using them (including the family's feedback) I'll report how we get on.

--
>2. one on the rear of the TV remote which will set the room lights to 'TV mode' as >we're forever changing to that and working through the app is usually slower that ?>walking to the KP (and i don't want to get up from the sofa!)

I like this idea...

>3. One by the front door (painted over to match the frame) which will switch the >lights on inside (useful until geofencing is available - which I'm convinced will be).

I've been working on this today.  Do you have a sensor on the front door?

I've set up the hall light switch (near the front door) as a multi click.  Triple click sends 'all lights off' and switches the Operating Mode to 'All absent' (ventilation system on low, hot water recirc off).  This has a 10 second delay do that you're not plunged into darkness before you leave.

Quad click does this but also enables presence simulation

Opening the front door switches the house mode back to 'at home' and, if it's dark, switches on the hall lights. 

(the signal from the front door is disabled for 30 seconds after movement is detected inside the hallway so that opening the door to leave is ignored).

--
I don't have a sensor on the front door (original 100+ yr old door and frame that I don't want to mess with and don't want wireless bulk on it).  I do have PIR immediately in the hallway but we have found instances where the PIR takes 5s to trigger lighting in the hallway (this is a PIR design feature as a Pet tolerant device) so i want a method to get lighting on asap.

With regards to use-cases that I'm getting real life usage from, the NFC sticker on the rear of the remote has been used several times over the weekend and has been approved as a 'nice feature' by the wife.  No further use-cases have been implemented thus far.

Question: does anyone know if there are any non-Loxone NFC stickers available out there that are compatible?  i.e. is there a more cost effective way of purchasing this tags

--
Why would you want these bright green tags on your walls? A smart home is one that is subtle with technology in my opinion, not an advert for loxone.

you can use any NFC tags, in any colour. you can also paint over them 

--
Any MiFare Ultralight NFC tag using the NXP NTAG 216 would work. In small quantities however (<500), they'll always cost around €0,80 - €1,50 each. The cheaper ones are paper stickers. The app programs a short URL into the tag when you configure it. 

--

NFC Implant party at the Hackspace?


What do you think of the idea to arrange an event at the Hackspace where people who are interested can get NFC-tag implants?

The implants could be of this type (NTAG216) https://dangerousthings.com/shop/xnt-ntag216-2x12mm-glass-tag/ or whichever standard people would be interested in.

The injection itself is quick (many videos on youtube including for example this one: https://www.youtube.com/watch?v=B9HcFxTM8hI )
The injection would obviously be performed by a fully licensed piercing professional.

Happy to help with the arrangement of such an event if there is an interest among the members
.
Here are some videos on uses: https://www.youtube.com/playlist?list=PL_CvXDTwsrU0_ls5moOgxjBWVzGQ4Qlfe

--
I've got one of those tags from the crowdfunder that I haven't implanted. If you have or are someone with prior experience installing them, I'd be game.

--
No no no pls god no.
Before doing this people need to think if they really want their ID being broadcasted to everyone who happens to brush past you in a crowd, or any inbuilt shop scanner with any sort of decent power.  Most NFC devices (phone, oyster, etc.) you can put a protector over or something, but are you going to subject people to wearing gloves all the time to stop people knowing exactly where you are and what you're doing at all times.

Every shop you go through, you'll be scanned, every time you visit the cinema or anything like that, they will be able to pick you up.  Think very carefully before being tagged with anything you don't have control over

--
I'm pretty skeptical that any shop is going to set up specialized hardware - it's not as if commercial NFC readers work over distances of more than 5cm anyway - to capture the IDs of tags worn by a tiny fraction of 1% of the populace.

--
A lot of the high end readers can already extend this to be usable by the security gates in shops, especially as we usually pass quite close to them going in/out of shops.  In the future Its not unreasonable to assume people will use higher powered readers for this purpose

--
Why would a security gate in a shop use NFC? There are other RFID technologies in other frequency bands specifically designed for asset tracking.

--
For idiots who stick a tracking chip in their hand maybe?

--
Great! Lets see if there is any more person who is interested and we can discuss timing. And of course this must be in line with Hackspace rules etc.

Crys...
It is a totally voluntary thing to do, and I do not share your security concerns at all. Besides the fact that the tags in question can only be read at a very short distance due to the minimal antenna, there is no way for random shop to connect a NFC tag to a specific person. Most people carry multiple of these already on the keychain and in the wallet so there is an ocean of random noise. But the purpose of this question was not to discuss the technology in itself, but to check whether there was an interest to arrange an event around this interesting tech platform. 

--
I've been considering this for a while, I'd be very interested in this. What's the estimated cost? How many people would need to be involved for this to be viable?

--
Also very interested pending cost estomates

--
Hey Hannes - sorry I didn't get back to you when you messaged me about this. I've already got one which I implanted myself, and I'd be happy to come along and provide moral/technical support!

--
Are you going to have some sort of simple document which you get people to read and sign saying that they understand what is going on and were happy to accept any risks involved in having a 'foreign body' installed in their own personal body.  However trivial. It's one thing for people to experiment upon themselves (I certainly don't mind - have fun :-s) but another to offer it to a fairly open group of other people.

--
Hi folks it seems there will be a big piece on chip implants in the Evening Standard tomorrow which is likely to generate further interest in implant tech.
What do you think should we take the opportunity to host an event and help bring greater understanding for implant tech?
One date which looks suitable would be Friday 2 October, what do you think is there someone who would be willing to help host something at that date?

A setup could be
1. Intro on the different uses for chip implants (in hacker/maker context)
2. Chipping of 1-2 volunteers
3. Open discussion on pros and cons and possible further uses

--
If it's something that's likely to attract press interest and people unfamiliar with how the Hackspace works, I think it ought to be done with extreme care.

Do you already know who the volunteers will be?

--
2nd October sounds good to me. I'd be happy to help.

--
Embed said chip into a ring. Works much better and is probably more fun. 

--
Kind of defeats the purpose, I already have an oyster card...

--
I found the ergonomics much better than the card, so worth the hack. An implant is somewhat harder to reverse or repair. Given how fast technology moves I'd be concerned about implants going out of date fairly quickly and spending more time under the knife.

--
I'd be keen for this, been wanting to get into a bit of bio hacking for a while. 2nd Oct sounds good!

--
What chips are people using now? When I checked last it was hard to get hold of implant grade with higher memory without being an educational establishement.

I know one piercer who does it personally, and a second by reputation, if that's any help,

However, I make this offer for those, like those here, who have read and thought about it and done their research. I'm not sure inviting folk who've read an article in the Standard down to have the opportunity to make a rash decision is a kindness.

I speak as a fairly pierced person, with one medical implany, and prior experience reading the scientific literature on this matter.

Maybe a debate/discussion, and *then* a mass chipping when things have calmed down? I still wanna get chipped.

--
PGP KeyID: 0x394490BF Hash: 2C2A CA28 3761 7D46 541A AE00 50D9 F1FA 3944 90BF

--
Here's the article from the standard - it doesn't make any mention of the hackspace and its in the back pages so I don't think there will be a flurry of new people coming along to the event.

--
How did the article come about Hannes?

--
I would like to have a sub dermal chip implanted into my hand and
Bitcoin wallet programmed.  I am planning on purchasing a 13.56MHz
ISO14443A & NFC Type 2 NTAG216 RFID chipset pre loaded injection kit
from Dangerous Things.

I live in Hackney so if you know of any nearby body piercers who can
do the procedure please let me know.

I am thinking about having it crowd funded and am more than willing to
give a donation to the group for any help received.

Also if its possible to do using RFID I might do a multi crypto
currency wallet with a few different coins (LTC, ETH, BLK etc).

Any help would be very much appreciated.

--
Metal-Morphosis body-piercing studio is just down from the Tesco's on Hackney Road.

They teach body piercing techniques and would be able to help with that side of things. A couple of friends studied there, and really recommended them.

You could also talk with the bio-hackers, as they met a couple of people at conferences who were working on implants.

You may also want to think about using methods for implanting chips, that will be optimised for removal/replacement. Considering Moore's Law, there will always be better versions out next year, so you will want to make it possible to upgrade them.

--
Thanks for getting back to me.  I contacted MM but apparently their licence doesn't cover implants of this nature. 
 I also sent the bio hackers an email a few days ago and they pointed me to this group. 
Do you have the contact details of someone specific that might be in the know?

--
Please could you pass on the details of the people you know who are able to do chip implants.  :)

--
Thanks for getting back to me.  I contacted MM but apparently their licence doesn't cover implants of this nature. 
 I also sent the bio hackers an email a few days ago and they pointed me to this group. 
Do you have the contact details of someone specific that might be in the know?

They meet up regularly in the bio-lab, on a Wednesday evening.

I can't remember who mentioned it.

I think that one of the ones that they mentioned was http://www.wired.co.uk/news/archive/2012-09/04/diy-biohacking/viewall

One thing you'll need to watch is the limitations on MRI scans afterwards.

--
I have one of DT's kits from the crowdfunding round he ran, that I no longer want. Unused and unopened, of course. I'd be willing to sell it at a discount - $80?

--
The biohacking/diybio/openbio group (however we're identifying) isn't really that involved in the body modification stuff. We're more about having a lab to do biotech related science stuff.
There may be associated folks who are also interested in this but it's not really part of our day to day general interest.

There's health and safety constraints in relation to the lab that mean we aren't involved in anything of that nature.
In terms of the hackspace in general, I would see this as perhaps a potentially new/separate group so there may be others around. I'd be interested to know what kind of chips they are and the benefit of having them implanted subdermally.
(Are they monitoring devices or just like those things you get your pets tagged with in case they go missing?)

--
I personally want a chip installed so I can put encrypted private keys of Bitcoin and other crypto currencies on.  I have lost a few hundred quids worth of coins via hackers, forgotten passwords and lost paper wallets so sub dermal looks like it might help me secure my coins.

--
Most NFC tags don't have enough space for something like that. And putting them in a device that can be read by anyone with an NFC reader doesn't seem like a bright idea, either.

--
Can we have an NFC add on to the door bot to use mobiles to get in.  Preferably just to the side where someone might swipe an oyster and brush their hand by it?

--
The doorbot already uses NFC. You can register any mifare/NFC compatible tag.

--
I personally want a chip installed so I can put encrypted private keys of Bitcoin and other crypto currencies on.  I have lost a few hundred quids worth of coins via hackers, forgotten passwords and lost paper wallets so sub dermal looks like it might help me secure my coins.
Totally unrelated to an NFC implant, but you might want to looking into SSS - https://en.wikipedia.org/wiki/Shamir's_Secret_Sharing

This would allow you to split your keys into many parts (For Example 10) and of those 10 parts you need any 4 to form the complete key. You can then loose some of your paper wallets, or some of your devices could get 'hacked', and you can still get the complete key. I've used it in the past and it does work.

--
The chip we're on about can store 880 bytes, around this many characters:

sgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfgLKSJDFsgdfksgdfkjgsadfkjgsDKFJGskdjfgKSJDFGKLSAJGFLKJsgfkljSGADLKJGslkdfg

I am not 100% sure but I think NFC devices (or at least android NFC) scan code line by line with an identifier something like:

BITCOIN:jhSDVFKJASFL;Jsa;dk;kjBSDFKVdsfl;kLF
DOOR:asklgkdsafvlkaJDFKLJadbflkjabsdkfbKSADF
COFFEEMACHINE:yuhgchvjbkejsg'lsJgb>S?gj/k.fgnzD?b

I think Android takes the identifier and then associates it with an app which you can then launch.  I am sure I saw a video somewhere.  Might be wrong though.

--
It's a little more complicated than that. An NFC tag can contain arbitrary data, including raw URIs; I'm not sure if Android would intepret those as intents when scanned or not.

More generally, they're usually formatted in NDEF format: http://developer.android.com/reference/android/nfc/tech/Ndef.html. This adds some overhead, but permits multiple data records for different applications on a single tag.

--
For me I want to store Bitcoin and other crypto currencies on my left hand and the right I am leaving open for experiments.  I am getting my own place next year and am planning on installing a dual pin and nfc entry system.  I might set up my laptop to use NFC for login and am also toying with the idea of building an electronic cigarette box mod that won't fire unless the NFC is detected.  I am also sure as time goes by i'll think of other ways to utilize the chips.  As far as the chipset is concerned the details are on the Dangerous Things website:  https://dangerousthings.com/shop/xnt-ntag216-2x12mm-glass-tag/

--
I am crowd funding the project on Startjoin which has already gotten 11% funding in just 36 hours(ish)

There is a detailed description of what it is exactly I am trying to achieve on the project page:  https://www.startjoin.com/Implant

Instead of going it alone maybe we could make an event of it at Hackspace and have the artist implant me in the workshop?


I am getting this done so might as well do it in the company of interested parties.

--
Hi all, Long time I have not been in the group. 
I have got my implant  yesterday. and I am lucky enough to know two of the people that work no these implants to make them better and more secure! 

Is this meeting still going to happen..  

--
This thread hasn't been posted to in a year and a half. I suspect you
will need to organize a new meeting. 

--

NFC Tags - Read but no Write - NTAG216


So I was searching this forum for NFC help and I read through different threads about compatibility. The bottom line for me was "NTAG are good, Mifare Classics are bad". So I decided to give it a try and ordered these nice fellas here:
https://www.nfc-tag.de/nfc-sticker/30/ntag216-sticker-bullseye-o38mm-888-byte

NTAG216, as far as I could read in the forums here those kind of tags should work with the OPO. Please correct me if I'm wrong here.

Now these tags are on my table and I can READ them. I'm using "NFC Tools" from the PlayStore and when I place my phone on one of them, it tells me the kind of tag, that it's writable, empty, etc. I also was able to read a tag from a friend (a different kind though) which opened an URL.

So right now I'm trying to WRITE on these bastards, but NFC Tools and Trigger both are failing to do so. I'm not quite sure about the reason of this. Do I have to change some phone settings or are these tags just not compatible with my phone?
Is anyone of you having the same tags?

I also find it very strange that when I'm placing the phone on the tag, I hear the scanning/finding sound over and over again. I get the same behavior when I try to write. At first I thought it's a contacting problem but there is no position on the back side of the phone where it would scan and stop/shut up.

I'd be delighted if you could help me, I was so euphoric using NFC tags and now I'm a bit frustrated. :/

OnePlus One
not rooted, not flashed
OS-Version
12.1-XOG4PAS2QL
Android Version
5.1.1
Kernel-Version
3.4.67-cyanogenmod-g223b093
Build Nr.
LMY48B
 :

-- 
Okay, I have and update. I tried it with something very simple and wrote "Hello" as text onto the tag, this worked 1 out of 15 times, the other 14 times I got a write error. 

Since the reading works quite well, I guess the problem is the connection. Somehow the phone isn't able to hold a stable connection for long enough to write bigger task into the tag.

The phone is repeating the action in a rather fast pace, like I hear the sound every second when the NFC is near, similar to this thread:

https://forums.oneplus.net/threads/nfc.134144/#post-13760277

Could it be a software error or even a hardware error?


-- 
I've been having an issue using Android Pay, and have submitted a ticket to see if there's a software bug with NFC
OS-Version
12.1-XOG4PAS2QL I'll update you once I hear back from support.It's been a couple of days and they just sent me automated response that it'll be kicked over to a different tech to get the answer to me. So expect it to be a couple of days.

I think there is as you suggest a problem with the connection.

-- 
Since you are using an NXP tag, have you tried the official NXP apps?

TagInfo
http://market.android.com/search?q=pname:com.nxp.taginfolite

TagWriter
http://market.android.com/search?q=pname:com.nxp.nfc.tagwriter

--
Thank you very much for your answers and help!

@gmanphx Thank you for keeping me updated. I think that is an issue here, I'd be glad to hear if they can confirm it.

@PaulF8080 Thanks for the apps. I have downloaded and tried them out, but even with them I have the same problem: When trying to read/write, my phone does it in a rather rapid way repeatedly, ending in lot's of "Can't write" errors. Only seldom I'm able to write a rather small amount of data into the phone...


--
Post my repley also in https://forums.oneplus.net/threads/nfc.134144/#post-13760277

Hi, i have the same problem after updating to CM 12.1 before it works fine.

I think it is related to playing a sound or tts, when the phone is in the car holder (has a nfc tag in it) and a sound or text is played (from the routeplanner, sygic), it looks like the nfc trigger fires over and over again, till i switch nfc off.

I have tried different settings, but problem still exist.

--
Okay, I have and update. I tried it with something very simple and wrote "Hello" as text onto the tag, this worked 1 out of 15 times, the other 14 times I got a write error.

Since the reading works quite well, I guess the problem is the connection. Somehow the phone isn't able to hold a stable connection for long enough to write bigger task into the tag.

The phone is repeating the action in a rather fast pace, like I hear the sound every second when the NFC is near, similar to this thread:

https://forums.oneplus.net/threads/nfc.134144/#post-13760277

Could it be a software error or even a hardware error?

--
Hi, i have the very same issue with NTAG213 and OS version 12.1 YOG4PAS2QL (same kernel, same build)

--