Hacker News new | ask | show | jobs
by mwlp 895 days ago
Nice! I also control my lights using Elixir and a Hue bridge (through Home Assistant). https://github.com/Manwholikespie/mojodojo
2 comments

Interesting that you also used Elixir. It's also quite interesting contrasting your approach to OP's. Was there a specific reason that you chose Elixir?
Eh, Elixir has just become my go-to for personal projects. GenServers, pattern matching, releases, being able to pop a shell into my program, the beautiful colors of the IEx shell... I miss all these things when choosing other languages. I also planned on eventually integrating it with a chatbot of mine which is also written in Elixir.
Neat! Driving HA through API is a clever alternative so you can build exactly the UX you want.