Skip to content

NFC Reader for Home Assistant with M5Stack ATOM Echo and LEGO

License

Notifications You must be signed in to change notification settings

redphx/home-assistant-nfc-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

NFC Reader for Home Assistant with M5Stack ATOM Echo and LEGO

Demo

https://youtu.be/kcqGKI0bAL4

Components

M5Stack components are also available on Aliexpress & Banggood.

Arduino

How it works

  1. Read NFC card.
  2. Send card ID to local MQTT server, then sleep for 5 seconds (to prevent sending same card multiple times).
  3. Play sound on Atom Echo.
  4. Receive card ID in tag_scanned event.
  5. Run automation depends on card ID.

How to generate custom sound

  1. Prepare a 44100 Hz sample rate, Signed 16-bit PCM WAV file. I used Audacity.
  2. Run xxd -i sound.wav sound.c in terminal to generate .C file. I use MacOS so I'm not sure about Windows or Linux. Sorry.

About

NFC Reader for Home Assistant with M5Stack ATOM Echo and LEGO

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published