Has anyone had the subject happening lately. This has been happening for a while for me and I really don’t know what is causing it. Essentially I’ve gotten tired of it so now I’m reaching out for assistance. It seems to be the only thing unstable about my current server. (HASSOS on a pi 4). Thank you all for any thoughts or ideas of things I can try. Worst case, I will just try to get away from VSC because it always seems to do it when I’m using it which is really strange to me.
It is a bit heavy for a PI4, especially if you are using most of the memory.
There is the file editor add-on, and it is possible to run code server / vscode on another PC somewhere and edit the files on your HA instance. I know people do it, not sure the steps needed. I’m sure a search here would find it though. Tips on Searching for Answers & Duplicate Topics in the Forum.
Right as you sent this, this is what I started to look at. I think I am pegging the memory and it’s crashing as you are saying. It is running at 1.5 gb of memory and my pi 4 is only a 2gb system.
Ahhh, I didn’t realize there was a method out there to edit from a remote pc. I will look into that. I do like the intellisense style features with the code language in VSC so I don’t want to have to use something else if possible.
Thank you for your response here and the help you have given me in the past also. Very appreciative of it.
I follow you completely on everything you’re saying.
@tom_l can you use samba share from off network? I connect to home assistant through an external dns ip. I don’t have a vpn. I’m assuming this is a no go. Sorry for the probably easy followup. I also have Google assistant/ Google home connected through integration that utilizes that dns address. Is getting a vpn to my home network the only way to modify those files from off the network?(to help with stability issues I’m having personally due to ram crash ) Can I have both the ddns and a vpn and they won’t interfere with each other? I’m sorry, I know just enough to bee dangerous with these subjects but only at an overview level. As someone more knowledgeable than I. Could you comment on my thoughts as affirmation or just plan wrong? Thank you!!
Correct. Local network only. The file editor add-on mentioned earlier would be your best bet for remote editing. Or you could go old school and use one of the terminal add-ons and nano or vi