I’ve seen folks mention that Node-Red automations don’t work as fast as Yaml ones. Is this true? How does AppDaemon compare? Are any of these three significantly faster than the rest?
This originally came up in the context of using a motion sensor to turn on lights, but I’m wondering about speed in general…
(My personal recommendation) Appdaemon is fast. You can write extremely complex automations without any slowdown. The drawbacks are: You need to know python.
Yaml is fast for simple automations. Anything complicated like reusing code, making a loop, etc are painful in yaml and slow the system down. You also run into random limitations. For example, a script can only be executed once. If executed again while it’s still running, the first execution is canceled and the second takes over it’s place. Also, time is a pain in the ass. It’s much easier to manage in python because you have the whole datetime library and you can create a listener instead of trying to sensor.time with whatever time sensor you have.
I can’t really answer for node red as I don’t use it. If you don’t like reading code this is the route for you. It’s all gui objects with pretty flow lines. Personally, I don’t like it. But that’s because I don’t mind coding.