I think this thread jinxed me! My HA (GUI at least) became unreachable this morning for no reason. Since I’m away I couldn’t log in remotely to view the log (I disabled my remote SSH tunnel a long time ago) Lucky I could do the remote power cycle hard reset via Google Home.
I’m running on a NUC so it’s not a power or SD card issue. Still on 0.102.2 which has given me a lot of trouble… time to just up to 0.103 I think.
That can be done but the OP is using Nabu Casa for remote access so setting up a VPN is kind of going against the current config (for lack of better wording) ie: if they were happy to open ports, they prob wouldn’t be using Nabu Casa but DuckDNS instead
I’d be very curious to know if this sensor does in face report ‘off’ in these cases of the UI being unavailable by us. Looking at my binary_sensor.remote_ui history for the last 24 hrs does not show any sign of the UI ‘crash’ that I had this morning…
The first critical thing is just to find out why HA is not responding. Stability is the most important issue here to be handled. I am using hassio and (although not responding case only happens because of the config errors i made) whenever a problem occurs i just look at the log file first. Otherwise when restarting the hassio or the server itself, the old log file is rewritten and i lose valuable info there.
That’s why i opened ssh on my router; from a different port than 22 or 2200 for security reasons; and if something went wrong on HA instance, i check or backup the log file first, correct the responsible config part and make a simple ‘sudo reboot’. There are many ssh apps for both IOS and android.
I noticed the same and you can’t check since the UI is not working also there are no errors in the logs that would indicate an issue just a bunch of SOME integration took this long to start etc.
was able to configure remote ssh and was able to open session via port 22 and duckdns address, happy but feeling more insecure now. What’s the procedure to open a different port in Hassio?
Maybe via SSH & Web Terminal add-on? Do I have to uninstall the standard SSH add-on before?
Using Intel NUC but the procedure is more or less the same. I am using the native linux ssh because i also run plex and calibre book servers on the very same NUC, so not using ssh addon. Follow up the rpi allow ssh procedure with ’ sudo raspi-config’ on port 22. Then on your router forward this port to the port you are gonna use from outside. Like forward port 2210 to 22 of your local ip rpi. So when you ssh to duckdns address from outside, use port 2210 and it will rediret the connection to 22 internally. If you want to make the connection more secure, use ssh key for outside connections instead of password protected ssh. Or You can also use internal ssh with key and not use native linux ssh. Your choice.
And, for the love of God, please do not use ‘raspberry’ as the password for ‘pi’ user…
I am using VNC Viewer to connect from anywhere in the world to the Raspberry Pi (from my phone, my laptop, multiple devices/OS supported …). So I can restart HA and/or reboot the pi from anywhere… On top, this software is free.
Just using VNC Viewer… VNC connects you to the node… Download the software, install it, authorize VNC on your pi (“Raspberry pi Configuration”/Interfaces, check “VNC”) , logon remotely (pi username and password)… and you are done…
Another possibility that I discovered recently after having installed a 2G/3G modem on my Raspberry Pi (model Huawei E3531) : restart HA by sending a SMS… Process: I send from my phone a SMS containing a specific word to the phonenumber associated with the modem connected to the Raspberry Pi. Every minute, the raspberry Pi is reading the first message in my inbox (I am using a shell script in HA for that…) and if the word is found in the first SMS, this SMS is deleted and Home Assistant is restarted automatically… I can provide the code if interested (but it will be specific to the Huawei E3531 connected as a HiLink (ID 12d1:14dc))
This is useful if the web interface of HA is not available (I had the problem yesterday)… So the only possibility is to connect via SSH on the Pi and restart home assistant manually… Now I can do that remotely by just sending a SMS…