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

Enhancement to upgrade NodeRed Version to 2.1.x or higher #241

Closed
mickym2 opened this issue Dec 20, 2021 · 9 comments
Closed

Enhancement to upgrade NodeRed Version to 2.1.x or higher #241

mickym2 opened this issue Dec 20, 2021 · 9 comments
Labels

Comments

@mickym2
Copy link
Contributor

mickym2 commented Dec 20, 2021

As the latest Node-Red Adapter Version contains still Node-Red Version 1.3.7 - it would be great, if the next adapter update contains minimum Node-Red Version 2.1.x.

@mkcologne
Copy link

And please free the nodes(!) for those who worked with nodered before iobroker.
Also it would be nice to have nodered independent on a separate server.
Thanks.

@Apollon77
Copy link
Contributor

@mkcologne Sorry, but what this has to do with this issue? Additionally this would be kind of a "half rewrite" because the whole communication to ioBroker needs to be changed for "stand alone nodes". Feel free to start such a projkect. We are happy to support.

@mickym2
Copy link
Contributor Author

mickym2 commented Dec 29, 2021

And please free the nodes(!) for those who worked with nodered before iobroker. Also it would be nice to have nodered independent on a separate server. Thanks.

I agree that this is not part of the request and has nothing to do with the adapter. Your request has been already addressed here:
#124

@jwiesel
Copy link
Contributor

jwiesel commented Jan 1, 2022

Hi everyone,
I created pull-request #245 to upgrade the adapter to Node-Red 2.1.4.
It contains the updated settings.js structure that has been introduced in version 2.0.
Please feel free to test & merge. :)

@mickym2
Copy link
Contributor Author

mickym2 commented Jan 27, 2022

So i am testing the version 2.5 of the adapter. I saw some enhancement (the http static is missing. ;) ) -but I have problems with some warnings and i already removed manually with npm the rbe - but still have the following warnings when starting node-red:

2022-01-27 02:01:01.481 - warn: node-red.0 (5236) 27 Jan 02:01:01 - [warn] ------------------------------------------------------
--
2022-01-27 02:01:01.485 - warn: node-red.0 (5236) 27 Jan 02:01:01 - [warn] [node-red-node-rbe/rbe] Der Typ 'rbe' ist bereits von Modul 'node-red' registriert
2022-01-27 02:01:01.487 - warn: node-red.0 (5236) 27 Jan 02:01:01 - [warn] ------------------------------------------------------
27 Jan 02:01:01 - [info] Einstellungsdatei: /opt/iobroker/iobroker-data/node-red/settings.js

The same error is in the pallete manager.

image

If i notice additional problems - I will report this here instead of creating new issues.

Update:

I managed this - the rbe or new filter node - is also not correctly displayed. I have deinstalled
with
npm remove node-red-node-rbe

The most important one is to deinstall it in the /opt/iobroker directory.

However i removed it also form
/opt/iobroker/iobroker-data/node-red
and
/opt/iobroker/node_modules/iobroker.node-red

Now it is clean and no error messages in the log :)

===================================================================

And last not least @jwiesel: Many thanks that you updated the NR version. 👍 👍 👍

@jwiesel
Copy link
Contributor

jwiesel commented Feb 4, 2022

You're welcome! :)

I assume NodeRed still shows rbe in the pallette manager as it just has been relabeled. If I click on one of my previously created rbe nodes in my flow, it says it's a filter node. In the node-menu (left-sidebar) it also shows as "filter"

Release Notes NodeRed 2.0

RBE: Relabelled as 'filter' to make it more discoverable and made part of
the core palette, rather than as a separate module.

As Node-Red 2.2.0 is available in the meantime I updated my open PR to that version already ;-)

@mickym2
Copy link
Contributor Author

mickym2 commented Feb 4, 2022

I deinstalled all rbe Nodes and it is working fine. The rbe disappeared now as own installation and is only listed under the core nodes - which is fine.

image

@GermanBluefox
Copy link
Contributor

Done in next version
image

@Apollon77
Copy link
Contributor

Released in 3.0.0

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

5 participants