Cenario:
I have a scene that:
-Turns on the power plug where my denon receiver is connected when I arrive home
-Set the input to tuner
Problem:
It does not work because veralite cannot communicate with denon receiver because lua failed.
Why:
The denon is booting when I set the input to tuner.
A delay does not work because the lua will not recover from fail state
I know that I can do a full reload, but I don’t want to use that because it will return an error on my Android app (authomation) because the scene won’t end correctly.
Workaround:
I set the input to tuner everytime that I shutdown my denon receiver, but it’s stupid to hear the sound of tuner everytime I go out or go to sleep…
Solution:
Is it possible to run/force lua startup service just for the denon using a luup command that I can put in my scene?