Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give NodeRED command at startup? #316

Open
Typ1er opened this issue Jul 30, 2022 · 5 comments
Open

Give NodeRED command at startup? #316

Typ1er opened this issue Jul 30, 2022 · 5 comments
Labels

Comments

@Typ1er
Copy link

Typ1er commented Jul 30, 2022

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.

@Apollon77
Copy link
Contributor

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)

@Typ1er
Copy link
Author

Typ1er commented Jul 31, 2022

crashes at startup
Bildschirmfoto 2022-07-31 um 14 00 44

@Apollon77
Copy link
Contributor

Apollon77 commented Jul 31, 2022

Oohh ... one } too much at the end

redProcess = spawn('node', args, { env: { ...process.env, NRCHKB_EXPERIMENTAL: 'true' } });

@Typ1er
Copy link
Author

Typ1er commented Jul 31, 2022

Thank you, it works 👍

@stale
Copy link

stale bot commented May 9, 2023

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.

@stale stale bot added the wontfix label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants