Page 1 of 1

rules on boot

Posted: 26 Feb 2018, 15:32
by The-Holgi
Hello,
i‘m use the https://github.com/djcysmic/NeopixelBus ... lBusFX.ino to controll my ws2812 led.
With command in espeasy: „nfx rainbow 3“ the effect start.
How can start this automtically after boot?

Re: rules on boot

Posted: 26 Feb 2018, 16:06
by vader
You can start events on boot-up with "on system#boot do ..... endon" in the rules....

See here
https://www.letscontrolit.com/wiki/inde ... rial_Rules

Re: rules on boot

Posted: 26 Feb 2018, 17:07
by The-Holgi
Ok,
i dont now as. In command prompt i‘l type „nfx rainbow 3“ and it works.
The rule

Code: Select all

on System#Boot do
nfx rainbow 3
endon[code]
doesn‘t works.
Sorry for my bad english and thank‘s for help.

Re: rules on boot

Posted: 26 Feb 2018, 18:50
by The-Holgi
This work‘s:

Code: Select all

On System#Boot do
  nfx,rainbow,3
endon