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
-
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
Suggested Topics
-
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
Wio-E5 (STM32 and SX1262)
My Project • 31 Dec 2024, 17:52 • nagelc 25 Jan 2025, 20:21 -
Door chime
My Project • 26 days ago • Paul Scarbro 22 days ago -
Nb of possible nodes in a mysensors networks with domoticz
My Project • 13 Jan 2025, 18:10 • GLAB 16 Feb 2025, 01:11 -
BMP280 SPI Adafruit
My Project • 24 Aug 2016, 01:56 • Matt 23 Jan 2025, 16:25 -
Water Meter or "How to get Home Assistant to send saved data to an Arduino"
My Project • 18 Oct 2024, 02:19 • OldSurferDude 18 Oct 2024, 02:19