Restart the add-on/refresh your browser. This will make everything run as expected (you’ll loose customizations to the vscode configuration, but the default are “sane”).
Frenck,
Just would like to take the opportunity to thank you for ALL your contributions to date (and for the future ones too )
But I run my HA on a Pi over HassOS and my vsc addon option is greyed out, which I thought was due to the vsc being compiled for AMD processors ???
As vsc is open source not quite sure why an arm compilation is not possible (some required instructions missing ???)
Which is why I have my vsc running on my workstation.
Works noww. The confusing part was when i started vsc it told me to configure HA extension and it still does every time i start it, but if i wait i while it dissapears and starts working.
I have just started to use this extension and was wondering on how yamllint is implemented? is this for checking my yaml code as i write or something i have to run, or how does it work?
VSC will check your yaml as you type and give you inline error messages for things that don’t comply. Sometimes it’s a bit annoying as it will tell you that a particular block of code has errors, but it’s simply because you are still typing it out and haven’t finished.
@frenck First of all a BIG THANK YOU for this and several Add-ons. Your work makes a difference.
hopefully quick question on how to use this with github: Is there a recommended way to setup github (in particular authentication) with this Add-on so it persists updates? Solved. Saw the ssh and git config directories are already persisted inside addons of hassio.
The Visual Studio code suddenly stopped showing the state entities database of all my devices, if I write light.(something) in the code, the suggestion prompt is not coming up any more, I have the Home assistant extension installed, I have already tried to uninstall visual studio cod and the home assistant extension but nothing of it works.
Hello,
I am running two instances of HA at home. One on an odroid C2 for a zwave network (with very unfrequent changes), one on a VM on a NUC for the rest. I have installed the VS Code add-on (thanks for this!) on the VM. I know I can’t install it on the C2. However, is there a way to edit the config files of the C2 from the code-server running on the NUC?
Thanks for any suggestion!
GV
This addon seems to use ~ 1.5Gb of memory… spikes my memory use to ~45% and without the addon started it’s maybe 25% - is there a reason this uses so much memory when it’s not being used but the addon is started?
Anyone else seeing this? I think I’m going to only start it when I want to use it.
Yeah I’m on a Celeron NUC as well… I have an i7 Chinese XCY mini PC as well… Been avoiding using that (playing with Proxmox on it)… Maybe I should migrate to it and see if it’s any better. I just don’t want to have to reconfigure for a new IP address in everything. Decisions…
Hi, I have a question. I recently (yesterday) started to use a nginx reversed proxy following this guide: https://selfhostedhome.com/reverse-proxy-with-https-without-opening-ports/. Everything seems to work fine, only the vscode plugin is not working when using my secure home url. When accessing it via Nabu Casa everything is oke. This is what te logs show:
[21:24:26] INFO: Starting NGinx...
[02/Feb/2020:21:24:29 +0100] 101 127.0.0.1, 172.23.64.1(172.23.64.2) GET /?reconnectionToken=xxxxxxxxxxxxxxxxxxxxxxx&reconnection=true&skipWebSocketFrames=false HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36)
[02/Feb/2020:21:32:17 +0100] 200 127.0.0.1, 172.23.64.1.1(172.23.64.2) GET / HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36)
[02/Feb/2020:21:32:18 +0100] 200 127.0.0.1, 172.23.64.1172.23.64.2) GET /vscode-remote-resource?path=/drone/src/build/code-server2.1698-vsc1.41.1-linux-x86_64-built/extensions/theme-defaults/themes/dark_plus.json&tkn= HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36)