donavanbecker / homebridge-cloudflared-tunnel

The Cloudflared Tunnel plugin allows you to run a Cloudflare-Tunnel for exposing your homebridge instance for remote access.
ISC License
4 stars 0 forks source link

how do you use this? #10

Open r2shyyou opened 1 month ago

r2shyyou commented 1 month ago

Describe Your Problem

sorry for being a noob but once you install this, how do you use it to connect remotely to your homebridge instance?

Relevant log output

No response

Config for homebridge-cloudflared-tunnel

{
  "acceptCloudflareNotice" : true,
  "hostname" : "homebridge.local",
  "name" : "CloudflaredTunnel",
  "platform" : "CloudflaredTunnel",
  "port" : 8581,
  "protocol" : "https",
  "verifyTLS" : true
}

Screenshots

No response

Device & Model

Raspberry Pi 4B

Node.js Version

v20.15.0

NPM Version

v10.7.0

Homebridge Version

v1.8.3

Homebridge Cloudflared Tunnel Plugin Version

v1.0.3

Homebridge Config UI X Plugin Version

v4.56.4

Operating System

Raspbian

donavanbecker commented 1 month ago

There is a log that displays the tunnel that you are assigned, you can use that tunnel until your Homebridge restarts, then you will be assigned a new one.

r2shyyou commented 1 month ago

There is a log that displays the tunnel that you are assigned, you can use that tunnel until your Homebridge restarts, then you will be assigned a new one.

and how does one "use" this tunnel?

donavanbecker commented 1 month ago

Did you try clicking the url? It should route your Homebridge instance through that url for access anywhere.

r2shyyou commented 3 weeks ago

sorry for the delayed response. i get the following (just now) when i try entering the url directly in a browser:

502 Bad Gateway Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared