Announcement

Collapse
No announcement yet.

HS3 Linux Installation Instructions

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

    Originally posted by smokey1384 View Post
    Trying HS3 using hs3_linux_3_0_0_297.tar on a RPi2.

    I have tried using Ubuntu-Mate 16.04 installing mono-complete as required. I was able to import all everything including events with no problem.

    Then I tried Raspian Jessie 4.4 full version also installing mono-complete but I get each of 5 event groups as error log when initializing none get loaded.

    Unable to load event group, name: Garage Lights
    Sep-22 5:24:29 PM Error DeSerializing object (byte): Could not find type 'System.Collections.SortedList+KeyList'. Source=mscorlib

    What is the difference? Why would the one and the not the other OS work? Is it the mono-version?
    yes I think it is the mono version. Jessie has mono 3.x, and I guess Ubuntu 16.04 has mono 4.x.

    Comment


      Originally posted by spud View Post
      yes I think it is the mono version. Jessie has mono 3.x, and I guess Ubuntu 16.04 has mono 4.x.
      Thanks for the reply. I thought it might have something to do with the mono version. I might go back to Ubuntu and try to get the startup script working.

      Comment


        Here made them all run Mono 4.X. Updated the slave Z-Wave/RPi2 Jessie build to Mono 4.X on the RPi2.

        I have had issues with the Z-Wave slave and Jessie. Thought initially it was too fat as it would run only days at a time. I have taken it down and decided to run Wheezy on it with Mono 4.X as it was solid running and never gave me any issues. The Z-Wave slave also functions as a 1-Wire temperature hub, X10/UPB remote (for testing purposes).

        I tried Ubuntu on the RPi2 and it was a bit slow compared to running Ubuntu on the Pine64/2Gb machine.

        The HS3 lite and HS3 Pro now are both running Ubuntu 16.04 / 64bit / Mono 4.X. (Intel iSeries, AMD dual core and Pine64 Arm).

        Thinking too if you start a new HS3 build from scratch using Mono 4.X you will not have any issues. The issues only appear to HS3 when you update a running HS3 setup to Mono to 4.X.
        - 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


          Manual installed Mono 4.x still can't import events

          I did a manual install of Mono 4.0 and didn't remove Debian v.3.28 and functionally HS3 works fine.
          Unfortunately I still am not able to import my events from my previous backups. I tried an older backup and also one I did after updating HS yesterday.

          Still getting same error.Unable to load event group, name: Garage Lights
          Sep-22 5:24:29 PM Error DeSerializing object (byte): Could not find type 'System.Collections.SortedList+KeyList'. Source=mscorlib

          Comment


            I posted this in the smartstick+ forum but I'm not getting any responses there and so I'm reposting this here to see if you guys have any insight.

            Thanks!

            Hi I recently tried to give homeseer a go. I bought a smartstick plus and I have 3 ge zwave switches in direct sight of the smartstick that are about 20 and 30ft away. I wanted to run HS3 on my ubuntu 16.4 home server. I got everything installed and running however I could not add the switches to the zwave network. They weren't being detected.

            Stumped I pulled out my win10 laptop and installed HS3 and the smartstick drivers and it works great. I literally have the laptop sitting on top of the server and I could add all of the switches from that exact location.

            I unplugged the smartstick from the laptop and plugged it back into the server and tried to import the zwave network. Only 1 of the 3 switches was being detected! The one that was being detected didnt work very well I could only turn it on and off every 5 clicks instead of instantly on one click when the stick was installed in my lap top.

            Its my understanding that the smartstick doesn't need drivers to be installed when its used with a linux box is that correct?

            I even tried multiple usb ports on the server to check if maybe one wasn't delivering enough power but they all behaved the same.

            Is there something I'm missing? Is the smartstick just not supported on linux?

            Thanks for any advice I'd like to get this to work but if not then obviously I won't be purchasing the software.

            Thanks!
            -Alex

            Comment


              Cahooa,
              Have you checked your log (View - Log) to make sure that everything is working through initial startup? I run HomeSeer version 3.0.0.258 Linux on Raspbian Jesse, I noticed that one time when I attempted to do an update to all applications on my server, to the latest version and everything related to Z-wave stopped working. I ended up finding an error in my log related to the DLL file "System.Data.DataSetExtensions.dll" (I posted on this thread regarding the problem: http://board.homeseer.com/showthread.php?t=171542). I found that i had to run the install for mono as "apt-get install mono-xsp4" instead of the complete install.

              Comment


                HS3 Linux Install on RPI 3 with Raspbian Jessie

                Originally posted by Pete View Post
                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.
                I just setup a HS3 for RPI to pull over the Linux password management application that is compiled in ARM instead of X86 to my production HS3 Linux build hosted on an RPI 3B.

                I like tooling around and playing with my build to see if I can squeeze the build as small as possible to get as much out of the RPI 3B before I have to upgrade to a bigger rig.

                On the testing HS for RPI system I installed HTOP, Mlocate, and SMB services on the HS for RPI to poked around and to do a little looking. At first the HS for RPI was running fewer active tasks and half the background tasks that my RPI with Raspbian Jessie NOOBS build did.

                I am considering attempting to perform restore testing of my system on dissimilar systems to see how effective the recovery operations are for HS3.

                do you happen to know if these are the minimal requirements if I were considering rebuilding my HS3 server on a Raspbian Jessie Lite platform?

                Comment


                  startup at boot

                  I'm a newbie in both Linux and homeseer, but I did a restore of the Zee S2 which was semi successful. The problem now is that I have to start the HS sw manually. How do I get it to start on boot? I tried some of the scripts and tips in this thread, but can't get it to work. Please help :-)

                  Comment


                    Originally posted by JTB View Post
                    I'm a newbie in both Linux and homeseer, but I did a restore of the Zee S2 which was semi successful. The problem now is that I have to start the HS sw manually. How do I get it to start on boot? I tried some of the scripts and tips in this thread, but can't get it to work. Please help :-)


                    You installed the Homeseer for RPI and it isn't auto starting? If so that startup script should have been auto installed on the original image. Have you tried re-installing the Homeseer for RPI image?


                    Sent from my iPhone using Tapatalk

                    Comment


                      Originally posted by Kerat View Post
                      Cahooa,
                      Have you checked your log (View - Log) to make sure that everything is working through initial startup? I run HomeSeer version 3.0.0.258 Linux on Raspbian Jesse, I noticed that one time when I attempted to do an update to all applications on my server, to the latest version and everything related to Z-wave stopped working. I ended up finding an error in my log related to the DLL file "System.Data.DataSetExtensions.dll" (I posted on this thread regarding the problem: http://board.homeseer.com/showthread.php?t=171542). I found that i had to run the install for mono as "apt-get install mono-xsp4" instead of the complete install.
                      Well I just got back to looking into this and now it wants me to register so I can't use the software anymore. Hopefully I can get a trial license.

                      So I did originally have an error about a missing file and I read some posts on here and installed a package and I have no errors on start up. When I execute the ./go script I get:

                      root@sklobenode:~/HomeSeer# ./go
                      HomeSeer Linux starting...
                      06:51:16:2202:[Database]->Opening (Mode=Read Only) up HomeSeer LOG database /root/HomeSeer/Logs/HomeSeerLog.hsd
                      06:51:16:2736:[Startup]->Loading Settings
                      06:51:16:3129:[Startup]->Settings Loaded.
                      06:51:16:5157:[Startup]->
                      06:51:16:5160:[Startup]->*********************************************************** *********************
                      06:51:16:5164:[Startup]-> HomeSeer version 3.0.0.297 Edition: HS3 Pro Starting Now
                      06:51:16:5166:[Startup]->*********************************************************** *********************
                      06:51:16:5167:[Startup]->
                      06:51:16:5287:[Startup]->Creating Class Objects...
                      06:51:16:5302:[Startup]->COM port classes started.
                      06:51:16:5314:[Startup]->Application interface class started.
                      06:51:16:5436:[Startup]->Web server class started.
                      06:51:16:5444:[Startup]->E-Mail SEND class started.
                      06:51:16:5449:[Startup]->E-Mail RECEIVE class started.
                      06:51:16:5466:[Startup]->Plug-In Interface class started.
                      06:51:16:5483:[Startup]->Local voice recognition class started.
                      06:51:16:5499:[Startup]->Database SAVE process started.
                      06:51:16:5502:[Startup]->Loading configuration file ...
                      06:51:16:5576:[Database]->Opening (Mode=Read Only) up HomeSeer database /root/HomeSeer/Data/HomeSeerData.hsd
                      06:51:16:5845:[Database]->Loading Devices...
                      06:51:16:5856:[Load Config]->5 total devices loaded.
                      06:51:16:5876:[Load Config]->Loading Event Groups...
                      06:51:16:5907:[Load Config]->Loading Events...
                      06:51:16:5922:[Load Config]->0 total events loaded.
                      06:51:16:5924:[Load Config]->Loading COUNTERS...
                      06:51:16:5949:[Load Config]->Loading TIMERS...
                      06:51:16:6020:[Startup]->HomeSeer version is: 3.0.0.297
                      06:51:16:6024:[Startup]->Creating Speaker Client Interface Object...
                      06:51:16:6036:[Warning]->This version of HomeSeer is not registered and is currently disabled
                      06:51:16:6177:[Info]->Remote plug-in API interface started on port 10400
                      06:51:16:6180:[Startup]->Checking for available plug-ins
                      06:51:16:8882:[Plug-In]->Found plug-in: HSTouch Server, version: 3.0.0.68
                      06:51:17:1230:[Plug-In]->Found plug-in: Z-Wave, version: 3.0.1.87
                      06:51:17:1239:[Startup]->Initializing Plug-Ins
                      Connecting to server at 127.0.0.1...
                      06:51:17:4581:[Info]->Plugin Z-Wave has connected. IP:127.0.0.1:39648
                      Connected, waiting to be initialized...
                      06:51:17:5671:[Z-Wave]->InitIO called, plug-in version 3.0.1.87 is being initialized...
                      06:51:17:7142:[Z-Wave]->Database: Opening (Mode=Read Only) up HomeSeer database /root/HomeSeer/Data/Z-Wave/Z-Wave2.db
                      06:51:17:7947:[Z-Wave]->Loading Z-Wave Network Objects...
                      06:51:17:8047:[Z-Wave]->1 total Z-Wave Network Objects loaded.
                      06:51:17:8284:[Z-Wave]->Loading Z-Wave Data Objects...
                      06:51:17:8298:[Z-Wave]->1 Networks were restored from the data in the database... Building data connections.
                      06:51:17:8309:[Z-Wave]->Network F6B7DFF2 has 5 device data elements.
                      06:51:17:8349:[Z-Wave]->5 total Z-Wave Data Objects loaded.
                      06:51:18:0208:[Z-Wave]->0 event triggers were loaded from HomeSeer.
                      06:51:18:0214:[Z-Wave]->0 event actions were loaded from HomeSeer.
                      06:51:18:0260:[Z-Wave]->465 Simple AV Control Command Class Control Commands have been loaded successfully.
                      06:51:18:0361:[Plug-In]->Finished initializing plug-in Z-Wave
                      06:51:18:0374:[Z-Wave]->sklobe-zwave: ============================================================ ==========
                      06:51:18:0437:[Z-Wave]->sklobe-zwave: ----------------------------------------------------------------------
                      06:51:18:0455:[Z-Wave]->Initializing Z-Wave interface sklobe-zwave (HomeSeer SmartStick +) on /dev/ttyACM0
                      06:51:18:0464:[Z-Wave]->sklobe-zwave: ----------------------------------------------------------------------
                      06:51:18:0501:[Z-Wave]->sklobe-zwave: The Z-Wave Command Execution Thread was Started or Restarted.
                      Plugin: HSTouch Server Instance: starting...
                      Connecting to server at 127.0.0.1...
                      06:51:18:0734:[Z-Wave]->sklobe-zwave: The Z-Wave API Execution Thread was Started or Restarted.
                      06:51:18:0781:[Z-Wave]->sklobe-zwave: Getting node information from controller...
                      06:51:18:2072:[Info]->Plugin HSTouch Server has connected. IP:127.0.0.1:39652
                      Connected, waiting to be initialized...
                      06:51:18:4408:[Plug-In]->Finished initializing plug-in HSTouch Server
                      06:51:18:4486:[Web Server]->Local IP address is: 192.168.0.2
                      06:51:18:4514:[Web Server]->Web Server started on port 80
                      06:51:18:4520:[Web Server]->UPNP Discovery started
                      06:51:18:4683:[Startup]->Start automation engine...
                      06:51:18:4703:[Startup]->Initializing Speaker Client Interface
                      06:51:18:4734:[Speech]->Listening for remote speaker connections on port 10401
                      06:51:18:4782:[Database]->Opening (Mode=Read/Write) up HomeSeer Energy database /root/HomeSeer/Data/Energy/Energy.hsd
                      06:51:18:4948:[Startup]->Updater services starting...
                      06:51:18:4960:[Startup]->Starting DDNS service...
                      06:51:18:4994:[Startup]->Starting Event Scheduler...
                      06:51:18:5010:[Startup]->HSSentry is disabled in Setup, sentry will not be started.
                      06:51:18:5022:[Startup]->Start up complete.
                      Type 'shutdown' to shutdown HomeSeer

                      > 06:51:18:5084:[HSTouch Server]->Server started on port 10200
                      06:51:18:5931:[Info]->System connected to MyHomeSeer Service, waiting for acknowledge...
                      06:51:18:6783:[Info]->System connected to MyHomeSeer Service successfully.
                      06:51:20:2210:[Z-Wave]->sklobe-zwave: Controller firmware version: 4.32
                      06:51:20:2770:[Z-Wave]->sklobe-zwave: Z-Wave services for the SECURITY COMMAND CLASS were successfully started.
                      06:51:20:2782:[Z-Wave]->sklobe-zwave: Z-Wave Serial API version: 5
                      06:51:20:2796:[Z-Wave]->sklobe-zwave: Z-Wave interface node ID: 1, Home ID: F6B7DFF2
                      06:51:20:2821:[Z-Wave]->sklobe-zwave: Found 4 Z-Wave nodes in interface node ID 1 (sklobe-zwave)
                      06:51:20:2957:[Z-Wave]->sklobe-zwave: Z-Wave PC Controller Library Version: Z-Wave 4.05 (ZDK 6.51.6)
                      06:51:20:2971:[Z-Wave]->sklobe-zwave: Z-Wave PC Controller is Type: Static Controller
                      06:51:20:3210:[Z-Wave]->The interface's security support has been set.
                      06:51:20:3338:[Z-Wave]->sklobe-zwave Controller chip type is ZW050x.
                      06:51:20:3349:[Z-Wave]->sklobe-zwave Controller is static lib.
                      06:51:20:3364:[Z-Wave]->sklobe-zwave There is a SUC/SIS in the network.
                      06:51:20:3376:[Z-Wave]->sklobe-zwave is the SIS for the network.
                      06:51:20:3407:[Z-Wave]->sklobe-zwave: ............................................................ ..........
                      06:51:20:3418:[Z-Wave]->sklobe-zwave: .............................. FINISHED ..............................
                      06:51:20:3430:[Z-Wave]->sklobe-zwave: ............................................................ ..........
                      06:51:21:3957:[Z-Wave]->*********************************************************** ********************
                      06:51:21:3971:[Z-Wave]-> STARTUP COMPLETE: All configured interfaces were successfully initialized.
                      06:51:21:3984:[Z-Wave]->*********************************************************** ********************
                      06:51:48:0621:[Z-Wave]->Starting Z-Wave Polling for Network F6B7DFF2...
                      updating devices
                      updating devices
                      updating devices


                      I don't see any errors. Thanks for taking a look.

                      Comment


                        looks perfect to me.

                        Comment


                          Anyone got good mono install instructions for a pi3 running Jessie lite?

                          I have been battling vbnc errors, and no scripts will run. After trying to fix it with things like install mono-complete and manually installing packages I still end up with a missing "System.Dat a.DataSetExtensions.dll" file.

                          I have now formatted the sd card and started over and same problem.

                          I just formatted the SD card, installed Jessy lite from here:
                          https://www.raspberrypi.org/downloads/raspbian/

                          Then installed mono from here:
                          http://www.mono-project.com/docs/get...install/linux/

                          Installed a few more packages from the linux instructions here:
                          http://board.homeseer.com/showthread.php?t=162813

                          Installed HS3 from here:
                          http://www.homeseer.com/current-downloads.html
                          according to the instructions from above.

                          Then I ran a restore and tested a event and same problem and error.
                          Code:
                          Oct-26 03:05:34	 	Error	Compiling script /tmp/K1.vb: Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.0.1 - tarball) Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved. vbnc : Command line : error VBNC2017: The library 'System.Dat a.DataSetExtensions.dll' could not be found. There were 1 errors and 0 warnings. Compilation took 00:00:00.6612960

                          Comment


                            Guessing you already installed:

                            mono-complete

                            and (it may have been already installed per your above post)

                            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

                            and try adding

                            mono-xsp4

                            Tonight just went to look at my fat Jessie (thinned out) on my RPi2 Z-Wave slave machine and I cannot access Webmin 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


                              Originally posted by Pete View Post
                              Guessing you already installed:

                              mono-complete

                              and (it may have been already installed per your above post)

                              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

                              and try adding

                              mono-xsp4

                              Tonight just went to look at my fat Jessie (thinned out) on my RPi2 Z-Wave slave machine and I cannot access Webmin right now.
                              Yup done those, and on my 3rd fresh install now trying different things.

                              Comment


                                Well I have succeeded in getting it all working without running a restore so far. Now I'm hoping its not the restore when it breaks.

                                Comment

                                Working...
                                X