Using trycloudflare.com for remote access to home assistant

Just to let you know that you don’t need to use trycloudflare anymore, as Argo Tunnels just went free. I’m using it for a couple of months now. It’s just great. On top of the Tunnel, I’ve set Access to not disclose my origin HA instance to the public…

More information:

1 Like

I skimmed through the Argo Tunnel configuration process and, prior to beginning, there are three prerequisites:

Before you start

  1. Add a website to Cloudflare
  2. Change your domain nameservers to Cloudflare
  3. Enable Argo Smart Routing for your account

Given that the goal is to take advantage of this free tunneling service, how does one get a free domain name in order to satisfy the first prerequisite?

The instructional video in this link demonstrates adding an existing domain name to one’s CloudFlare account:
https://support.cloudflare.com/hc/en-us/articles/201720164-Creating-a-Cloudflare-account-and-adding-a-website

I’m confused because I thought the original trycloudflare.com offer supplied a random domain name by default. Is it possible to get a free domain name from CloudFlare as well?

Guessed most of us have a domain name already…

If not, you can try this (never did it myself, nor can I recommend it… just googled it): Freenom Domain: Get a free domain with Freenom and Cloudflare - DEV Community

same setup here, I’ve been tempted to write a guide, but its always turned out to be pretty complex for newcomers.

I’ve set Access to not disclose my origin HA instance to the public…

Is this a setting within cloudflare?

This is awesome and works as advertised.
As an idea is there anyway to setup that url as a sensor?
We have our own discord so HA sends messages to it.

If I am away and our Pi restarts for whatever reason then at least over discord I could get the url send to me.

Is there anyway to use this for a wireguard setup?

Awesome idea getting the URL as a sensor! Did you get any further implementing it?

I haven’t looked into at all but something on my to do list if someone else doesn’t beat me to it

is anybody else having trouble connecting since a couple of days?
only respond:

400: Bad Request

log seems fine to me:

2021-07-12T16:53:06Z INF Each HA connection’s tunnel IDs: map[0:xxx 1:xxx 2:xxx 3:xxx]
2021-07-12T16:53:06Z INF ±-----------------------------------------------------------+
2021-07-12T16:53:06Z INF | Your free tunnel has started! Visit it: |
2021-07-12T16:53:06Z INF | https://xxx.trycloudflare.com |
2021-07-12T16:53:06Z INF ±-----------------------------------------------------------+
2021-07-12T16:53:06Z INF Route propagating, it may take up to 1 minute for your new route to become functional

Yes, same error. Have been using trycloudflare.com for over a year now without any problems.

I guess that is the Issue here:
https://github.com/home-assistant/core/pull/51839

https://community.home-assistant.io/t/update-broke-apache-reverse-proxy/321448/10?

Thank you! That was indeed the problem. Working again now.

I am trying to wrap my head around the Idea having the URL as a sensor, first Issue is, where is the log file?

ok, update. The log output is the one from the docker container.
So this works to look at the log:

docker logs xxx_try_cloudflare

first Idea was to run this trough node red, but i get a

error:127

which means, to my understanding that node red does not have the rights to execute this command…

any other ideas?

I used the trycloudflare for a almost a year now, but 3 days ago the application add-on stopped.

I unistalled the add-on but it’s not possible to reinstall anymore. Someone have a solution for that?

Tried to install the addon but got this error.

"Failed to install add-on

The command ‘/bin/ash -o pipefail -c go get github.com/cloudflare/cloudflared/cmd/cloudflared’ returned a non-zero code: 1"

I’m still new here so unsure what to do next.

Is there a way to access SAMBA shares remotely using the Cloudfare Addon?

I’ve been using the Cloudflared add-on for probably less than a year. I’ve had a paid [mydomain].com for over a decade and I’m accessing HA successfully through https://ha.[mydomain].com.

The only trouble is, my www.[mydomain].com website no longer works. It doesn’t direct to the web server where my (admittedly terrible) website is. It’s not crucial that it’s up & running, but it would be nice to have it work again. This is outside the scope of the add-on, but I was hoping someone could give me some ideas about how to configure Cloudflare to allow access/redirect to my site.

EDIT: Nevermind… I set up a Page Rule in my Cloudflare account. It only took a couple of minutes. I don’t know why I skipped it when I first set this up…