Announcement

Collapse
No announcement yet.

HS3 Linux Installation Instructions

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

    #16
    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
    The startup script calls hs TTS. You can probably just REM that part out. I did try a couple of different speech engines along with Flite; but only Flite worked for me.

    the speak.sh file:

    #!/bin/sh
    flite -voice kal16 -t "$1"
    the speak_to_file.sh file:

    #!/bin/sh
    flite -o "$1" -t "$2"
    Last edited by Pete; November 11, 2013, 04:07 PM.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    Comment


      #17
      Originally posted by Pete View Post
      5 right now.

      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
      Hi Pete. Homeseer should sponsor you for being such a devoted tester :-)

      Thanks for looking at the log. I wish it would print the call stack during exceptions, not just message. SQL lite is functional, I can tell from it loading stuff, Flite is also installed.

      It fails trying to load classes, which is the meat of the potato here. Argument is out of range is too generic of a message, so I would need the HS guys to weigh in, unless somebody has ideas.

      Pete, please let me know if you get it running on the pi.

      Thanks.

      Comment


        #18
        Raspbian

        HS3 for Linux can work with Raspbian?

        Comment


          #19
          I will do another one on a Raspberry Pi from scratch and post a step by step.

          On the Joggler prior to Rich's posting about what to install I tested the HS3 Zee version and installed:

          1 - apt-get install mono-xsp2
          2 - apt-get install mono-vbnc
          3 - apt-get install mono-complete
          4 - apt-get install sqlite3
          5 - apt-get install flite-devel

          I probably installed more than I needed.

          I also created the same groups / users with the same rights that I saw on the Zee on the Joggler. I left it the same for the new HS3 Linux version of Homeseer.
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment


            #20
            Hi Pete,

            Thanks. I was missing a couple of packages from your list. I also changed the install folder, though I'm certain that path and user makes not difference, since all the stuff is local to the install folder and we run as sudo. Here's the output of my startup and shutdown. As you can see, during shutdown, db seems to be fine. The fact that it can't load classes (early in the log) is the trouble. Those are the spots where it tries to load com ports, web server, etc. Let me know how it goes for you on the pi.

            Code:
            pi@raspberrypi /usr/local/HomeSeer $ sudo ./go
            HomeSeer Linux starting...
            0/735184/0001 2:31:36 PM:[Database]->Opening (Mode=Read Only) up HomeSeer LOG database /usr/local/HomeSeer/Logs/HomeSeerLog.hsd
            0/735184/0001 2:31:37 PM:[Startup]->Loading Settings
            0/735184/0001 2:31:38 PM:[Error]->Error reading user configuration file - incomplete user load: Key 't' already exists in list.
            0/735184/0001 2:31:42 PM:[Warning]->Users configuration file was not found, creating a new one with default user.
            0/735184/0001 2:31:42 PM:[Error]->In Encrypt_RealX:cb
            0/735184/0001 2:31:42 PM:[Startup]->Settings Loaded.
            0/735184/0001 2:31:42 PM:[Startup]->Current sunrise/sunset values calculated.
            0/735184/0001 2:31:42 PM:[Error]->Reading licenses: cb
            0/735184/0001 2:31:42 PM:[Startup]->
            0/735184/0001 2:31:42 PM:[Startup]->********************************************************************************
            0/735184/0001 2:31:42 PM:[Startup]-> HomeSeer version 3.0.0.42 Edition: HS3 Pro Starting Now
            0/735184/0001 2:31:42 PM:[Startup]->********************************************************************************
            0/735184/0001 2:31:42 PM:[Startup]->
            0/735184/0001 2:31:42 PM:[Startup]->Stored regional settings
            0/735184/0001 2:31:42 PM:[Startup]->Creating Class Objects...
            0/735184/0001 2:31:42 PM:[Error]->Exception creating classes (1) - HomeSeer may NOT run properly! :Argument is out of range.
            0/735184/0001 2:31:42 PM:[Error]->Exception creating classes (2) - HomeSeer may NOT run properly! :Argument is out of range.
            0/735184/0001 2:31:42 PM:[Error]->Exception starting database services, Argument is out of range.
            0/735184/0001 2:31:42 PM:[Startup]->HomeSeer version is: 3.0.0.42
            0/735184/0001 2:31:42 PM:[Startup]->Creating Speaker Client Interface Object...
            0/735184/0001 2:31:42 PM:[Warning]->This version of HomeSeer is not registered and is currently disabled
            0/735184/0001 2:31:42 PM:[Error]->Unable to start plug-in API: Argument cannot be null.
            Parameter name: service
            0/735184/0001 2:31:42 PM:[Startup]->Checking for available plug-ins
            0/735184/0001 2:31:42 PM:[Error]->Exception starting Plug-Ins: Object reference not set to an instance of an object
            0/735184/0001 2:31:43 PM:[Startup]->Start automation engine...
            0/735184/0001 2:31:43 PM:[Error]->Error starting the EventThreads, Argument is out of range.
            0/735184/0001 2:31:43 PM:[Startup]->Initializing Speaker Client Interface
            0/735184/0001 2:31:43 PM:[Error]->Unable to start remote speech API: Argument is out of range.
            0/735184/0001 2:31:43 PM:[Speech]->Listening for remote speaker connections on port 10401
            30/,/15151 2:31:43 PM:[Startup]->Starting Event Scheduler...
            0/735184/0001 2:31:43 PM:[Error]->Initializing scheduler threads: Argument is out of range.
            0/735184/0001 2:31:43 PM:[Database]->Opening Energy (Mode=Read Only) database /usr/local/HomeSeer/Data/Energy/Energy.hsd
            0/735184/0001 2:31:43 PM:[Startup]->Updater services starting...
            0/735184/0001 2:31:43 PM:[Error]->Exception starting updater services: Argument is out of range.
            0/735184/0001 2:31:43 PM:[Startup]->Starting DDNS service...
            0/735184/0001 2:31:43 PM:[Error]->Getting WAN IP address: Object reference not set to an instance of an object
            0/735184/0001 2:31:43 PM:[Startup]->Start up complete.
            Type 'shutdown' to shutdown HomeSeer
            
            > shutdown
            0/735184/0001 2:32:21 PM:[Shutdown]->Application shutdown at 0/735184/0001 2:32:21 PM
            0/735184/0001 2:32:21 PM:[Shutdown]->Running shutdown script ...
            0/735184/0001 2:32:21 PM:[Shutdown]->Shutdown Script Completed
            0/735184/0001 2:32:21 PM:[Shutdown]->Removing Plug-in Links...
            0/735184/0001 2:32:21 PM:[Shutdown]->Removing all Callbacks...
            0/735184/0001 2:32:21 PM:[Shutdown]->Shutting down plug-ins ...
            0/735184/0001 2:32:21 PM:[Database]->Opening (Mode=Read Only) up HomeSeer database /usr/local/HomeSeer/Data/HomeSeerData.hsd
            0/735184/0001 2:32:21 PM:[Database]->Saving Devices...
            0/735184/0001 2:32:21 PM:[Database]->Finished processing devices.
            0/735184/0001 2:32:21 PM:[Database]->Saving Event Groups...
            0/735184/0001 2:32:21 PM:[Database]->Finished processing event GROUPS.
            0/735184/0001 2:32:21 PM:[Database]->Saving Counter Triggers...
            0/735184/0001 2:32:21 PM:[Database]->Finished processing COUNTERs.
            0/735184/0001 2:32:21 PM:[Database]->Saving Timer Triggers...
            0/735184/0001 2:32:21 PM:[Database]->Finished processing TIMERs.
            0/735184/0001 2:32:21 PM:[Database]->Finished processing events.
            0/735184/0001 2:32:21 PM:[Shutdown]->Shutting down database...
            0/735184/0001 2:32:21 PM:[Shutdown]->Shutting down email ...
            0/735184/0001 2:32:21 PM:[Shutdown]->-------------------------------------------------------------------
            0/735184/0001 2:32:21 PM:[Shutdown]->             HomeSeer Successfully Shut Down Now
            0/735184/0001 2:32:21 PM:[Shutdown]->-------------------------------------------------------------------
            0/735184/0001 2:32:21 PM:[Error]->Exception adding record(s) to the LOG database(0): Division by zero SQL=
            0/735184/0001 2:32:21 PM:[Error]->21 Log records failed to be written to the log database.
            HomeSeer Linux has shut down.

            Comment


              #21
              Just started a new install from scratch this morning. Still at the base right now.
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

              Comment


                #22
                Don't bother trying to run the full hs3 on the rapberry pi, it will not work. First you need a soft float ver of Debian, but even then the remote proxy stuff is broken in MONO on that platform so plugins will not work.
                💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                Comment


                  #23
                  Note that while the tarball link posted in the other thread ends in .tar.gz, it is _not_ gzipped. If you pass the z flag to tar, it will not unpack. The instructions don't say to use z, but I just did it by instinct with a .tar.gz file.

                  Consider renaming the file in the next release to just .tar. Better yet: gzip it and change the instructions to use "tar xzvf filename".

                  I fired it up as root, changed the web port to 8080, then relaunched as a non-privileged user. I'm just starting to check it out now, but it appears to work at least so far as the web UI is rendering.

                  Requests: Please provide an RC script to launch this, and setup instructions for running it as non-root. I can figure it out, but for users it would be handy. Failing that, best practice would be to bind to port 80 then change user ID to a non-privileged user.

                  Keep up the great work, guys. I've been waiting a long time to kick windows XP out of the house. The hometroller is the only holdout. As soon as the beta label drops off this release, it's gone.

                  Comment


                    #24
                    I've installed it last night on a VM partition and I have to say that I really like it.
                    Just the thought of being able to upgrade machines without starting from scratch would make me want to go this route.

                    My only concerns is that not all of the plugins that I want will be available for the Linux version.

                    2 things:
                    Are the plugins that we see now in the Linux version compatible with HS3 Linux?
                    What would be our method to update HS3?

                    It would also be great if someone very knowledgeable with Linux could write a "Missing Manual for HS3 under Linux" Not only on how to install, but also best practice and setting up different utilities, how to do a backup/restore (with dd) backup scripts, how to start an app automatically etc. Add to the documentation as we go along. I am sure that some of you have collected some good tips and trick over the years

                    Comment


                      #25
                      By the way, anyone attempted to get their Edgeport setup with Debian? I read conflicting posts at different sites, some say that the drivers are included in the kernel, some others will say that they were dropped a little while back

                      Comment


                        #26
                        Here loaded the Quatech Linux drivers from the web site and will give the Digi drivers a try in the next few days.

                        I am going really slow with testing stuff and only have tried the Z-Wave and X-10 plugins to date.

                        I am now though paying attention more to the Linux HS3 build than the Wintel HS3 build these days.
                        Attached Files
                        Last edited by Pete; November 14, 2013, 06:12 AM.
                        - Pete

                        Auto mator
                        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                        Comment


                          #27
                          Today plugged in a Digi USB hub and Digi USB Edgeport. Plug n play.

                          Really though mostly wanting to connect my DECT phones to the DECT chip inside of this device making it do a bit more than automation.

                          root@ICS-joggler2:~# lsusb
                          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                          Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                          Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                          Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                          Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. Hub
                          Bus 003 Device 002: ID 04cc:5556 ST-Ericsson
                          Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
                          Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
                          Bus 001 Device 010: ID 05e3:ffe2 Genesys Logic, Inc.
                          Bus 001 Device 012: ID 1608:000f Inside Out Networks [hex] Edgeport/8
                          Bus 001 Device 011: ID 0451:2077 Texas Instruments, Inc. TUSB2077 Hub

                          usb 1-4.6.6: new full-speed USB device number 12 using ehci_hcd
                          io_edgeport 1-4.6.6:1.0: Edgeport 8 port adapter converter detected
                          usb 1-4.6.6: Inside Out Networks Edgeport/8 detected
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB0
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB1
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB2
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB3
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB4
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB5
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB6
                          usb 1-4.6.6: Edgeport 8 port adapter converter now attached to ttyUSB7
                          root@ICS-joggler2:~#
                          Last edited by Pete; November 14, 2013, 12:30 PM.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                          Comment


                            #28
                            Originally posted by Pete View Post
                            Today plugged in a Digi USB hub and Digi USB Edgeport. Plug n play.
                            Good to hear Pete. What command did you use to get this log?
                            Have you tried connecting a Z-Troller to one of these ports? Wonder what you would select in the Z-Wave plugin setup. (as far as Ports)

                            Also what do you think of this little unit for HS3 Linux?
                            http://utilite-computer.com/web/home
                            Put the Linux Distro on and SD card and put the applications and Plugins on an external USB drive ...

                            Comment


                              #29
                              Originally posted by AlwaysHC View Post
                              HS3 for Linux can work with Raspbian?
                              The quick and easy answer is no. However, if you find, install and run a soft float debian on the pi, the answer will change...though not all plugins will work.

                              Cheers.

                              Comment


                                #30
                                What command did you use to get this log?
                                I SSH and use LSUSB to see all of the devices on the USB bus.

                                For seeing the Digi Edgeport stuff I typed DMESG

                                Have you tried connecting a Z-Troller to one of these ports? Wonder what you would select in the Z-Wave plugin setup. (as far as Ports)
                                I just select whatever from the drop down for the serial device. It either sees it right away or not at all.

                                I have only connected the Aeon stick to the Zee and the HS3 Linux box.

                                I have left the Z-Troller on the Wintel boxes via the Quatech box.

                                I did try again (twice now) to build the drivers for the Quatech box. It didn't work.

                                I opened a support ticket with Quatech as they are still selling it. So far the feedback was that they support Ubuntu to 8.X. I said that most folks are not using Ubuntu 8.X today. I asked what is it I need to request to update their Linux drivers yesterday. CS said she would send me the details in an Email. I did not get any emails yet today.

                                The computer looks nice.

                                Over the years have been playing with Arm based stuff. For the MCS sprinklers for Linux I settled on a sheevaplug (seagate dockstar). I did also test the Mimo USB monitor on the Dockstar running the Linux version of HSTouch. It did work except I had issues with the touchscreen configuration stuff. I also have a CE based arm touchscreen which works fine (sort of slow though). The HDMI port works fine with my office LCD TV with the Zee.

                                I do also have Intel and AMD based Linux 32/64 bit stuff running. More CPU and more memory stuff though with CPU fans et al. I do also today like the legacy Aopen DIgital engines with core duo's on them. They are work horses and do well with all kinds of stuff lately in Linux.

                                I did also build another sheeva plug yesterday (mostly cuz I have a box o sheeva plugs sitting around). One online today is using a CF card and USB stick. This one I used a USB to ZIF to SSD. I guess I wanted to use the little mini USB port on it and leave the regular USB ports free for other stuff. A bit overkill with a 16Gb SSD card. Works well. Easy to install debian on it. The legacy Chumby ran off a mini SD inside of the case. Never had an issue with it. I did mod it a bit such that it would run linux instead of the flash based OS on it.
                                Last edited by Pete; November 15, 2013, 01:43 PM.
                                - Pete

                                Auto mator
                                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                                Comment

                                Working...
                                X