# VSCode - Deprecated?

**URL:** <https://community.openhab.org/t/vscode-deprecated/121781>\
**Category:** Beginners\
**Tags:** vscode\
**Created:** [May 3, 2021, 1:45am UTC](https://community.openhab.org/t/vscode-deprecated/121781 "2021-05-03T01:45:32Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![waketech](https://community.openhab.org/letter_avatar_proxy/v4/letter/w/f1d935/32.png) [@waketech](https://community.openhab.org/u/waketech)\
**Post date:** [May 3, 2021, 1:45am UTC](https://community.openhab.org/t/vscode-deprecated/121781/1 "2021-05-03T01:45:32Z")

</div>

All, Any idea why this is all of a sudden coming up. Doesn’t seem to effect anything, currently using OH 2.5.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/3/c/3ca4d40903a709e9fcd7d5151d4158160945ebcb.png)

![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/e/8/e8d68583d3e263ee2e245626cba209861f7eb810.png)

---

<div class="post-metadata">

**Author:** ![kristofejro](https://community.openhab.org/user_avatar/community.openhab.org/kristofejro/32/50458_2.png) [@kristofejro](https://community.openhab.org/u/kristofejro)\
**Post date:** [May 3, 2021, 6:42am UTC](https://community.openhab.org/t/vscode-deprecated/121781/2 "2021-05-03T06:42:36Z")

</div>

This is probably because your VSCode openHAB addon has been upgraded to ver. 1.0.0

> **[Releases · openhab/openhab-vscode](https://github.com/openhab/openhab-vscode/releases)**
>
> VS Code extension for openHAB configuration files. Contribute to openhab/openhab-vscode development by creating an account on GitHub.

You have to adjust your config values.  
See “openHAB update notice” in VSCode for details.

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [May 3, 2021, 9:01pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/3 "2021-05-03T21:01:31Z")

</div>

As @kristofejro already said.

We have changed some config parameters to an improved structure and will replace the outdated ones at some point.  
This is why the message showed up.

You can open the update notice with cmdshiftp and then seraching for `openHAB update notice`.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/0/103f3571d037702c6fc9c591bb94e197343fe39a.png)

It will tell you which parameters have changed and how the new ones are called.  
A simple rename to the new parameter names should then solve this warnings.

---

<div class="post-metadata">

**Author:** ![waketech](https://community.openhab.org/letter_avatar_proxy/v4/letter/w/f1d935/32.png) [@waketech](https://community.openhab.org/u/waketech)\
**Post date:** [May 5, 2021, 4:27am UTC](https://community.openhab.org/t/vscode-deprecated/121781/4 "2021-05-05T04:27:12Z")

</div>

Noob question, where are these changes made ?

---

<div class="post-metadata">

**Author:** ![opus](https://community.openhab.org/user_avatar/community.openhab.org/opus/32/55801_2.png) [@opus](https://community.openhab.org/u/opus)\
**Post date:** [May 5, 2021, 5:12am UTC](https://community.openhab.org/t/vscode-deprecated/121781/5 "2021-05-05T05:12:30Z")

</div>

Read the post just ahead of your post!

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [May 5, 2021, 4:58pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/6 "2021-05-05T16:58:08Z")

</div>

> [@waketech](#):
>
> Noob question, where are these changes made ?

This depends on your personal installation of vscode. (Sorry no one-click answer available here.)

You can go to settings (while having your openhab folder opened):

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/7/d/7dd6f7ac64ac60033e1b250da5b3219a0f3a0185.png)

And search for `openhab`.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/8/c/8cbaaef582239aabde126e03c86e949e5e172e7c.png)

In my case there are settings available on `user` and `workspace` level (which are the main places to configure something).

I would then switch to `json` view with the  
 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/9/19b1caad217ddd5a2f956c1564814c0707376e52.png)  
button and check if you have anything configured.

The json view will show default available settings and tabs for each of the config locations that are aavailable/used in your case.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/a/aafc1240f4d88b51d07ecbb9a948661819b6ddd3.png)

You can then check for the outdated values from the update notice and replace them with their new namings.

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [May 9, 2021, 8:42pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/7 "2021-05-09T20:42:38Z")

</div>

A post was split to a new topic: [RPi 4 high load with openHAB extension 1.0.0](https://community.openhab.org/t/rpi-4-high-load-with-openhab-extension-1-0-0/122126)

---

<div class="post-metadata">

**Author:** ![rqxrqx](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/65b543/32.png) [@rqxrqx](https://community.openhab.org/u/rqxrqx)\
**Post date:** [August 31, 2021, 6:16pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/8 "2021-08-31T18:16:38Z")

</div>

In my case I have to change:  
Usage of deprecated config =\> openhab.username \<= detected.  
Usage of deprecated config =\> openhab.host \<= detected.  
Usage of deprecated config =\> openhab.port \<= detected.  
I followed the instruction above, but cant find the values or the all have allready the new naming.  
I have a Raspberry Pi 3.2 installation.  
In which files can I make the changes?

---

<div class="post-metadata">

**Author:** ![e36Alex](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/b77776/32.png) [@e36Alex](https://community.openhab.org/u/e36Alex)\
**Post date:** [August 31, 2021, 8:23pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/9 "2021-08-31T20:23:38Z")

</div>

I got a similar issue.

VSCode says:

```yaml
Usage of deprecated config => openhab.port <= detected.

```

But on all three levels the parameter was not found (because i already removed it):

 ![grafik](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/c/acbe3600ba310c755cc5ace18d4c9805b3ff3b55.png)

---

<div class="post-metadata">

**Author:** ![rqxrqx](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/65b543/32.png) [@rqxrqx](https://community.openhab.org/u/rqxrqx)\
**Post date:** [September 1, 2021, 6:37am UTC](https://community.openhab.org/t/vscode-deprecated/121781/10 "2021-09-01T06:37:10Z")

</div>

The same problem remains in my installation! Any solution?

---

<div class="post-metadata">

**Author:** ![Chris\_si](https://community.openhab.org/user_avatar/community.openhab.org/chris_si/32/18897_2.png) [@Chris\_si](https://community.openhab.org/u/Chris_si)\
**Post date:** [September 1, 2021, 6:49am UTC](https://community.openhab.org/t/vscode-deprecated/121781/11 "2021-09-01T06:49:03Z")

</div>

You should be able to use the following entries with the latest version, they work fine for me (with OH3) 🙂

```auto
openhab.connection.host
openhab.connection.port

```

If you use an auth token (in OH3):

```auto
openhab.connection.authToken

```

Or if you use just basic authentication:

```auto
openhab.connection.basicAuth.username
openhab.connection.basicAuth.password

```

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [September 1, 2021, 4:12pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/12 "2021-09-01T16:12:45Z")

</div>

Probably a complete extension uninstall may help, since it is possibel that the problems occur due to some cached config values lying around somewhere.

> <https://stackoverflow.com/questions/36746857/completely-uninstall-vs-code-extensions/36751445#36751445>

---

<div class="post-metadata">

**Author:** ![StefanMUC](https://community.openhab.org/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@StefanMUC](https://community.openhab.org/u/StefanMUC)\
**Post date:** [December 3, 2021, 3:24pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/14 "2021-12-03T15:24:08Z")

</div>

That didn’t help for me, the “Usage of deprecated config” messages still appear for config entries that I don’t put into my `settings.json` because I don’t need them.  
I think those are provided by the extension by default, so just ignore them.

---

<div class="post-metadata">

**Author:** ![serge\_simon](https://community.openhab.org/user_avatar/community.openhab.org/serge_simon/32/22703_2.png) [@serge\_simon](https://community.openhab.org/u/serge_simon)\
**Post date:** [April 24, 2022, 12:50am UTC](https://community.openhab.org/t/vscode-deprecated/121781/15 "2022-04-24T00:50:05Z")

</div>

Same problem here, fresh install and i still see “Usage of deprecated config =\> openhab.username \<= detected.” …

---

<div class="post-metadata">

**Author:** ![Alexaas](https://community.openhab.org/user_avatar/community.openhab.org/alexaas/32/68245_2.png) [@Alexaas](https://community.openhab.org/u/Alexaas)\
**Post date:** [June 30, 2022, 5:12am UTC](https://community.openhab.org/t/vscode-deprecated/121781/16 "2022-06-30T05:12:38Z")

</div>

I fixed it by either

- deactivation the Rest API  
or
- activating the Rest API and configuring the authentication values correctly  
I used (generated API token in openhab config)  
“openhab.connection.authToken”  
OR you can use basic auth (if enabled in openhab config):  
“openhab.connection.basicAuth.password” + “openhab.connection.basicAuth.username”

---

<div class="post-metadata">

**Author:** ![renegade2k](https://community.openhab.org/user_avatar/community.openhab.org/renegade2k/32/106512_2.png) [@renegade2k](https://community.openhab.org/u/renegade2k)\
**Post date:** [December 10, 2025, 4:21pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/17 "2025-12-10T16:21:40Z")

</div>

Just as hint for other beginners, because i have been struggling around with the same problem:

take care of the settings.json to not contain any errors.  
Seems like VS Code ignores the settings file, if it’s not 100% correct and for this the “depricated” message pops up, even there could be no old variables in the file at all.

Fix all errors, like misspellings, commas and brackets and it should work just as intended.

---

<div class="post-metadata">

**Author:** ![avdleun](https://community.openhab.org/letter_avatar_proxy/v4/letter/a/5f8ce5/32.png) [@avdleun](https://community.openhab.org/u/avdleun)\
**Post date:** [September 20, 2026, 8:29pm UTC](https://community.openhab.org/t/vscode-deprecated/121781/18 "2026-09-20T20:29:57Z")

</div>

THANK YOU, you saved my day. In my case the start { and end } were missing !
