RemcoT
Posts: 4
Joined: Wed Nov 12, 2014 1:35 pm

Google Calendar, activated using NFC

Tue Jan 12, 2016 9:08 pm

Hi,

I've been using the Pi project with the Google Calendar from Piney (see below) for a while now and I'm hoping to get a step further. I'm displaying it on an old screen (HD, but with DVI) and now I'm hoping to togle this screen on and off with just my phone using NFC.

Runing in to a few problems (anyone that knows a good/cheap NFC reader?) but the major problem: Using my phone as an NFC tag, does my phone have a unique NFC ID?
In that case it shouldn't be to difficult to write a short script stating:
if the nfc reader scans a specific NFC ID (from my phone), it outputs an other task.

Then I want the task to be 'toggle screen on\off' and I'm not sure if this is possible. Google can't seem to give me the right answer: I don't want to enter powersave mode for then the screen still is active. I want it to turn off, no LCD activity, and then to turn on later. Anybody any advice?

I can't really test for I don't have the NFC reader yet and it would be silly to execute a script that turn the screen of, because then I cant find the 'ON'script to execute. But still, advice would be appreciated.

Regards,
Remco

Google Calendar instructable from Piney: http://www.instructables.com/id/Raspber ... e-Calendar

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Google Calendar, activated using NFC

Mon Jan 25, 2016 11:22 am

RemcoT wrote: Runing in to a few problems (anyone that knows a good/cheap NFC reader?) but the major problem: Using my phone as an NFC tag, does my phone have a unique NFC ID?
Tag emulation with a mobile phone is not straight forward, and most solution will not depend on a UID (Unique ID) which are common in NFC tags/smartcard.

Newer Android versions support HCE ( Host card emulation ) where apps on the phone can be communicated with just like a card. But the UID is generated randomly by the phone ( if I remember correctly ).

Return to “Other projects”