|
|
|
|
|
by chermi
261 days ago
|
|
Thank you so much! For context, this for a "driver" running on a pi that controls actuators on an esp32 via MQTT. So the the most basics states just clones of the states (On/Off) on the esp32, while more complicated states would combine actions like fan + humidifier. I've written everything on the pi in python so far. But that was all V1 and I'm starting over so maybe I'll try something new. |
|
Here's an example I had Claude throw together for states/substates for a door with a lock
https://mermaidchart.com/play?utm_source=mermaid_live_editor...
Wow. That's a lot of link. Here's the raw chart:
The syntax in the text labels is written the same way the Harel paper proposes: <State>: <entry/exit> / <action>()