Hacker News new | ask | show | jobs
by chrisMyzel 1201 days ago
Don't have the code around but using a cheap NFC sticker at multiple places in my house to pause/ resume audio. I'm using a RPI with mopidy and made a small microservice that does the pause/resume when triggered. Super handy when I want to leave the apartment and come back to my music.

A GET request (by the phones browser) is sent when I "touch" the phone to any of the stickers, the backend is a simple nodeJS express script that listens for GET request on a route.