Serve up a dynamic web page for guests with no login

Posted on
Thu Aug 01, 2019 4:40 pm
mundmc offline
User avatar
Posts: 592
Joined: Sep 14, 2012

Serve up a dynamic web page for guests with no login

I built a bar in my garage, because I am in my 40s and I now hide from my children in my garage the same way I used to hide from my parents when in my teens.

The point is, I want the neighbors to know when it’s open for entertaining. I will be designing something I can to a “bat signal” in a separate thread.

In the meantime, I want to be able to give friends a website that they can check that lets them know whether there is a party going on. I might even have snapshots or currently playing music. I want them to be able to access this without having access to the rest of my HA.

Plausible solutions:
1. Use python to write a php or html page in the indigo/public folder
2. Uh, um, maybe there’s a way to script copying a control page to the public folder?
3. “I like turtles!”

Thoughts?

Posted on
Fri Aug 02, 2019 1:58 am
mat offline
Posts: 755
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Serve up a dynamic web page for guests with no login

Add subscribed text alerts, and make the bat signal massive!

PS Saw my first turtle in the wild in February, loved it ;)

Late 2018 mini 10.14

Posted on
Fri Aug 02, 2019 7:52 am
FlyingDiver offline
Posts: 3550
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Serve up a dynamic web page for guests with no login

Doing a web page is possible, but don't forget that if you want it hosted on your Indigo server you'll need to port forward from your router and set up a DDNS entry as well.

Do you already have a public website somewhere? If so, the easiest way to do it is to make a pair of HTML files that change the status on that page to open/closed, and then use FTP to push the current page up to the server.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Aug 02, 2019 10:22 am
mundmc offline
User avatar
Posts: 592
Joined: Sep 14, 2012

Re: Serve up a dynamic web page for guests with no login

mat wrote:
Add subscribed text alerts, and make the bat signal massive!

PS Saw my first turtle in the wild in February, loved it ;)


In time, in time :)

Oh, the turtles reference was my self-depreciating comparison of my general web-server know-how to this kid: https://youtu.be/CMNry4PE93Y

Posted on
Fri Aug 02, 2019 10:32 am
mundmc offline
User avatar
Posts: 592
Joined: Sep 14, 2012

Serve up a dynamic web page for guests with no login

FlyingDiver wrote:
Doing a web page is possible, but don't forget that if you want it hosted on your Indigo server you'll need to port forward from your router and set up a DDNS entry as well.

Do you already have a public website somewhere? If so, the easiest way to do it is to make a pair of HTML files that change the status on that page to open/closed, and then use FTP to push the current page up to the server.


Thanks for the reply-
I already have a registered domain and 8176 port-forwarding on, so the access to the public folder should be easy (hence my investigating that first).

I haven’t spun up a web server since 2012, and it was brief at that time to play with php. If that is a better idea, I can do that on my host mac, or on my NAS (Synology DS918+). The main limitation here is putting any dynamic info on the pages (e.g. now-playing, number of people, photos of the party, estimated closing time).

I guess there’s no way to copy an indigo control page to the public folder? At least that would save me having to re-learn web design.

I really suspect there’s an easy kludge for such a limited scope. I’ll look again at some posts i saw for limited-access users.

Posted on
Mon Aug 05, 2019 12:54 pm
mat offline
Posts: 755
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Serve up a dynamic web page for guests with no login

:lol: :lol: :lol: :lol: :lol:

Late 2018 mini 10.14

Posted on
Mon Aug 05, 2019 6:58 pm
virgahyatt offline
Posts: 131
Joined: Jan 11, 2014

Re: Serve up a dynamic web page for guests with no login

Easiest way would be to setup Mac OS Server and use the web server there. It will auto create a landing page that you can edit to display what you want.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests