thanks, but sorry that is not what i want...
in my light controlers the led´s will fade to the ON value. (for examble 0-60% in 0,7 seconds)
(..or fade to any new changed value..)
for this fading i need time. at start i need loop for ca. 0,7s.
actualy i found an dity way...
in the lib-file "MySensorsCore.cpp" i found this:
// Call sketch setup() (if defined)
if (setup) {
CORE_DEBUG(PSTR("MCO:BGN:STP\n")); // setup callback
setup();
}
and changed to this:
// Call sketch setup() (if defined)
//if (setup) {
CORE_DEBUG(PSTR("MCO:BGN:STP\n")); // setup callback
setup();
//}
aditional i put the fade on for the led´s to the setup() void.
into an while-loop wich is controlled by the millis() value.
after an time 1,5s i set an variable and the setup() will be jumped over for next call.
after this the mysensors can connect.
and then the leds can be controlled over mqtt.
can some one tell me an clean way, without changing the lib´s ?
thanks
easy