HS4 for Linux is a modified version of HS4 that runs under Linux. It is full HS4 with the following exceptions:
* No VBScript support (.txt scripts). VB.Net scripting and C# scripting is supported
HS4 for Linux does not require a distinct license. Your HS4 standard, HS4 SEL/Plus, or PRO license will work, though note that you can only use one license per installation.
Linux can be a challenge for non-technical users, the Linux version of HS4 is targeted to the more technical user.
It has been tested under Debian and Ubuntu.
These instructions are for a Debian 7 install.
Note that HS4 needs to run as root or with sudo (script uses sudo). This is because it listens on a port for the web server and MONO requires root to do this.
Check the startup log for errors. If all is ok, you can access the web interface on a browser by accessing the IP address if the Linux system with:
http://IP_ADDRESS
By default, HS4 starts listening on port 80. If you happen to have the Apache web server installed port 80 may be in use. You can edit the HS4 config file in Config/settings.ini and change the setting:
gWbSvrPort=80
To a different port, then restart HS4.
You can shut down HS4 from the console by hitting enter to get a prompt and then entering: shutdown
* No VBScript support (.txt scripts). VB.Net scripting and C# scripting is supported
HS4 for Linux does not require a distinct license. Your HS4 standard, HS4 SEL/Plus, or PRO license will work, though note that you can only use one license per installation.
Linux can be a challenge for non-technical users, the Linux version of HS4 is targeted to the more technical user.
It has been tested under Debian and Ubuntu.
These instructions are for a Debian 7 install.
- Install Debian or Ubunutu per it's instructions. Ubuntu on WIndows 10 will also work.
- Install the following packages that are required by HS4:
Note that MONO is required, but it is already installed with the Debian distribution. However, a few packages are missing:
apt-get install mono-devel
apt-get install mono-vbnc
apt-get install flite
apt-get install chromium-browser
apt-get install aha
apt-get install ffmpeg
apt-get-install aplay - If brltty is installed, this must be removed in order for a Z-Stick to work:
apt-get remove brltty - Download the latest HS4 tar file, latest release can be found here:https://docs.homeseer.com/display/HSPI/Release+Notes
- Download the latest "Linux Standard" tar file.
- Change directory to where you want to install it.
Our default is:ch /usr/local - untar with the command:
- tar xvf tar_filename
- Change directory into the newly created HomeSeer folder:
cd HomeSeer - Run HS4 using the "go" script:
./go
Note that HS4 needs to run as root or with sudo (script uses sudo). This is because it listens on a port for the web server and MONO requires root to do this.
Check the startup log for errors. If all is ok, you can access the web interface on a browser by accessing the IP address if the Linux system with:
http://IP_ADDRESS
By default, HS4 starts listening on port 80. If you happen to have the Apache web server installed port 80 may be in use. You can edit the HS4 config file in Config/settings.ini and change the setting:
gWbSvrPort=80
To a different port, then restart HS4.
You can shut down HS4 from the console by hitting enter to get a prompt and then entering: shutdown
Comment