Announcement

Collapse
No announcement yet.

HS3 on Ubuntu 16.04 64 bit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I will look and see what version of mono it is on Yak. I do have the wave.me card and thtat the one i want to have be remote but it was not cooperating very well. I tried what you mention to me in an earlier post but keep shutting down the plugin on the main box. I will keep trying not sure how to do the syn link stuff but will look it up. I was installing homeseer to set up the zwave card/device is that neccessary or should i just drop the zwave plugin and the config in the remote system?

    Comment


      #17
      I tried what you mention to me in an earlier post but keep shutting down the plugin on the main box.

      You have to have the main box Z-Wave plugin disabled, I have the same version of the plugin on the old RPi2 / HS3 Lite box and using the same serial port as configured on the HS3 lite box. I also am running same Mono version. (makes a difference).

      Test it manually. Open up an SSH session on the slave Z-Wave RPi2.

      Another thing I do here is run NTP and DNS internal to the network and PFSense takes care of the rest.
      NTP=PPS/GPS and DNS is multiple servers proxied over to PFSense.

      Mono zwave.exe server=ip of the mothership. Leave the terminal session open and watch it as if there is an issue you will see it right away, Later once you see it working then just run a one liner script event in HS3 to start the Z-Wave plugin on the remote device.
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

      HS4 Pro - 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


        #18
        ok tried with the plugin disabled and got a little closer but this whjat happend..

        08:04:38:0044:[Startup]->Loading Settings
        08:04:38:0241:[Startup]->Settings Loaded.
        08:04:38:1277:[Startup]->
        08:04:38:1278:[Startup]->*********************************************************** *********************
        08:04:38:1281:[Startup]-> HomeSeer version 3.0.0.293 Edition: HS3 Standard (SEL) Starting Now
        08:04:38:1282:[Startup]->*********************************************************** *********************
        08:04:38:1283:[Startup]->
        08:04:38:1315:[Startup]->Creating Class Objects...
        08:04:38:1323:[Startup]->COM port classes started.
        08:04:38:1328:[Startup]->Application interface class started.
        08:04:38:1380:[Startup]->Web server class started.
        08:04:38:1384:[Startup]->E-Mail SEND class started.
        08:04:38:1385:[Startup]->E-Mail RECEIVE class started.
        08:04:38:1395:[Startup]->Plug-In Interface class started.
        08:04:38:1399:[Startup]->Local voice recognition class started.
        08:04:38:1406:[Startup]->Database SAVE process started.
        08:04:38:1407:[Startup]->Loading configuration file ...
        08:04:38:1441:[Database]->Opening (Mode=Read Only) up HomeSeer database /home/csellebrecht/HomeSeer/Data/HomeSeerData.hsd
        08:04:38:2037:[Database]->Loading Devices...
        08:04:38:2048:[Load Config]->70 total devices loaded.
        08:04:38:2060:[Load Config]->Loading Event Groups...
        08:04:38:2093:[Load Config]->Loading Events...
        08:04:38:2148:[Load Config]->1 total events loaded.
        08:04:38:2148:[Load Config]->Loading COUNTERS...
        08:04:38:2163:[Load Config]->Loading TIMERS...
        08:04:38:2197:[Startup]->HomeSeer version is: 3.0.0.293
        08:04:38:2199:[Startup]->Creating Speaker Client Interface Object...
        08:04:38:2206:[Startup]->This version of HomeSeer is registered as a HS3STANDARD version.
        08:04:38:2283:[Info]->Remote plug-in API interface started on port 10400
        08:04:38:2284:[Startup]->Checking for available plug-ins
        08:04:38:3744:[Plug-In]->Found plug-in: HSTouch Server, version: 3.0.0.68
        08:04:38:4942:[Plug-In]->Found plug-in: ImperiHome, version: 3.0.0.11
        08:04:38:6143:[Plug-In]->Found plug-in: MyQ, version: 1.0.16239.294
        08:04:38:7352:[Plug-In]->Found plug-in: NetCAM, version: 3.0.0.11
        08:04:38:8546:[Plug-In]->Found plug-in: Pushalot, version: 3.0.0.5
        08:04:38:9746:[Plug-In]->Found plug-in: RFXCOM, version: 30.0.0.32
        08:04:39:0951:[Plug-In]->Found plug-in: Z-Wave, version: 3.0.1.87
        08:04:39:0957:[Startup]->Initializing Plug-Ins
        Plugin: HSTouch Server Instance: starting...
        Connecting to server at 127.0.0.1...
        08:04:39:2003:[Info]->Plugin HSTouch Server has connected. IP:127.0.0.1:59336
        Connected, waiting to be initialized...
        08:04:39:4012:[Plug-In]->Finished initializing plug-in HSTouch Server
        Connecting to server at 127.0.0.1...
        08:04:39:5149:[Info]->Plugin NetCAM has connected. IP:127.0.0.1:59340
        Connected, waiting to be initialized...
        08:04:39:7031:[Plug-In]->Finished initializing plug-in NetCAM
        08:04:39:7035:[Plug-In]->Interface ImperiHome is running as a trial, 27 days remaining.
        Plugin: ImperiHome Instance: starting...
        Connecting to server at 127.0.0.1...
        Connection attempt #1
        08:04:39:7967:[Info]->Plugin ImperiHome has connected. IP:127.0.0.1:59348
        Connected (HomeSeer API 3). Waiting to be initialized...
        Aug-27 08:04:39 INFO ImperiHome version 3.0.0.11
        08:04:39:9004:[ImperiHome]->INFO ImperiHome version 3.0.0.11
        08:04:40:1057:[Plug-In]->Finished initializing plug-in ImperiHome
        Plugin: MyQ Instance: starting...
        Connecting to server at 127.0.0.1...
        Host API Version: 3
        08:04:40:3009:[Info]->Plugin MyQ has connected. IP:127.0.0.1:59354
        Connected, waiting to be initialized...
        Starting version 1.0.16239.294
        08:04:40:4023:[MyQ]->Starting version 1.0.16239.294
        InitIO called, plug-in is being initialized...
        08:04:40:4233:[MyQ]->InitIO called, plug-in is being initialized...
        Login successful
        08:04:42:6073:[MyQ]->Login successful
        08:04:42:6578:[Plug-In]->Finished initializing plug-in MyQ
        Connecting to server at 127.0.0.1...
        08:04:42:7526:[Info]->Plugin Pushalot has connected. IP:127.0.0.1:59368
        Connected, waiting to be initialized...
        Initializing plugin Pushalot version 3.0.0.5
        08:04:42:8701:[Pushalot]->Initializing plugin Pushalot version 3.0.0.5
        08:04:46:4636:[Plug-In]->Finished initializing plug-in Pushalot
        08:04:46:4683:[Web Server]->Local IP address is: 10.0.0.60
        08:04:46:4695:[Web Server]->Web Server started on port 8088
        08:04:46:4705:[Web Server]->UPNP Discovery started
        08:04:46:4827:[Startup]->Start automation engine...
        08:04:46:4835:[Startup]->Initializing Speaker Client Interface
        08:04:46:4851:[Speech]->Listening for remote speaker connections on port 10401
        08:04:46:4880:[Database]->Opening (Mode=Read/Write) up HomeSeer Energy database /home/csellebrecht/HomeSeer/Data/Energy/Energy.hsd
        08:04:46:5966:[Startup]->Updater services starting...
        08:04:46:5972:[Startup]->Starting DDNS service...
        08:04:46:5985:[Startup]->Running the startup script Startup.vb
        08:04:46:6047:[HSTouch Server]->Server started on port 10200
        08:04:47:0899:[Startup]->Starting Event Scheduler...
        08:04:47:0935:[Startup]->HSSentry is disabled in Setup, sentry will not be started.
        08:04:47:0943:[Startup]->Scripting is OK and is now running Startup.vb
        08:04:47:0950:[Info]->Checking for updates...
        update_control_file:/updates3/hs3linuxhs3.txt
        08:04:47:0959:[Info]->ASCII listener started on port 11000
        08:04:47:0985:[TTS]->Speak ():Welcome to Home-Seer
        /home/csellebrecht/HomeSeer/./speak.sh: 3: /home/csellebrecht/HomeSeer/./speak.sh: pico2wave: not found
        Playing WAVE 'temp.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
        08:04:47:1762:[Info]->System connected to MyHomeSeer Service, waiting for acknowledge...
        08:04:47:2064:[Info]->System connected to MyHomeSeer Service successfully.
        08:04:47:2764:[Info]->Latest update available is: 3.0.0.293
        08:04:47:2767:[Info]->Latest BETA update available is:
        08:04:47:2767:[Startup]->Start up complete.
        Type 'shutdown' to shutdown HomeSeer

        > 08:04:47:7022:[Web Server]->Web Server authorized local login successful from: 10.0.0.60 User: csellebrecht
        08:04:48:6684:[TTS]->Speak ():Web server port number is 8088
        /home/csellebrecht/HomeSeer/./speak.sh: 3: /home/csellebrecht/HomeSeer/./speak.sh: pico2wave: not found
        Playing WAVE 'temp.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
        updating devices
        08:05:09:3290:[HSTouch Server Debug]->08:05:09:3284 ~ Updating device enumerator due to a device change.

        updating devices
        08:05:39:3536:[HSTouch Server Debug]->08:05:39:3532 ~ Updating device enumerator due to a device change.

        updating devices
        08:06:09:3816:[HSTouch Server Debug]->08:06:09:3813 ~ Updating device enumerator due to a device change.

        08:06:25:4026:[Info]->Plugin Z-Wave has connected. IP:10.0.0.49:58776
        08:06:25:5520:[Z-Wave]->InitIO called, plug-in version 3.0.1.87 is being initialized...
        08:06:27:0877:[Z-Wave]->Database: Opening (Mode=Read Only) up HomeSeer database /home/homeseer/HomeSeer/Data/Z-Wave/Z-Wave2.db
        08:06:29:2785:[Z-Wave]->Loading Z-Wave Network Objects...
        08:06:29:4718:[Z-Wave]->1 total Z-Wave Network Objects loaded.
        08:06:30:0020:[Z-Wave]->Loading Z-Wave Data Objects...
        08:06:30:0120:[Z-Wave]->1 Networks were restored from the data in the database... Building data connections.
        08:06:30:0178:[Z-Wave]->Network C5AD19B4 has 14 device data elements.
        08:06:30:1867:[Z-Wave]->14 total Z-Wave Data Objects loaded.
        08:06:30:6981:[Z-Wave Error]->SQL Exception updating Z-Wave data record in the database: attempt to write a readonly database
        attempt to write a readonly database, Code=8, Link=
        08:06:30:7118:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
        08:06:30:7192:[Z-Wave Warning]->There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
        08:06:31:8933:[Z-Wave Error]->SQL Exception updating Z-Wave data record in the database: attempt to write a readonly database
        attempt to write a readonly database, Code=8, Link=
        08:06:31:8999:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
        08:06:31:9073:[Z-Wave Warning]->There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
        08:06:31:9557:[Z-Wave Error]->SQL Exception updating Z-Wave data record in the database: attempt to write a readonly database
        attempt to write a readonly database, Code=8, Link=
        08:06:31:9625:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
        08:06:31:9682:[Z-Wave Warning]->There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
        08:06:32:0184:[Z-Wave Error]->SQL Exception updating Z-Wave data record in the database: attempt to write a readonly database
        attempt to write a readonly database, Code=8, Link=
        08:06:32:0316:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
        08:06:32:0375:[Z-Wave Warning]->There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
        08:06:32:0990:[Error]->Initializing plug-in(1): Z-Wave Instance::General error setting up environment in InitIO: Access to the path "/home/homeseer/HomeSeer/Data/Z-Wave/Backup/Z-Wave2_5.db" is denied. at System.IO.File.Delete (System.String path) [0x00000] in <filename unknown>:0
        at HSPI_ZWave.Database_Utils.LoadConfig (System.String filename) [0x00000] in <filename unknown>:0
        at HSPI_ZWave.HSPI.InitIO (System.String port) [0x00000] in <filename unknown>:0
        updating devices
        08:06:39:4091:[HSTouch Server Debug]->08:06:39:4087 ~ Updating device enumerator due to a device change.

        08:06:56:0154:[Warning]->File does not exist: /home/csellebrecht/HomeSeer/html/images/HomeSeer/status/custom.gif
        updating devices
        08:07:09:4342:[HSTouch Server Debug]->08:07:09:4337 ~ Updating device enumerator due to a device change.

        updating devices
        08:07:39:4637:[HSTouch Server Debug]->08:07:39:4633 ~ Updating device enumerator due to a device change.

        Comment


          #19
          Yeah your starting remote of Z-Wave looks to be way different than mine here.

          Do you have matching mono versions? Is the SEL running in Linux?

          How come you have your Homeseer directory in home?

          "/home/homeseer/HomeSeer/Data/Z-Wave/Backup/Z-Wave2_5.db"

          I keep my HomeSeer in the root drive of the Linux box. IE: /HomeSeer. Default HomeSeer on Linux is: /usr/local/HomeSeer.

          For my remote old RPi2 to the new HS3 box I kept the old Homeseer directory in the root and run remote out that directory.

          Windows and Linux do not mix for remoting Z-Wave. If doing this remotely on Linux than the mothership has to be Linux too.

          The DB stuff looks wrong.

          Here is what mine looks like. Note here that the serial port appears to be local where as in fact it is the same but remote.

          Code:
          Aug-27 11:30:19 AM 	  	Z-Wave 	ZWaveMe: ======================================================================
          Aug-27 11:30:19 AM 	  	Z-Wave 	ZWaveMe: ----------------------------------------------------------------------
          Aug-27 11:30:19 AM 	  	Z-Wave 	Initializing Z-Wave interface ZWaveMe (Internal) on /dev/ttyAMA0
          Aug-27 11:30:19 AM 	  	Z-Wave 	ZWaveMe: ----------------------------------------------------------------------
          Aug-27 11:30:19 AM 	  	Z-Wave 	ZWaveMe: The Z-Wave Command Execution Thread was Started or Restarted.
          Aug-27 11:30:19 AM 	  	Z-Wave 	Starting 'Z-Wave Health' Process Starter for (ZWaveMe CXYZ)...
          Aug-27 11:30:19 AM 	  	Z-Wave 	ZWaveMe: The Z-Wave API Execution Thread was Started or Restarted.
          Aug-27 11:30:19 AM 	  	Z-Wave 	ZWaveMe: Getting node information from controller...
          Aug-27 11:30:21 AM 	  	Z-Wave 	ZWaveMe: Controller Manufacturer: Telsey, ID=0x1, Type=0x4
          Aug-27 11:30:21 AM 	  	Z-Wave 	ZWaveMe: Controller firmware version: 5.0
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: Z-Wave services for the SECURITY COMMAND CLASS were successfully started.
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: Z-Wave Serial API version: 5
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: Z-Wave interface node ID: 1, Home ID: CXYZ
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: Found XX Z-Wave nodes in interface node ID 1 (ZWaveMe)
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: Z-Wave PC Controller Library Version: Z-Wave 3.99 (ZDK 6.51.3)
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: Z-Wave PC Controller is Type: Static Controller
          Aug-27 11:30:22 AM 	  	Z-Wave 	The interface's security support has been set.
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe Controller chip type is ZW050x.
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe Controller is static lib.
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe There is a SUC/SIS in the network.
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe is the SIS for the network.
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: ......................................................................
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: .............................. FINISHED ..............................
          Aug-27 11:30:22 AM 	  	Z-Wave 	ZWaveMe: ......................................................................
          Aug-27 11:30:24 AM 	  	Z-Wave 	*******************************************************************************
          Aug-27 11:30:24 AM 	  	Z-Wave 	STARTUP COMPLETE: All configured interfaces were successfully initialized.
          Aug-27 11:30:24 AM 	  	Z-Wave 	*******************************************************************************
          Aug-27 11:30:49 AM 	  	Z-Wave 	Starting Z-Wave Polling for Network CXYZ...
          Attached Files
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

          HS4 Pro - 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
            Not sure when I started this I have never messed with Linux at all so it has been a complete learning experience for me but enjoyable one.

            I just installed it where it wanted to extract but I can move it. What version of hs3 are you running and I will check the version's of mono.


            I can do a reinstall of hs3 not a problem, I just would like to get it working l, since my house is larger would benefit from have remotes on each floor

            I really appreciate your help!

            Comment


              #21
              Understood. Baby steps.

              Here running with

              HS3 ZEE S2 Edition 3.0.0.291 (Linux)
              Z-Wave 3.0.1.80
              Rpi Jessie on slave and Ubuntu 16.04 64 bit on Zee mothership
              Mono JIT compiler version 4.4.2

              You can just copy the HomeSeer directory from the mothership over to the slave Z-wave device. No installation or untar / extract necessary.

              Just shut down Homeseer before copying it. You can utilize WinSCP to copy it.

              Extracting the tar file will put it locally (wherever you are).

              Here I like to keep HomeSeer in the root drive.

              The default Zee install is /usrs/local/HomeSeer.

              Here in a two story brick home at over 3k sf. All electrical is in conduit. Put the slave RPi2 / Jessie / ZWave GPIO and PiFace RTC / POE in the attic. The OmniPro 2 VRC0P is in the basement.

              Also running Zigbee, UPB and X10 here.
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

              HS4 Pro - 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
                mono installed on main that is running Yakaty Yak (ubuntu 16.10) is
                Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
                Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

                remote sdystem is:


                csellebrecht@ZeroZee:~ $ mono --version
                Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
                Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
                TLS: __thread
                SIGSEGV: normal
                Notifications: epoll
                Architecture: armel,vfp+hard
                Disabled: none
                Misc: softdebug
                LLVM: supported, not enabled.
                GC: sgen

                maybe that is part of the problem different versions of mono?

                Comment


                  #23
                  Mono JIT compiler version 3.2.8 and Mono JIT compiler version 4.2.1 do not mix.

                  I had Mono 3.12 and 4.4.2 and the Z-Wave plugin wouldn't start.

                  You have to go slow and make sure that all of the Mono 3.2.8 are gone.

                  Googling found:

                  apt-get remove mono-runtime
                  apt-get remove mono-complete
                  apt-get purge mono*
                  sudo apt-get purge libmono* libgdiplus cli-common libglitz-glx1 libglitz1
                  sudo rm -rf usr/lib/mono /usr/local/bin/mono /usr/local/etc/mono /usr/local/lib/mono
                  sudo apt remove --purge --auto-remove mono-runtime
                  sudo apt-get purge libmono* cli-common mono-runtime
                  sudo apt-get autoremove



                  Whatever you do check to make sure it is not there doing a

                  mono -V

                  Then

                  Look here Install Mono on Linux

                  You probably want to make them both the same too.

                  So you should remove 4.2.1 and update it to 4.4.2
                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                  HS4 Pro - 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


                    #24
                    ok going to move HS3 to the root drive and i will unistall mono and reisntall the newest. The read only on the database worries me that it not gong to work until i can get the DB open for R/W acess. I questioned that from day one.

                    Yeah my house is about 4800 sq ft so it a challenge to keep things connected. I have lots of zigbee bulbs al over the house as well as zigbee leak sensors. what do you use for Zigbee?

                    I do have a legrand Q system but dont even use it too bad i couldnt incorporate it into HS

                    Well time fo me to go caght some bad guys off to work.

                    Comment


                      #25
                      I am getting closer now getting this probably due to the lock on db
                      03:40:49:6017:[Z-Wave Error]->SQL Exception adding Z-Wave data record to the database: attempt to write a readonly database
                      attempt to write a readonly database, Code=8, Link=
                      03:40:49:6402:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
                      03:40:49:6802:[Z-Wave Warning]->There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
                      03:40:49:7202:[Z-Wave Error]->SQL Exception adding Z-Wave data record to the database: attempt to write a readonly database
                      attempt to write a readonly database, Code=8, Link=
                      03:40:49:7603:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
                      03:40:49:8002:[Z-Wave Warning]->There were errors generated during the save of the database item. Please consult this log for more details and report any data loss to HomeSeer Technologies.
                      03:40:49:8403:[Z-Wave Error]->SQL Exception adding Z-Wave data record to the database: attempt to write a readonly database
                      attempt to write a readonly database, Code=8, Link=
                      03:40:49:8802:[Z-Wave Error]->ERROR, Exception in SaveZWData: Object reference not set to an instance of an object
                      root@Alienware-X51:/HomeSeer#

                      Comment


                        #26
                        Understood.

                        I just put Homeseer in the root drive so as not to have to type as much when I SSH'd to the HS computer.

                        That said also my homeseer configured users all have access to same said directory.

                        Relating to Zigbee only testing with 3-4 combo ZWave / Zigbee Securifi controllers with touch screens and the HAI ZIM Zigbee controller on the OmniPro 2 panel.

                        The house light switches today are all UPB which works great for me and primarily is managed by the OmniPro 2 and secondarily managed by Homeseer.
                        - Pete

                        Auto mator
                        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                        HS4 Pro - 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
                          Trouble installing HS3 in Ubunto

                          Pete,

                          Can you help an absolute newb to Linux. I installed Ubunto on a VM on my Synology DS718+ using Synology VMM. The installation went without a hitch and I installed mono complete. I have the HS3 file extracted and in the /home/user/HomeSeer folder.

                          At this point I have tried following all the guides to install the .tar file without success.

                          Can you give me step by step help please.

                          I can design ovenized crystal oscillators that can hold frequency to one part per billion over time and temp but Linux has me baffled. It seems to get harder to learn new things after one turns 70. The last command line stuff I did was using CPM in the 80's.

                          Jim

                          Comment


                            #28
                            SSH to your new Homeseer VMM.

                            Currently utilizing Mono 5.X for my Ubuntu 16.04 64 bit Homeseer boxes.

                            ICS-HS3Pro:/HomeSeer# mono -V
                            Mono JIT compiler version 5.4.1.6 (tarball Wed Nov 8 20:37:08 UTC 2017)
                            Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
                            TLS: __thread
                            SIGSEGV: altstack
                            Notifications: epoll
                            Architecture: amd64
                            Disabled: none
                            Misc: softdebug
                            LLVM: supported, not enabled.
                            GC: sgen (concurrent by default)


                            The Zee2 and S2 default for HomeSeer is /user/local/HomeSeer.

                            I have mine in the root and other users that I have seen use /opt/HomeSeer

                            Create a couple of sudo users IE: homeseer and jim

                            sudo adduser homeseer

                            sudo usermod -aG sudo homeseer

                            Give rights to the HomeSeer directory to homeseer and jim or give everybody rights to the Homeseer directory.

                            sudo chmod -R 777 /usr/local/HomeSeer

                            To update Homeseer 3 just go in the subdirectory and run ./updatehs version number

                            IE: ./updatehs 368

                            Is the current release.

                            Match the passwords for your users in the HS3 GUI.

                            Here getting close to your age Jim this days...

                            Always tinkered here (for business and fun) with computers ....CPM - ML... in the early 80's bean counting ....no real computers (just terminals) existed when I went to school...played Star Trek though on the main frame via a teletype machine in a water closet while doing physics...

                            The updatehs files reads as so...you can do each line manually if you want...

                            root@ICS-HS3Pro:/HomeSeer# cat updatehs.sh
                            sudo rm hs3_linux_3_0_0_$1.tar.gz
                            sudo wget https://homeseer.com/updates3/hs3_linux_3_0_0_$1.tar.gz
                            sudo tar xavf hs3_linux_3_0_0_$1.tar.gz
                            sudo chmod +x install.sh
                            sudo ./install.sh

                            IE:

                            1 - to download current version of HS3 type

                            sudo wget hxxps://homeseer.com/updates3/hs3_linux_3_0_0_368.tar.gz*

                            * xx=tt

                            2 - to untar file to a HomeSeer directory type

                            sudo tar xavf hs3_linux_3_0_0_368.tar.gz

                            I use root to ssh. To use root you have to make a couple changes to one file /etc/ssh/sshd_config

                            nano sshd_config and add this stuff.

                            1 - comment out the following line: PermitRootLogin without-password
                            2 - Just below it, add the following line: PermitRootLogin yes
                            3 - Change PermitRootLogin to PermitRootLogin yes
                            4 - sudo service ssh restart



                            I can get a bit more granular if you want.
                            Last edited by Pete; December 4, 2017, 10:49 PM.
                            - Pete

                            Auto mator
                            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                            HS4 Pro - 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


                              #29
                              HS3 on Ubuntu synology VM

                              Pete,

                              Thanks very much for the detailed help. I have to travel a bit and may not get this done until close to the holidays. If I run into any issues I will give you a shout. I did load the wrong version of Ubunto, so I will start over. The new Syno box is nice as it will allow me to have only one box running. I'm thinking all my plug in licenses should just move over to my VM.

                              Jim

                              Comment


                                #30
                                Good news Jim.

                                HomeSeer will run on any version of Linux with Mono.

                                Here Homeseer seems to run faster for me on 64 bit Linux and 64 bit Mono than 32 bit stuff.

                                There are a few users running HomeSeer today on Ubuntu 16.10 and 17.XX.

                                I'm thinking all my plug in licenses should just move over to my VM.

                                Yes is you copy over your old HomeSeer directory to your new synology VM all of the license will be there. If you build new then you will need to register HS3 and plugins.

                                Curious which version of HomeSeer you are running?

                                HomeSeer Zee2, Standard or Pro?

                                All of the above run in Linux just fine.

                                A bit cold and windy and crispy this morning near Chicago. Last night while warmer it was interesting to hear thunder and see lightning. It's been a while since I have seen that in the Chicagoland area.

                                Safe travels to you Jim.
                                - Pete

                                Auto mator
                                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb

                                HS4 Pro - 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