VS Code openHAB Extension!

@dimes Never tried that but I don’t think that’s possible, given that you need an access to the file system in order to read and write to the files.

In the next version of the extension you will be technically able to access the Items and Things. Note that LSP (content assist for rules and syntax validation) won’t be exposed, so you’ll need to disable it too.

    "openhab.host": "https://home.myopenhab.org",
    "openhab.port": 80,
    "openhab.lspEnabled": false,
    "openhab.username": "your_myopenhab_email",
    "openhab.password": "your_myopenhab_password",

Here’s the commit that adds that feature.

1 Like