Sidehistorik
Info |
---|
Join the "Danske ZenseHome Brugere" Facebook grooup |
To use the ZenseHome installation from outside, we need some "service manager" at the home LAN to send API commands to the ZenseHome box.
Advarsel |
---|
This is a POC - Proof of concept Of Concept - It has various security problems and stupid static scripts - that could be improved and parameter paramized parameterized (so much...) |
Tip |
---|
A Pre-requsite is reading / installting installing from Zensehome ZenseHome API interfacing |
Installing the basics
As I have an Ubuntu server (with PLEX) in the house already (located at IP 10.0.0.150), I add the webserver apache2 to the installation. :
Kodeblok |
---|
sudo apt-get install apache2 sudo a2enmod cgi sudo service apache2 restart |
...
And off at http://10.0.0.150/cgi-bin/turnoff-office.exp
Tip |
---|
As there is not output, the Apache will return a 500 Error. Theres room for improvement - https://docstore.mik.ua/orelly/linux/cgi/ch03_03.htm |
Access from outside
The next step is to make a port forward in my Icotera Router:
...