Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titlenode-red function
const delimiter = '?payload=';

if (!msg.payload.includes(delimiter)) {
    return;    
}

const data = msg.payload.split(delimiter);

msg.topic = data[0];
msg.payload = data[1];

return msg;

Eine detailliertere Auflistung, wie man das konfiguriert findest du hier: https://www.loxforum.com/forum/german/software-konfiguration-programm-und-visualisierung/70434-wifi-rgbw-integrieren?p=248810#post248810

Verwandte Artikel

Content by Label
showLabelsfalse
max5
spacesLOX
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("dimmer","led","h801","rgbw","esp8266") and type = "page" and space = "LOX"
labelsRGBW LED Dimmer H801 ESP8266

...