Note: HS4 supported with version r6. Raspberry Pi OS 'Bullseye' supported with version r7.
I've been evaluating HS3 on Linux (Raspberry Pi). Overall review is mixed. It has promise but the implementation is sloppy. The developer's Windows-centricism really shows. I won't be abandoning the 3-yr old Win7 Hometroller S6 anytime soon (not by choice anyhow). Glad I followed my instinct to stick with the platform with which they had the greater expertise.
That said, I thought I would share the installer package that I put together.
This installs HS3, mono, the referenced audio packages (unfortunately the provided voices are poor quality; see the PollyC thread for an alternative), a systemd unit for startup/shutdown, and some fixups so that all the TOOLS->System menu items function.
The provided systemd unit provides HS3 startup at bootup and clean shutdown at reboot/halt/powerdown.
Starting with a fresh install of Raspian OS, download the attached zip file and unzip. The installer runs via make(1), so a 'Makefile' is what drives it all.
For full install (mono, audio, HS) -
Append 'build=nnn' to override the default latest release.
Append 'login=username: password' (no space after colon) if local login enabled (see below)
After this finishes (it takes awhile), HS will be up and running. Search on https://find.homeseer.com, navigate to the web interface and input your license info. Then install plugins and import your data (if applicable).
To install/upgrade just HS -
If your installation is at the standard /usr/local or /opt, the installer will locate that and install there. Otherwise, you will need to append 'installpoint=/your/install/point'. Don't include the 'HomeSeer' component in this.
Important note regarding the systemd unit
The HS3 application is not implemented in a service-friendly way, so shutdown is accomplished by submitting "hs.shutdown()" command to Control Panel via the web interface. If you have the setup option "No password required for local login" unchecked, you will need to specify the login credentials to the installer. This is done by appending 'login=username: password' (no space after the colon) after any of the 'make' commands. Alternately, edit file 01settings and place the credentials there. These credentials need to be capable of login to the HS3 web interface with admin privilege. To update just the credentials, the command would be
Notes on some of the included files
check_passwd - in the HS distribution, check_passwd is an Intel executable, which doesn't run on the ARM processor of the raspi. This replacement is a perl script which will run anywhere.
restart.sh, shutdown_controller.sh - these replace the HS3 distribution versions. When shutting down a service, in some circumstances systemd will send signals to terminate all processes spawned from the service's parent process. This includes these scripts, preventing them from performing the expected reboot or powerdown command. Solution is to move the reboot/powerdown commands to a trap on exit. This way they are executed when a termination signal is received as well as a normal exit.
run_command.sh - I don't think much of the "Linux Tools" functionality; however this version offers a small enhancement such that any command error output is displayed as well as the normal output.
updater_override_3p.sh - this is an add-on helper script to aid installation of plugins that don't use the normal updater, such as PHLocation. To install PHLocation,
This will place the contents of the zip file at appropriate places so the updater will offer the plugin under the "Local Updates" category.
bootedit.sh - this shell script (called by the installer) configures the internal serial device for use with a Z-Wave
controller GPIO daughter card such as the Razberry or EZZee.
Note: if make isn't installed on you system, install it via
I've been evaluating HS3 on Linux (Raspberry Pi). Overall review is mixed. It has promise but the implementation is sloppy. The developer's Windows-centricism really shows. I won't be abandoning the 3-yr old Win7 Hometroller S6 anytime soon (not by choice anyhow). Glad I followed my instinct to stick with the platform with which they had the greater expertise.
That said, I thought I would share the installer package that I put together.
This installs HS3, mono, the referenced audio packages (unfortunately the provided voices are poor quality; see the PollyC thread for an alternative), a systemd unit for startup/shutdown, and some fixups so that all the TOOLS->System menu items function.
The provided systemd unit provides HS3 startup at bootup and clean shutdown at reboot/halt/powerdown.
Starting with a fresh install of Raspian OS, download the attached zip file and unzip. The installer runs via make(1), so a 'Makefile' is what drives it all.
For full install (mono, audio, HS) -
Code:
sudo make install-all
Append 'login=username: password' (no space after colon) if local login enabled (see below)
After this finishes (it takes awhile), HS will be up and running. Search on https://find.homeseer.com, navigate to the web interface and input your license info. Then install plugins and import your data (if applicable).
To install/upgrade just HS -
Code:
sudo make upgrade-hs
Important note regarding the systemd unit
The HS3 application is not implemented in a service-friendly way, so shutdown is accomplished by submitting "hs.shutdown()" command to Control Panel via the web interface. If you have the setup option "No password required for local login" unchecked, you will need to specify the login credentials to the installer. This is done by appending 'login=username: password' (no space after the colon) after any of the 'make' commands. Alternately, edit file 01settings and place the credentials there. These credentials need to be capable of login to the HS3 web interface with admin privilege. To update just the credentials, the command would be
Code:
sudo make install-service login=username:password
Notes on some of the included files
check_passwd - in the HS distribution, check_passwd is an Intel executable, which doesn't run on the ARM processor of the raspi. This replacement is a perl script which will run anywhere.
restart.sh, shutdown_controller.sh - these replace the HS3 distribution versions. When shutting down a service, in some circumstances systemd will send signals to terminate all processes spawned from the service's parent process. This includes these scripts, preventing them from performing the expected reboot or powerdown command. Solution is to move the reboot/powerdown commands to a trap on exit. This way they are executed when a termination signal is received as well as a normal exit.
run_command.sh - I don't think much of the "Linux Tools" functionality; however this version offers a small enhancement such that any command error output is displayed as well as the normal output.
updater_override_3p.sh - this is an add-on helper script to aid installation of plugins that don't use the normal updater, such as PHLocation. To install PHLocation,
Code:
wget https://jphuddlestone.co.uk/phlocation/HSPI_PHLocation.zip sudo ./updater_override_3p.sh HSPI_PHLocation.zip
bootedit.sh - this shell script (called by the installer) configures the internal serial device for use with a Z-Wave
controller GPIO daughter card such as the Razberry or EZZee.
Note: if make isn't installed on you system, install it via
Code:
sudo apt update sudo apt install make
Comment