Comment by theshrike79
11 hours ago
PyScript runs inside HA and IIRC the Python in it has some quirks because of it.
AppDaemon[0] runs alongside it and is more "real" Python, it mostly just responds to events sent to it.
NodeRED has a direct integration and is (in my experience) best for complex state machines as you can easily debug them and actually see the logic work.
They also have a REST API to trigger things and a Websocket API if you need more real-time stuff (subscribing to events instead of querying states)
Then there is just straight up MQTT, where you need to do it all yourself.
What HA shines is that it tends to have ready-made community integrations with _everything_. And enough users for each that if something breaks, people will notice and it'll be fixed promptly.
No comments yet
Contribute on Hacker News ↗