Thanks! I did as you suggested, this time with the complete token. But still I am seeing:
openHAB vscode extension has been activated
Could not reload items for HoverProvider
---
Error:
Error while connecting to openHAB REST API.
Message:
Error: connect ECONNREFUSED 192.168.178.100:8081
---
Okay this is strange. I have 8080 set in my config. So why is it still picking up 8081?
Could it have to do with the fact that I am using the SSH support in VSCode? Does the openHAB extension need to be installed locally or on the server? VSCode lets me do both.
Yes, can be a little bit confusing.
There are several settings.json files, one for the user, one for the opened path, one for the workspace. You have to ensure that the connection is set in only one of these files (or configure it identically in all files…)
I think I would start fresh with a new VScode instance (is that possible?).
Or VScodium, if that helps.
Or another computer.
So we can make shure there are no old configurations anywhere.