NGROK and Hass.io

Ok installed and configured it work perfect in http normal.

Sorry i can sonly make 3 replies so i have to modify me response.

1-Https problem: how do i create a certificate , which would be my domain to put in “let’s encrypt”?

2- I have tried without certificate i can reach my hassio but i think the bugs of ngrok comes out, after username & password i get “unable to connect retry” and gives back username and password, and loops like this.

Since my first try was only in http mode , i commeted the configuration and tried out my shell. I reached the http as before, then i configured back the https (certificate problem aside) but i didn’t reach my raspberry both with “http” or “tcp” option so your solution is a step forward but in https , for me, doesn’t end to manage my hassio.
What type of string do you run in https configuration?

3-after i try telegram, the automation doesn’t workout.

4-use a simply mail notification for the new url?

Hello,

i have this errors in the log

Error while executing automation automation.ngrok_public_url. Service not found for call_service at pos 1: (ServiceNotFound(…), ‘Service notify.telegram not found’)
10:19 helpers/script.py (ERROR)

<urlopen error [Errno 111] Connection refused>
10:18 custom_components/ngrok/init.py (ERROR)

Hello anyone still using ngrok? I had it working great, each time I rebooted I would get a text via telegram with the new link. A couple of weeks back I noticed it rebooted and I didn’t get the telegram. Didn’t pay much attention.

I’ve done two or three updates to HA, so now I don’t have a backup of when it was still working properly. Today I noticed that if I roll back to 110.5 my chromecast integration works fine, but if I update to 111.3 the chromecast stops working.

I am guessing it is similar with the Ngrok, that after some update it stopped working. However I can’t seem to find any updated posts about people having issues like mine

I’m working with Home Assistant and CG-NAT in my Internet connectionand I’d like to connect it remotely.
Anyone still using ngrok … or any free alternative?

Yes. I am still using free Ngrok via this add-on created by @ThePicklenat0r. You can find about the add-on here.

The only downside is that the URL will change if you restart the add-on or reboot Home Assistant Host. However, this problem can be easily solved by setting up rest sensor and by setting up notification via Telegram if the URL changes. You can find more about the rest sensor in this Github page.

Thank you @ardysusilo for your help.

Now, I’m using ZeroTile. It’s free (for personal use) and there is not any problem with the reboot of HA, for example.

https://www.pcdemano.com/revisiones/16695/

ZeroTier? I have also set it up in my production HA just as a backup in case something went wrong with Ngrok.

However, in my case (based on my location and ISP), using Ngrok is much much faster than ZeroTier. In addition, I don’t need to enable/disable connection to the ZeroTier VPN on my phone whenever I want to use it or not.

As a bonus, Google Assistant Integration is also possible using Ngrok free plan.

You may want to consider Ngrok if you have any kinds of trouble with ZeroTier.

Hi @ardysusilo again

I don’t have any problem with ZeroTier (yet) but I’d like to try with “your Ngrok”… but I doesn’t work with my HomeAssistant.

I’m using HA as a docker trying to use this one custom component

… but my HA doesn’t recognize the ngrok component.

I’ve create a new folder in custom componets and copied the init.py file, reboot and modified the configuration.yaml … but it doesn’t recognize the ngrok component :(.

Hello. The post I made earlier works if you are using Home Assistant OS/Supervised - because it is using addons installation.

If you are trying to expose a local container using Ngrok, you may try to follow this guide-

Regarding custom_component made by vicenzosuraci, I read that it has stopped working since last year.

Thanks! Works with

ngrok tcp 8123