Some urgent help wanted. In the last few hours I commented out the discovery: in the configuration file and when I restarted the has.io tab is missing from the left menu. After some searching about what I did, I should have put hassio: if commenting out the discovery. I thought I would access the configuration files at home after work via samba but that’s not even working. So I can’t access the configuration folder through samba or through the configurator add on. I have tried putting the memory card directly into the PC to access the configuration file but cannot find the files needed. I just want to access the configuration file to uncomment the discovery.
Can anyone advise me on how to do this?
I guess I could access from ssh but I have no idea of the commands.
If you upgraded from 0.74 and below, you are using ResinOS with Hassio. This means that all your OS commands will be broken because 0.74+ uses hassOS and you don’t have that.
Only way to fix that problem is to reinstall hassio from the ground up.
As @Florian said, if you want to access your instance, you can’t use your hostname anymore because it can’t be resolved. You’ll need to use your ip address (ipv4).
Internet Protocol version 4, which is what is used most places. It looks something like this on your local network 192.168.xxx.xxx. IPv6 is the new one that is hexidecimal and longer like this: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 written in anticipation of the world having more than 6 billion devices connected to the Internet at the same time.
Yes I know I need to have either hassio: or discover: but I can’t access my configuration file to add hassio: or uncomment discovery. I had samba set up on PC but now it’s all disappeared. Only way I can access the pi is through SSH putty but I have no idea on the codes
First, you need to have a password for samba share. It default starts with null.
{
"workgroup": "WORKGROUP",
"username": "petro",
"password": null, #<-------- CANNOT BE NULL OR WILL NOT START
"interface": "",
"allow_hosts": [
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16"
]
}
Second, if you upgraded from prior to 0.74 to above 0.74 you will only be able to access your pi’s directories (samba) with your IP address. I.e. 192.168.1.x
Occasionally my hass.io disappears from my left side panel also. It comes back when I do a screen refresh (Function-F5 in my case on a Ubuntu running Chrome box)
It depends on where your backups are. If they are on the SD, and you reload HA from scratch, they are toast. If they are on another machine, yes. I just did the same thing (scratched my SD card, did a fresh install, immediately reconfigured samba, restored a snapshot and voila, back in biz).