Can you call scripts using the RPC API


Is it possible to call scripts directly using the RPC API?

I can make a call to set a state e.g. http://localhost/CMD?light=ON

Is there a way to call a script as well? I know I could set a switch and create a rule but that just adds complexity.


No - I don’t believe there is a REST interface to allow you to run a rule directly…