rules on boot

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
The-Holgi
New user
Posts: 7
Joined: 14 Feb 2018, 17:07

rules on boot

#1 Post by The-Holgi » 26 Feb 2018, 15:32

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?

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: rules on boot

#2 Post by vader » 26 Feb 2018, 16:06

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

The-Holgi
New user
Posts: 7
Joined: 14 Feb 2018, 17:07

Re: rules on boot

#3 Post by The-Holgi » 26 Feb 2018, 17:07

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.

The-Holgi
New user
Posts: 7
Joined: 14 Feb 2018, 17:07

Re: rules on boot

#4 Post by The-Holgi » 26 Feb 2018, 18:50

This work‘s:

Code: Select all

On System#Boot do
  nfx,rainbow,3
endon

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests