News for hackers. Stuff that matters.
Re:Ask HN: Best way to input data to a RasPi, from browsers ... by h-c-c on Thursday April 19, 2018 @01:50PM (#16878183)
Check out MQTT and Adafruit.io in particular. The cool thing about MQTT is that your device is reachable behind NAT. I'm doing pretty much exactly what you describe here with this IOT-lamp project.

https://github.com/h-c-c/IOT-LAMP

I set up a 'util' feed for system commands and have implemented a shutdown routine so far. I send my lamp commands with Google Assistant through IFTTT.

Re:Ask HN: Best way to input data to a RasPi, from browsers ... by terrantech on Saturday April 21, 2018 @01:58AM (#16890177)
That's really cool. Considering I just need the same command to run each time, with a different value passed to it, I could see this working the same as this (and the idea of being able to tell my Google Home to do it is pretty awesome!). I'll have a play, thanks.