So why do people do home automation with like mqtt and node red and don't just write it in Haskell?

Or Erlang

Why even have an mqtt broker if you only have a single central process as your subscriber and publisher?

Like I think Haskell provides the optimal foundation for home automation, you just need to write a nice MQTT monad, and then you can build composable systems that are strongly typed.

Follow

Like something like this would be nice Haskell home automation.

· · Web · 1 · 0 · 0

Clearly someone needs to actually make Button not store the state but react to mqtt events.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!