I have a few NFC tags around my flat that are configured to do a simple web request to log data (timestamps mostly) to an online database when I scan them with my phone. This works but it’s a bit of a hassle because I don’t always have my phone with me when I’m at my home so I was thinking, why do I even need a phone for this since I’m not sending any data?
I have a Hue bridge (the non-Bluetooth ones), Apple TV HomeKit hub, and an always on Raspberry Pi. Are there any “buttons” that will integrate with this setup easily that I could set up to run a curl command on the Raspberry Pi when pressed? Preferably they would be cheap as I’d want to get like 20+ of them.
And even if you could get them I wouldn’t recommend it - once the Amazon app drops support for connecting them to the WiFi you’ll be very stuck. But as a starting point for searches it might not be a bad place
The reason I say that is it seems to me the high price is because of how much electronics needs to be packed into a button for it to be standalone. Amortise (much of) that over several buttons and the price per button could go way down per button.
A WiFi StreamDeck in every room would be a fine thing.
You pair the unit with software you run on your Mac. Once paired, the meaning of the four buttons can be customized in the Mac app. The buttons just send out a simple signal; all of the smarts is in the Mac app, which is pretty decent. More details about what you can use them for here: https://shop.turntouch.com/pages/how-it-works
To specifically answer your (O.P.'s) question about being able to trigger a curl request: Yes you can! Indeed, that’s all I use it for, making curl requests to webhooks I’ve set up on my home automation system (Home Assistant, not HomeKit). Here’s an example:
(New user, can’t post a second image, alas. I’ll see if I can in a second comment.)
At $39 each, they’re not cheap. And you’re dependent on the software continuing to work, I suppose. But they are lovely to look at, and handle, and very flexible. The battery is easily replaced. I expect to be using mine for years.
I have two TurnTouch devices. I almost never use them - as they don’t have the visual cues that a StreamDeck does. (I also used an external numeric keypad but stopped once I got my first StreamDeck - for the same reason.)
I now have the baby StreamDeck and the medium-sized one. One day I might get the big one.
The various StreamDecks are marvelous tools for complex automations and controls. They’re not so good for sitting unobtrusively on your coffee table or nightstand. And they’re overkill if all you want is a button that fires an event for other things to notice.
The TurnTouch is definitely a limited use device. But if all you want is a couple buttons that say “Me!” when pressed, and it’s up to other tools or systems to decide what that shout means, they work well enough. At least for me.