ioBroker.node-red
ioBroker.node-red copied to clipboard
Give NodeRED command at startup?
I have a problem with a plugin in NodeRED. I need a command sent with the startup.
Here is a link to it, maybe someone can tell where to insert it, even if I am almost the only user who will use it.
With the plugin you can create your own characteristics in Homekit. For docker and standalone solution there is the command, where can I add this in iobroker?
https://nrchkb.github.io/wiki/discover-more/experimental/
In order to be able to use experimental features you have to start Node-RED with NRCHKB_EXPERIMENTAL=true environment variable.
Sorry, but without code manipulations right now not possible ...
could work with adjusting this line https://github.com/ioBroker/ioBroker.node-red/blob/master/main.js#L204
to be
redProcess = spawn('node', args, { env: { ...process.env, NRCHKB_EXPERIMENTAL: 'true' } }});
(untested)
crashes at startup
Oohh ... one } too much at the end
redProcess = spawn('node', args, { env: { ...process.env, NRCHKB_EXPERIMENTAL: 'true' } });
Thank you, it works 👍
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.