Editing rules... best option for editor

I’m running OH2 on an RPi. I connect to it via SSH using the Terminal app on my Mac laptop. Is there a different editor I should use that helps when creating rules? Thanks

The best choice is VSCode with the OpenHab plugin…

It’s free, works very well, and runs on many OS’s.


Awesome! Thanks for taking the time to reply.

I just installed VSCode and the openHAB plugin. Where do I set the proper settings for connecting to my openHAB? Thanks!

I have these settings but I get this error. I don’t see anything in the tail -F log.

“openhab.host”: “10.X.X.XXX”,
“openhab.port”: 8080,
“openhab.password”: “openhabian”

What do you see in the openHAB.log file?

Nothing. This is in the Output section below in VSCode…
[Error - 20:39:27] Server initialization failed.
Message: Internal error, please look at the server’s logs.
Code: -32603

But not in the tail -F log

I think it’s best if you post in the VS Code thread or post a new message to get help with this issue.

Sorry I couldn’t help more.


1 Like

Thanks for taking the time to help me out @KidSquid. :+1: