If this is your first visit, be sure to check out the FAQ. You must register before you can post. Your first post will be checked for appropriate content
(SPAM) - please allow a bit of time for that. After that, you'll be able to post at will!
BTW, was there ever a .150 or .151 release? If not, it serves to underscore the value of having an actual download page that people can go to. Otherwise, it's just hard for anyone but die-hards to keep track of it all.
To make things worse, the naming is changing. Here's the name for 152:
hslinux_hs3_3_0_0_152.tar.gz
Which is different than 149 above. So you can't just change the build number!
How do I configure build 149 to use the new Z-Net controller? I can't seem to figure it out, it just wants a /dev interface. I'm sure this is something obvious.
I started here looking for the instructions for CentOS and didn't find anything that was helpful:
Install instructions on CentOS 7 Minimal install (Clean install, assuming install complete with IP, hostname, passwords set and Internet from the new CentOS works)
Let's create a firewall service that contains the ports for HS3 and then modifies the default zone to enable this service. The echo commands will create the files where you need them to be created, so copy/paste works here on the BASH shell command line like above commands do. Keep in mind, if you need to change your HSTouch port, note below that 10200 will need to change to your port. Feel free to add other ports as well, for example for other plugins that need to remotely access this server.
echo '<?xml version="1.0" encoding="utf-8"?>' > /etc/firewalld/services/hs3p.xml
echo '<service>' >> /etc/firewalld/services/hs3p.xml
echo ' <short>HS3 Ports</short>' >> /etc/firewalld/services/hs3p.xml
echo ' <description>HomeSeer 3 Ports needed for the application. HTTP, HTTPS (...future on Linux I am sure...), HSTouch </description>' >> /etc/firewalld/services/hs3p.xml
echo ' <port protocol="tcp" port="80"/>' >> /etc/firewalld/services/hs3p.xml
echo ' <port protocol="tcp" port="443"/>' >> /etc/firewalld/services/hs3p.xml
echo ' <port protocol="tcp" port="10200"/>' >> /etc/firewalld/services/hs3p.xml
echo '</service>' >> /etc/firewalld/services/hs3p.xml
echo '<?xml version="1.0" encoding="utf-8"?>' > /etc/firewalld/zones/public.xml
echo '<zone>' >> /etc/firewalld/zones/public.xml
echo ' <short>Public</short>' >> /etc/firewalld/zones/public.xml
echo ' <description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>' >> /etc/firewalld/zones/public.xml
echo ' <service name="ssh"/>' >> /etc/firewalld/zones/public.xml
echo ' <service name="dhcpv6-client"/>' >> /etc/firewalld/zones/public.xml
echo ' <service name="hs3p"/>' >> /etc/firewalld/zones/public.xml
echo '</zone>' >> /etc/firewalld/zones/public.xml
If the update is a different version by the time you read this, likely the new updates will work the same but check and of course the download file (wget) will need to be verified for your desired version as well.
You need something to automatically start the software at boot. Here is what I use for the service script (/etc/init.d/hs3p):
#! /bin/bash
#
# hs3p Start HomeSeer 3 Pro
#
# chkconfig: 2345 10 90
# description: Starts HomeSeer 3 Pro Server at boot and allows service control t o some extent.
export HS3MONO=`pidof mono`
export HS3SUDO=`pidof sudo`
case "$1" in
start)
cd /var/local/HomeSeer
./go &
;;
stop)
echo "Stopping HomeSeer"
kill $HS3MONO
kill $HS3SUDO
echo "Process terminated."
;;
help)
echo "This service is mostly intended to start HomeSeer 3 Pro. Stopping it requires you to kill the process"
;;
*)
echo $"Usage: $0 {start|stop|help}"
exit 2
esac
(I put the above text in /etc/init.d/hs3p using vi. After saving the file and exiting, I ran these commands
chmod +x /etc/init.d/hs3p
chkconfig hs3p on
service hs3p start
The script sends a gentle kill command, if for some reason your kill doesn't kill after a reasonable waiting period, you can change kill to kill -9 but this is harsh and not recommended. I am trying to find another way to stop the service more gently, but at the time this is as far as I have made it and has worked well without incident for some time now.
Last edited by officialh1; April 21, 2015, 02:39 PM.
Reason: Errors corrected and added content
For the issue regarding the ./go script, was able to get up and running by following the install instructions for .149, and then updating .152 over the top. While .149 creates and copies files into the HomeSeer folder, .152 only extracts into the current directory. Other than that it was good. I did .149 from the home directory, and then extracted .152 in the HomeSeer directory.
Only issue I ran into was changing the system PW on the first screen. Although it gives you the default pw hsthsths3 to put in, it still gave me wrong password error.
Hasn't been a huge issue since everything else is working, and I'm using SSH for all the underhood stuff.
Thanks for all the previous notes that helped me work through the issues that came up!
Updates can be found here: http://homeseer.com/updates3/hslinux...0_0_xxx.tar.gz. replace xxx with current version. But I agree, a link on the download page would be much better. Also, I don't think these updates can be used for new installs.
Updates can be found here: http://homeseer.com/updates3/hslinux...0_0_xxx.tar.gz. replace xxx with current version. But I agree, a link on the download page would be much better. Also, I don't think these updates can be used for new installs.
Except that's not always the case (for example, 152, which was had to be extracted on top of 149). And also, then we have to guess what the number is, since it's not sequential.
Please please please, can we get a sticky with the link to the most current Linux download at a minimum??? Why isn't it just part of the Linux installation instructions? (Versus the vague "elsewhere in this forum" statement???)
For the issue regarding the ./go script, was able to get up and running by following the install instructions for .149, and then updating .152 over the top. While .149 creates and copies files into the HomeSeer folder, .152 only extracts into the current directory. Other than that it was good. I did .149 from the home directory, and then extracted .152 in the HomeSeer directory.
Only issue I ran into was changing the system PW on the first screen. Although it gives you the default pw hsthsths3 to put in, it still gave me wrong password error.
Hasn't been a huge issue since everything else is working, and I'm using SSH for all the underhood stuff.
Thanks for all the previous notes that helped me work through the issues that came up!
Ken
I was attempting to get a reasonable service script, that is what I meant. I have since updated the data here to be more complete. The application 'issues' I agree are annoying but mostly I have ignored them, in particular that change password issue that comes back after every service restart. I just wanted to cover the proper OS layout and application install. I consider the rest implementation.
This post is not very correct at this point. Some fixes perhaps?
-- Some of the packages are incorrect (. instead of -) and some are missing
-- I got it working using these:
sudo apt-get install mono-vbnc
sudo apt-get install libmono-system-web4.0-cil
sudo apt-get install libmono-system-web-extensions4.0-cil
sudo apt-get install libmono-system-design4.0-cil
sudo apt-get install libmono-system-runtime-caching4.0-cil
sudo apt-get install libmono-system-data-datasetextensions4.0-cil
sudo apt-get install libmono-system-data-linq4.0-cil
sudo apt-get install libmono-system-xml-linq4.0-cil
sudo apt-get install flite
--Finding the right file to install is too hard. I am still not sure my install is correct because none of this is documented
-- I got it working using this:
download
cd ~
wget http://homeseer.com/updates3/hs3_linux_3_0_0_149.tar.gz
tar xvf hs3_linux_3_0_0_149.tar.gz
rm hs3_linux_3_0_0_149.tar.gz
cd HomeSeer
wget http://homeseer.com/updates3/hslinux...0_0_163.tar.gz
tar zxvf ~/hslinux_hs3_3_0_0_163.tar.gz
rm hslinux_hs3_3_0_0_163.tar.gz
cd ..
sudo mv HomeSeer /usr/local
This is just the sort of stuff that would keep someone who is new to linux from getting it to work
In addition, I had the problem when I got it running that when setting the system password, I tried hsthsths3 but it complains about it. I have not resolved this yet
Kent
Last edited by PosterBoy; April 29, 2015, 02:03 PM.
Reason: update full download to ver 3.0.0.149
Comment