That is unfortunately the only way right now as none of the openhab nodered nodes have been updated yet fo be compatible with the new authentication of the rest api. Most probably this will happen soon though.
Hopefully you’ll come back to it one day. Its a very powerful tool with one of the nicest most helpful communities surrounding it.
If you really want to delete it you would also have to uninstall it via npm.
I may later, once I get my head around OH3 and work out a few issues. My last experience with it was shortly after I first started with OH2. It was interesting, but learning OH itself was all consuming at the time.
Set Basis Auth for the API fixed the issue for openhab2-in nodes. So I’m receiving values from OH3 properly. But I still have problems sending commands with openhab2-out nodes🤔.
Any ideas how to fix it? I’m strongly depend on my node-red rules but also don’t want downgrade back to oh2.
Best open a github issue on the github page of the openhab nodes so that the node authors can look at this.
I actually left openhab with the move to openhab3 and migrated everything to nodered so I can’t have a look myself.
Was kind of shocked that it it not work out of the box.
This hint solved my day.
I am a heavy user of the combination openhab, nodered together with piVCUU; all on one rpi
openhab together with nodered is a great combination.
I’m also a heavy openhab/node-red user. I’ve migrated all my oh-rules to node-red.
But since openhab3 migration the openhab2-get node becomes very slow. It takes ca. 2sec to get values from openhab3. So even short rules may take up 10sec to execute. Bad for e.g. motion detection.
I’ve created an issue on git:
I would be glad to get some hints for a solution here.
for me, I’m seeing
Unauthorized API request: Invalid Basic authentication credentials
each time nodered does a request, but I have the data in nodered… I don’t get it. I did generate an api key and enable basic auth
I am using node-red-contrib-openhab2 version 1.1.8 which is compatible with openHAB3. Version 1.1.7 is only compatible with openHAB2.5. The REST API changed from openHAB2 to openHAB3. This works on my setup when defining an access token in openHAB3.
You are using a different package, node-red-contrib-openhab3 which seems to be less maintained in time.
Thanks for your reply, most probably there was something wrong with my nodered installation or setup. I delete the docker, setup everything from the beginning and it worked like a charm. Using node-red-contrib-openhab3 package.