Announcement

Collapse
No announcement yet.

HS3 Linux Installation Instructions

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • HS3 Linux Installation Instructions

    HS3 for Linux is a modified version of HS3 that runs under Linux. It is full HS3 with the following exceptions:

    * No VBScript support (.txt scripts). VB.Net scripting and C# scripting is supported
    * No SSL connections to the web server, use MyHomeSeer service for SSL connections.
    * Updater only shows plugins that have been tested under Linux. So plugin list will differ from the Windows version.

    HS3 for Linux does not require a distinct license. Your HS3 standard 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 HS3 is targeted to the more technical user.

    It has been tested under Debian and Ubuntu.

    These instructions are for a Debian 7 install.

    1) Install Debian to your PC from here:
    http://www.debian.org/distrib/

    2) Install the following packages that are required by HS3:

    Note that MONO is required, but it is already installed with the Debian distribution. However, a few packages are missing:

    apt-get install mono-vbnc
    apt-get install libmono-system-web4.0.cil
    apt-get install libmono-system-design4.0.cil
    apt-get install libmono-system-web-extensions4.0-cil
    apt-get install libmono-system-runtime-caching4.0-cil
    apt-get install flite
    apt-get install chromium

    If brltty is installed, this must be removed in order for a Z-Stick to work:
    ap-get remove brltty

    Download the latest HS3 tar file (get it from the HS3 Release Notes forum):
    http://board.homeseer.com/showthread.php?t=176440

    , and untar with the command:

    tar xvf filename

    Change directory into the newly created HomeSeer folder:

    cd HomeSeer

    Change to root (need to be root to run HS3 in order for the web server to function)

    su root

    Run HS3 using the "go" script:

    ./go
    Last edited by matt; October 3rd, 2018, 03:13 PM.
    website | buy now | support | youtube

  • #2
    Seems to work fine on my MacBook Pro

    Running HS3 Linux 3.0.0.42 on ubuntu 12.04 LTS (64 bit) via Virtual Box 4.2.18 r88780 on my MacBook Pro running OS X 10.9 (Mavericks)

    That is a mouth full

    Thanks!!!!

    Comment


    • #3
      Here running well too. Thank you Rich!
      Attached Files
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
      Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - ARMBian Ubuntu 18.04 64 bit Arm CPU - Mono 5.20

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

      Comment


      • #4
        If you just install MONO on your mac it should just run without the virt mach.

        Originally posted by norcoscia View Post
        Running HS3 Linux 3.0.0.42 on ubuntu 12.04 LTS (64 bit) via Virtual Box 4.2.18 r88780 on my MacBook Pro running OS X 10.9 (Mavericks)

        That is a mouth full

        Thanks!!!!
        website | buy now | support | youtube

        Comment


        • #5
          Running HS3 .42 on Debian 7.2.
          My linux is a bit rusty but all went well.

          Comment


          • #6
            A "just curious" question.

            Is this HS3 for Linux identical to what's running on the Pi (ZEE)?

            If not, what's the diff?

            Thanks.

            Comment


            • #7
              The Zee is limited with just X10 and Z-Wave plugins. It is meant to be this way.

              The HS3 in Linux is the same as the HS3 in Wintel. Same feature set, same plugins, etc.
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
              Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - ARMBian Ubuntu 18.04 64 bit Arm CPU - Mono 5.20

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

              Comment


              • #8
                I'm up and running on VirtualBox with Debian 7 - very nice!
                HS3Pro Running on a Raspberry Pi3
                64 Z-Wave Nodes, 168 Events, 280 Devices
                UPB modules via OMNI plugin/panel
                Plugins: Z-Wave, BLRF, OMNI, HSTouch, weatherXML, EasyTrigger
                HSTouch Clients: 3 Android, 1 Joggler

                Comment


                • #9
                  "Limited" because that's all that was included in the box or some other reason. I don't see a reason why in the near future one could not use others. Perhaps even today. Obviously plugins that are windows heavy won't work, but the general ones should. Hypothetically of course.


                  Originally posted by Pete View Post
                  The Zee is limited with just X10 and Z-Wave plugins. It is meant to be this way.

                  The HS3 in Linux is the same as the HS3 in Wintel. Same feature set, same plugins, etc.

                  Comment


                  • #10
                    Hi Pete, just noticed your signature. I'm incredibly curious how you practically use 4 different versions of HomeSeer? I'm struggling to find a use for the Zee, in addition to Homeseer, but you have 4!?

                    Thanks.

                    Originally posted by Pete View Post
                    The Zee is limited with just X10 and Z-Wave plugins. It is meant to be this way.

                    The HS3 in Linux is the same as the HS3 in Wintel. Same feature set, same plugins, etc.

                    Comment


                    • #11
                      Hi. I tried installing on the raspberry pi, with debian. Got all the dependencies, full mono, etc. Can't start, here's the log. Any idea what's missing?

                      Code:
                      pi@raspberrypi ~/hs3/HomeSeer $ sudo ./go
                      HomeSeer Linux starting...
                      0/735182/0001 7:20:39 PM:[Database]->Opening (Mode=Read Only) up HomeSeer LOG database /home/pi/hs3/HomeSeer/Logs/HomeSeerLog.hsd
                      0/735182/0001 7:20:40 PM:[Startup]->Loading Settings
                      0/735182/0001 7:20:41 PM:[Error]->Error reading user configuration file - incomplete user load: Key 't' already exists in list.
                      0/735182/0001 7:20:44 PM:[Warning]->Users configuration file was not found, creating a new one with default user.
                      0/735182/0001 7:20:44 PM:[Error]->In Encrypt_RealX:cb
                      0/735182/0001 7:20:44 PM:[Startup]->Settings Loaded.
                      0/735182/0001 7:20:45 PM:[Startup]->Current sunrise/sunset values calculated.
                      0/735182/0001 7:20:45 PM:[Error]->Reading licenses: cb
                      0/735182/0001 7:20:45 PM:[Startup]-> 
                      0/735182/0001 7:20:45 PM:[Startup]->********************************************************************************
                      0/735182/0001 7:20:45 PM:[Startup]-> HomeSeer version 3.0.0.42 Edition: HS3 Pro Starting Now
                      0/735182/0001 7:20:45 PM:[Startup]->********************************************************************************
                      0/735182/0001 7:20:45 PM:[Startup]-> 
                      0/735182/0001 7:20:45 PM:[Startup]->Stored regional settings
                      0/735182/0001 7:20:45 PM:[Startup]->Creating Class Objects...
                      0/735182/0001 7:20:45 PM:[Error]->Exception creating classes (1) - HomeSeer may NOT run properly! :Argument is out of range.
                      0/735182/0001 7:20:45 PM:[Error]->Exception creating classes (2) - HomeSeer may NOT run properly! :Argument is out of range.
                      0/735182/0001 7:20:45 PM:[Error]->Exception starting database services, Argument is out of range.
                      0/735182/0001 7:20:45 PM:[Startup]->HomeSeer version is: 3.0.0.42
                      0/735182/0001 7:20:45 PM:[Startup]->Creating Speaker Client Interface Object...
                      0/735182/0001 7:20:45 PM:[Warning]->This version of HomeSeer is not registered and is currently disabled
                      0/735182/0001 7:20:45 PM:[Error]->Unable to start plug-in API: Argument cannot be null.
                      Parameter name: service
                      0/735182/0001 7:20:45 PM:[Startup]->Checking for available plug-ins
                      0/735182/0001 7:20:45 PM:[Error]->Exception starting Plug-Ins: Object reference not set to an instance of an object
                      0/735182/0001 7:20:46 PM:[Startup]->Start automation engine...
                      0/735182/0001 7:20:46 PM:[Error]->Error starting the EventThreads, Argument is out of range.
                      0/735182/0001 7:20:46 PM:[Startup]->Initializing Speaker Client Interface
                      0/735182/0001 7:20:46 PM:[Error]->Unable to start remote speech API: Argument is out of range.
                      0/735182/0001 7:20:46 PM:[Speech]->Listening for remote speaker connections on port 10401
                      30/*/15151 7:20:46 PM:[Startup]->Starting Event Scheduler...
                      0/735182/0001 7:20:46 PM:[Error]->Initializing scheduler threads: Argument is out of range.
                      0/735182/0001 7:20:46 PM:[Database]->Opening Energy (Mode=Read Only) database /home/pi/hs3/HomeSeer/Data/Energy/Energy.hsd
                      0/735182/0001 7:20:46 PM:[Startup]->Updater services starting...
                      0/735182/0001 7:20:46 PM:[Error]->Exception starting updater services: Argument is out of range.
                      0/735182/0001 7:20:46 PM:[Startup]->Starting DDNS service...
                      0/735182/0001 7:20:46 PM:[Error]->Getting WAN IP address: Object reference not set to an instance of an object
                      0/735182/0001 7:20:46 PM:[Startup]->Start up complete.
                      Type 'shutdown' to shutdown HomeSeer

                      Comment


                      • #12
                        Last time I looked Mono was not available for the latest MAC OS

                        I would love to run it w/o the VM, but last time I looked, the latest (or even the previous) MAC OS was not supported by Mono.

                        Guess I'll look again...

                        Comment


                        • #13
                          HS3 running on MAC with Mono

                          So I gave it a shot, got HS3 loaded and running on my MAC but it looks like it wants to call Flite (which is not installed) , wondering if it is possible to use the native MAC speech engine vice using Flite.

                          If anyone knows pls let me know thx

                          Comment


                          • #14
                            Hi Pete, just noticed your signature. I'm incredibly curious how you practically use 4 different versions of HomeSeer? I'm struggling to find a use for the Zee, in addition to Homeseer, but you have 4!?
                            5 right now.

                            I use two HS2 boxes today and they are running with independant hardware; "Sharing the load". They are today running stable using some 20 plus serial and 7 plus USB connections to all sorts of "stuff"

                            Over the years I have accumulated much automation hardware.

                            Testing the three HS3 boxes; not dependent on them for automation stuff right now but each doing or running different plugins; doing baby steps with these and testing the new Leviton HAI panel plugin. (all are on separate PC's and none on VM's today for my testing).

                            A quick glance at your logs above I see some issues.

                            1 - DB SQL lite stuff errors
                            2 - TTS Flite doesn't appear to be installed.
                            3 - DDNS service (not sure if this depends on a network connection).
                            4 - /home/pi/hs3/HomeSeer/Data/Energy/Energy is not the same directory structure that I use.

                            IE: my HomeSeer installation on the Zee and Ubuntu is on:

                            /usr/local/HomeSeer

                            I am looking right now at the scripts to see if there are direct directory references in them.

                            When HS boots on a device with a speaker you will hear the TTS welcome to Homeseer intro unless you do not have a speaker or Flite TTS installed.

                            Here I too a working Ubuntu Joggler and just added the stuff Rich specfied in the first link and then just ran Homeseer.
                            - Pete

                            Auto mator
                            Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
                            Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - ARMBian Ubuntu 18.04 64 bit Arm CPU - Mono 5.20

                            X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                            Comment


                            • #15
                              Typically though just starting it up while logged in as Joggler via SSH and using the "mono HSConsole.exe &" command while in the Homeseer directory; then logging off.

                              Rich stated though to use the ./go script to start Homeseer.

                              login as: joggler
                              joggler@192.168.244.XXX's password:
                              Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.32joggler1 i686)

                              * Documentation: https://help.ubuntu.com/

                              0 packages can be updated.
                              0 updates are security updates.

                              Last login: Sun Nov 10 22:58:56 2013 from 192.168.244.230
                              joggler@ICS-joggler2:~$ cd /usr/local/HomeSeer
                              joggler@ICS-joggler2:/usr/local/HomeSeer$ sudo ./go
                              HomeSeer Linux starting...
                              12/31/2004 6:01:43 PM:[Database]->Opening (Mode=Read Only) up HomeSeer LOG database /usr/local/HomeSeer/Logs/HomeSeerLog.hsd
                              12/31/2004 6:01:43 PM:[Startup]->Loading Settings
                              12/31/2004 6:01:43 PM:[Warning]->HomeSeer was not shut down successfully the previous time it was started.
                              12/31/2004 6:01:44 PM:[Startup]->Settings Loaded.
                              12/31/2004 6:01:44 PM:[Startup]->Current sunrise/sunset values calculated.
                              12/31/2004 6:01:45 PM:[Startup]->
                              12/31/2004 6:01:45 PM:[Startup]->*********************************************************** *********************
                              12/31/2004 6:01:45 PM:[Startup]-> HomeSeer version 3.0.0.42 Edition: HS3 Pro Starting Now
                              12/31/2004 6:01:45 PM:[Startup]->*********************************************************** *********************
                              12/31/2004 6:01:45 PM:[Startup]->
                              12/31/2004 6:01:45 PM:[Startup]->Stored regional settings
                              12/31/2004 6:01:45 PM:[Startup]->Creating Class Objects...
                              12/31/2004 6:01:45 PM:[Startup]->COM port classes started.
                              12/31/2004 6:01:45 PM:[Startup]->Application interface class started.
                              12/31/2004 6:01:45 PM:[Startup]->Web server class started.
                              12/31/2004 6:01:45 PM:[Startup]->E-Mail SEND class started.
                              12/31/2004 6:01:45 PM:[Startup]->E-Mail RECEIVE class started.
                              12/31/2004 6:01:45 PM:[Startup]->Plug-In Interface class started.
                              12/31/2004 6:01:45 PM:[Startup]->Local voice recognition class started.
                              12/31/2004 6:01:45 PM:[Startup]->Database SAVE process started.
                              12/31/2004 6:01:45 PM:[Startup]->Loading configuration file ...
                              12/31/2004 6:01:45 PM:[Database]->Opening (Mode=Read Only) up HomeSeer database /usr/local/HomeSeer/Data/HomeSeerData.hsd
                              12/31/2004 6:01:45 PM:[Database]->Loading Devices...
                              12/31/2004 6:01:45 PM:[Load Config]->11 total devices loaded.
                              12/31/2004 6:01:45 PM:[Load Config]->Loading Event Groups...
                              12/31/2004 6:01:45 PM:[Load Config]->Loading Events...
                              12/31/2004 6:01:45 PM:[Load Config]->0 total events loaded.
                              12/31/2004 6:01:45 PM:[Load Config]->Loading COUNTERS...
                              12/31/2004 6:01:45 PM:[Load Config]->Loading TIMERS...
                              12/31/2004 6:01:45 PM:[Startup]->HomeSeer version is: 3.0.0.42
                              12/31/2004 6:01:45 PM:[Startup]->Creating Speaker Client Interface Object...
                              12/31/2004 6:01:45 PM:[Startup]->This version of HomeSeer is registered as a HS3PRO version.
                              12/31/2004 6:01:45 PM:[Info]->Remote plug-in API interface started on port 10400
                              12/31/2004 6:01:45 PM:[Startup]->Checking for available plug-ins
                              12/31/2004 6:01:48 PM:[Plug-In]->Found plug-in: Z-Wave, version: 3.0.0.29
                              12/31/2004 6:01:48 PM:[Startup]->Initializing Plug-Ins
                              12/31/2004 6:01:48 PM:[Error]->Restoring licenses: Invalid binary format
                              12/31/2004 6:01:48 PM:[Web Server]->Local IP address is: 192.168.244.XXXX
                              12/31/2004 6:01:48 PM:[Web Server]->Web Server started on port YYYY
                              12/31/2004 6:01:48 PM:[Startup]->Start automation engine...
                              12/31/2004 6:01:48 PM:[Startup]->Initializing Speaker Client Interface
                              12/31/2004 6:01:48 PM:[Speech]->Listening for remote speaker connections on port 10401
                              12/31/2004 6:01:48 PM:[Startup]->Starting Event Scheduler...
                              12/31/2004 6:01:48 PM:[Database]->Opening Energy (Mode=Read Only) database /usr/local/HomeSeer/Data/Energy/Energy.hsd
                              12/31/2004 6:01:48 PM:[Startup]->Updater services starting...
                              12/31/2004 6:01:48 PM:[Startup]->Starting DDNS service...
                              12/31/2004 6:01:48 PM:[Startup]->Running the startup script Startup.vb
                              12/31/2004 6:01:54 PM:[Startup]->Start up complete.
                              Type 'shutdown' to shutdown HomeSeer

                              > 12/31/2004 6:01:54 PM:[Startup]->Scripting is OK and is now running Startup.vb
                              12/31/2004 6:01:54 PM:[TTS]->Speak ():Welcome to Home-Seer
                              Home directory /home/joggler not ours.
                              12/31/2004 6:01:56 PM:[TTS]->Speak ():Web server port number is YYYY
                              Home directory /home/joggler not ours.
                              12/31/2004 6:02:03 PM:[Info]->Remote application or plugin has connected: 192.168.244.XXX:56001
                              12/31/2004 6:02:03 PM:[Jon00_HS3GW]->Ready
                              12/31/2004 6:02:03 PM:[Jon00_HS2GW]->Reconnected to Homeseer
                              BTW notice that the time and date are not really sync'd to the NTP server until after starting Homeseer due to the fact that the Joggler doesn't have its own battery backed up clock. If I waited a bit it would show the correct date and time.

                              I will probably change the home directory such that Homeseer owns it too. As Rob mentions above Homeseer works fine in a VM too. Here I have Jogglers around like ants at a picnic. Just did build a new ZM box using 64 bit Ubuntu. There are some 6-7 Linux boxes around here doing whatever these days. IE: I am using the MythTV MySQL DB for XBMC along with the MythTV stuff.

                              Doing another HS3 for Linux box (#6) on a Raspberry Pi shortly. Note that the Joggler is Intel Atom based and works fine with Homeseer and Mono. Actually could probably also install Homeseer on the older "chumby's" as they are also Arm based and run debian just fine. (< 1Ghz) or the seagate dockstar at 1.2Ghz.

                              Yup; here the "testing" Joggler is leaking out its insides as its partially disassembled on my workbench with little wire jumpers and using 3M blue painters tape (great stuff for non painting computer experiments) to keep it together right now.
                              Last edited by Pete; November 11th, 2013, 03:36 PM.
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
                              Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - ARMBian Ubuntu 18.04 64 bit Arm CPU - Mono 5.20

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

                              Comment

                              Working...
                              X