Baby step: https://github.com/kennytilton/matrix/blob/main/cljc/matrix/test/tiltontec/learn/basic.clj#L21 The plan is to build an abstract model of a boiler that touches on the full Matrix reactive API in Clojure tests, using just print statements and simulated controls, so we can get that documented and understood, and so users can play with the code without messing with UI considerations. With that out of the way, we can move to Flutter/MX to build a graphical boiler we can play with. Fuel, water, thermostat, alarms...should be fun!
Much more elaborated: https://github.com/kennytilton/matrix/blob/main/cljc/matrix/test/tiltontec/learn/b001_boiler.clj Questions and comments welcome. Next I will add an unsolved exercise for extending that example. Please DM for help so we do not spoil the challenge. 🙏 I will post again when that is up.
@zenflowapp has joined the channel
I just pushed a cleaned up version of boiler-001 with the two suggested exercises and their solutions. I was thinking folks could work right on their clone locally, so that means I have to avoid changing those. I will, unless bugs are found. Next up, boiler-010, or, "handling a broken sensor".