Start neopixels when présentation fails



  • Hello,
    I'm working on a node with neopixels.
    My problem is that my neopixels must be (sometimes) ON when there is no gateway. As i know setup() and loop() starts after presentation of the node to the gateway. Is there any solution to my problem ?

    Thanks


  • Mod

    Welcome tothe forum @tommies

    Yes. Use MY_TRANSPORT_WAIT_READY_MS

    If you search the forum for that keyword you'll find some helpful discussions and code.



  • @mfalkvidd Thanks a lot for your quick reply.



  • Thanks.
    Everything is ok.
    I now have a node with 3 push-buttons for 3 colors settings and vocals commands for lazy persons or Tony stark. It's for a Iron Man reactor with neopixels...
    I wanted to Say : "Jarvis.. Iron Man laser" to have flash effects with neopixels.

    For this i use mysensors + jeedom + Google Home mini + ifft.

    Need to had Wait(200) in my loop to be sure to receive message from gateway.

    Thanks again


Log in to reply
 

Suggested Topics

16
Online

11.2k
Users

11.1k
Topics

112.5k
Posts