Show HN: Serverless Swift to control Philips Hue bulbs when my sports teams win

ryantoken.com

2 points by rtoken 7 hours ago

I built an event-driven serverless back end entirely in Swift that remotely flashes the Philips Hue bulbs in my house whenever my favorite sports teams score or win. It runs on AWS services including Lambda, DynamoDB, SQS, and EventBridge, and costs less than $0.20/month.

The Infrastructure as Code config and deployment is all handled by Swift Cloud.

You can view the full source code for this project on GitHub: https://github.com/r-token/sports-home-automation-swift

Interested in your feedback! I haven't seen much content out there about serverless Swift, and I think the language fits really well in that environment. Hopefully the ecosystem around this continues to grow. I had so much fun with it.

jbeavis 6 hours ago

We need more projects working with Philips Hue integration... This is sick

  • rtoken 6 hours ago

    Thanks! Totally agree that we need more Hue projects out there. Their API documentation is pretty rough, especially around the Remote API.