Announcement

Collapse
No announcement yet.

Should HS3 be running in Read only mode on RPI running Raspian?

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

    Should HS3 be running in Read only mode on RPI running Raspian?

    I noticed that my HS3 is opening and running in Read only modem, is this normal?

    If not normal, how do I get it too run in read/write mode>

    Please any help would be geatly appreciated!

    #2
    Where have you installed it?
    Location on the pi?


    Sent from my iPhone using Tapatalk

    Comment


      #3
      Originally posted by csellebrecht View Post
      I noticed that my HS3 is opening and running in Read only modem, is this normal?

      If not normal, how do I get it too run in read/write mode>

      Please any help would be geatly appreciated!
      Are you basing this on what you see in the logs when HS starts up? If so, it is normal for HS3 to open the database in RO mode during that time. Can you add new devices and events? Are they there after you restart? If so, everything is working as it should.

      Cheers
      Al
      HS 4.2.8.0: 2134 Devices 1252 Events
      Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

      Comment


        #4
        Yes I have it installed under the PI user on one of my RPI's and watching the terminal window when I start it using the ./go command it says running read only. I am able to add devices as normal. I am just testing it out to see if I want to migrate everything from my windows box to the PI. I am not sure I am that happy with the Razeberry card and may send that back and get a z-net. The Rzaeberry doesn't have very good range, not sure that will be an issue once I add all my devices.

        Comment


          #5
          go uses sudo

          cat go

          export LANG=en_US.UTF-8
          sudo mono HSConsole.exe --log


          It is expected that you are logged in as a sudo user when you run ./go.

          The RO database stuff is normal as mentioned above. That should be the only mode=read only message you see.

          ===============================
          homeseer@ICS-RPi2-Zee /HomeSeer $ ./go
          HomeSeer Linux starting...
          02:02:16:4632:[Database]->Opening (Mode=Read Only*) up HomeSeer LOG database /tmp/HomeSeerLog.hsd
          02:02:16:8800:[Startup]->Loading Settings
          02:02:16:9993:[Warning]->HomeSeer was not shut down successfully the previous time it was started.
          02:02:17:2377:[Startup]->Settings Loaded.
          ===============================

          * = normal startup stuff.


          Have you created a new user and put that user in the sudoers group for running homeseer?

          Read about sudo here ==> sudo

          Default linux installations on whatever initially creates a sudo user as a means of security.

          Add a new user, add the user to sudoer and do ./go again while in the homeseer directory with that user.

          1 - add user
          sudo adduser newuser* answer the questions and follow the prompts
          2 - add user to sudoers group.
          sudo adduser <newuser> sudo

          While in an SSH session do the start again ./go and copy and paste the beginning text here as a post.

          The RF footprint of a GPIO Z-Wave + device should be same with who ever makes the device following currently implemented Z-Wave standards.
          Last edited by Pete; July 17, 2016, 01:59 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


            #6
            I am just using the normal PI user, I did change the password but doesnt the normal PI user already in the Sudo group so the .go script should run fine under PI.

            Is it best practices to create a user for HomeSeer and add them to the Sudo group and run HS3 using that user instead of PI?

            here are the logs, i did notice that energy database opened read/write

            pi@raspberrypi:~/HomeSeer $ sudo ./go
            HomeSeer Linux starting...
            01:48:01:9179:[Database]->Opening (Mode=Read Only) up HomeSeer LOG database /home/pi/HomeSeer/Logs/HomeSeerLog.hsd
            01:48:02:3318:[Startup]->Loading Settings
            01:48:02:6743:[Startup]->Settings Loaded.
            01:48:03:8157:[Startup]->
            01:48:03:8163:[Startup]->*********************************************************** *********************
            01:48:03:8184:[Startup]-> HomeSeer version 3.0.0.280 Edition: HS3 Pro Starting Now
            01:48:03:8193:[Startup]->*********************************************************** *********************
            01:48:03:8202:[Startup]->
            01:48:03:9128:[Startup]->Creating Class Objects...
            01:48:03:9197:[Startup]->COM port classes started.
            01:48:03:9265:[Startup]->Application interface class started.
            01:48:03:9991:[Startup]->Web server class started.
            01:48:04:0039:[Startup]->E-Mail SEND class started.
            01:48:04:0062:[Startup]->E-Mail RECEIVE class started.
            01:48:04:0181:[Startup]->Plug-In Interface class started.
            01:48:04:0238:[Startup]->Local voice recognition class started.
            01:48:04:0335:[Startup]->Database SAVE process started.
            01:48:04:0344:[Startup]->Loading configuration file ...
            01:48:04:0719:[Database]->Opening (Mode=Read Only) up HomeSeer database /home/pi/HomeSeer/Data/HomeSeerData.hsd
            01:48:04:3379:[Database]->Loading Devices...
            01:48:04:3438:[Load Config]->13 total devices loaded.
            01:48:04:3540:[Load Config]->Loading Event Groups...
            01:48:04:3676:[Load Config]->Loading Events...
            01:48:04:3772:[Load Config]->0 total events loaded.
            01:48:04:3781:[Load Config]->Loading COUNTERS...
            01:48:04:3922:[Load Config]->Loading TIMERS...
            01:48:04:4581:[Startup]->HomeSeer version is: 3.0.0.280
            01:48:04:4599:[Startup]->Creating Speaker Client Interface Object...
            01:48:04:4711:[Warning]->This HS3PRO version of HomeSeer is not registered and is running as a trial, 4 days remaining.
            01:48:04:5636:[Info]->Remote plug-in API interface started on port 10400
            01:48:04:5648:[Startup]->Checking for available plug-ins
            01:48:06:1226:[Plug-In]->Found plug-in: weatherXML, version: 3.0.0.50
            01:48:07:3164:[Plug-In]->Found plug-in: Z-Wave, version: 3.0.1.83
            01:48:07:3198:[Startup]->Initializing Plug-Ins
            Connecting to server at 127.0.0.1...
            01:48:09:6193:[Info]->Plugin Z-Wave has connected. IP:127.0.0.1:60786
            Connected, waiting to be initialized...
            01:48:09:7442:[Z-Wave]->InitIO called, plug-in version 3.0.1.83 is being initialized...
            01:48:10:2961:[Z-Wave]->Database: Opening (Mode=Read Only) up HomeSeer database /home/pi/HomeSeer/Data/Z-Wave/Z-Wave2.db
            01:48:10:7922:[Z-Wave]->Loading Z-Wave Network Objects...
            01:48:10:8500:[Z-Wave]->1 total Z-Wave Network Objects loaded.
            01:48:11:0457:[Z-Wave]->Loading Z-Wave Data Objects...
            01:48:11:0539:[Z-Wave]->1 Networks were restored from the data in the database... Building data connections.
            01:48:11:0580:[Z-Wave]->Network D4A6BAD8 has 10 device data elements.
            01:48:11:1078:[Z-Wave]->10 total Z-Wave Data Objects loaded.
            01:48:11:9370:[Z-Wave]->0 event actions were loaded from HomeSeer.
            01:48:11:9518:[Z-Wave]->0 event triggers were loaded from HomeSeer.
            01:48:11:9800:[Plug-In]->Finished initializing plug-in Z-Wave
            01:48:12:0736:[Z-Wave]->Raze: ============================================================ ==========
            01:48:12:0787:[Z-Wave]->Raze: ----------------------------------------------------------------------
            01:48:12:0869:[Z-Wave]->Initializing Z-Wave interface Raze (Generic Serial Controller) on /dev/ttyS0
            01:48:12:1038:[Z-Wave]->Raze: ----------------------------------------------------------------------
            01:48:12:1172:[Z-Wave]->Raze: The Z-Wave Command Execution Thread was Started or Restarted.
            01:48:12:1918:[Z-Wave]->465 Simple AV Control Command Class Control Commands have been loaded successfully.
            01:48:12:2597:[Z-Wave]->Starting 'Z-Wave Health' Process Starter for (Raze-Znet)...
            01:48:12:2783:[Z-Wave]->Raze: The Z-Wave API Execution Thread was Started or Restarted.
            01:48:12:3046:[Z-Wave]->Raze: Getting node information from controller...
            Plugin: weatherXML Instance: starting...
            Connecting to server at 127.0.0.1...
            01:48:13:4585:[Info]->Plugin weatherXML has connected. IP:127.0.0.1:60790
            Connected, waiting to be initialized...
            Change \ to / for Linux
            01:48:13:6095:[weatherXML]->Change \ to / for Linux
            InitIO called, plug-in is being initialized... 3.0.0.50
            01:48:13:7993:[weatherXML]->InitIO called, plug-in is being initialized... 3.0.0.50
            The Operating System version is Linux
            01:48:13:8063:[weatherXML]->The Operating System version is Linux
            Add user: pi
            01:48:13:8724:[weatherXML]->Add user: pi
            Setup Name Value Pairs
            01:48:13:8954:[weatherXML]->Setup Name Value Pairs
            01:48:14:4656:[Z-Wave]->Raze: Buffered Wake-Up signal from node 2 is being ignored.
            01:48:14:4807:[Z-Wave]->Raze: Buffered Wake-Up signal from node 2 is being ignored.
            01:48:14:4884:[Z-Wave]->Raze: Buffered Wake-Up signal from node 2 is being ignored.
            Setup user pages
            01:48:14:5079:[weatherXML]->Setup user pages
            01:48:14:5300:[Z-Wave]->Raze: Controller Manufacturer: Telsey, ID=0x1, Type=0x4
            01:48:14:5345:[Z-Wave]->Raze: Controller firmware version: 5.0
            Setup admin pages
            01:48:14:6031:[weatherXML]->Setup admin pages
            01:48:14:6476:[Z-Wave]->Raze: Z-Wave services for the SECURITY COMMAND CLASS were successfully started.
            01:48:14:6516:[Z-Wave]->Raze: Z-Wave Serial API version: 5
            01:48:14:6572:[Z-Wave]->Raze: Z-Wave interface node ID: 1, Home ID: D4A6BAD8
            01:48:14:6660:[Z-Wave]->Raze: Found 3 Z-Wave nodes in interface node ID 1 (Raze)
            01:48:14:7519:[Z-Wave]->Raze: Z-Wave PC Controller Library Version: Z-Wave 3.99 (ZDK 6.51.3)
            01:48:14:7579:[Z-Wave]->Raze: Z-Wave PC Controller is Type: Static Controller
            01:48:14:7879:[Z-Wave]->The interface's security support has been set.
            01:48:14:8085:[Z-Wave]->Raze Controller chip type is ZW050x.
            01:48:14:8160:[Z-Wave]->Raze Controller is static lib.
            01:48:14:8235:[Z-Wave]->Raze There is a SUC/SIS in the network.
            01:48:14:8272:[Z-Wave]->Raze is the SIS for the network.
            01:48:14:8412:[Z-Wave]->Raze: ............................................................ ..........
            01:48:14:8452:[Z-Wave]->Raze: .............................. FINISHED ..............................
            01:48:14:8513:[Z-Wave]->Raze: ............................................................ ..........
            setSpeakVars Array: 58
            01:48:15:1685:[weatherXML]->setSpeakVars Array: 58
            01:48:15:9131:[Plug-In]->Finished initializing plug-in weatherXML
            01:48:15:9528:[Web Server]->Local IP address is: 10.0.0.64
            01:48:15:9606:[Web Server]->Web Server started on port 80
            01:48:15:9646:[Web Server]->UPNP Discovery started
            01:48:16:0167:[Startup]->Start automation engine...
            01:48:16:0314:[Startup]->Initializing Speaker Client Interface
            01:48:16:0513:[Speech]->Listening for remote speaker connections on port 10401
            01:48:16:0813:[Database]->Opening (Mode=Read/Write) up HomeSeer Energy database /home/pi/HomeSeer/Data/Energy/Energy.hsd
            01:48:16:2139:[Startup]->Updater services starting...
            01:48:16:2182:[Startup]->Starting DDNS service...
            01:48:16:2511:[Startup]->Running the startup script Startup.vb
            01:48:16:3574:[Z-Wave]->*********************************************************** ********************
            01:48:16:3642:[Z-Wave]-> STARTUP COMPLETE: All configured interfaces were successfully initialized.
            01:48:16:3684:[Z-Wave]->*********************************************************** ********************
            Check for integration plugins
            01:48:20:3345:[weatherXML]->Check for integration plugins
            Setup Locations
            01:48:20:3841:[weatherXML]->Setup Locations
            Array Locations: 1
            01:48:20:4211:[weatherXML]->Array Locations: 1
            Loading WeatherInfo for Location #
            01:48:20:7323:[weatherXML]->Loading WeatherInfo for Location #
            Load Provider info for location:
            01:48:21:0948:[weatherXML]->Load Provider info for location:
            Load Forecast info for location:
            01:48:21:3013:[weatherXML]->Load Forecast info for location:
            Load Hourly info for location:
            01:48:21:3854:[weatherXML]->Load Hourly info for location:
            01:48:21:5525:[Startup]->Starting Event Scheduler...
            01:48:21:5671:[Startup]->HSSentry is disabled in Setup, sentry will not be started.
            01:48:21:5707:[Startup]->Start up complete.
            Type 'shutdown' to shutdown HomeSeer

            > 01:48:21:6114:[Startup]->Scripting is OK and is now running Startup.vb
            01:48:21:6529:[TTS]->Speak ():Welcome to Home-Seer
            01:48:21:6549:[Info]->System connected to MyHomeSeer Service, waiting for acknowledge...
            /home/pi/HomeSeer/./speak.sh: 3: /home/pi/HomeSeer/./speak.sh: pico2wave: not found
            01:48:21:7617:[Info]->System connected to MyHomeSeer Service successfully.
            Load Alert info for location:
            01:48:21:7799:[weatherXML]->Load Alert info for location:
            Playing WAVE 'temp.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
            Load HSTouch info for location:
            01:48:22:3511:[weatherXML]->Load HSTouch info for location:
            Load HSTouch forecast info for location:
            01:48:22:8675:[weatherXML]->Load HSTouch forecast info for location:
            Loading WeatherInfo1 for Location #1
            01:48:24:2836:[weatherXML]->Loading WeatherInfo1 for Location #1
            Load Provider info for location:1
            01:48:24:5927:[weatherXML]->Load Provider info for location:1
            Load Forecast info for location: 1
            01:48:24:7533:[weatherXML]->Load Forecast info for location: 1
            Load Hourly info for location: 1
            01:48:24:8035:[weatherXML]->Load Hourly info for location: 1
            Load Alert info for location: 1
            01:48:25:0004:[weatherXML]->Load Alert info for location: 1
            Check timer items
            01:48:25:1328:[weatherXML]->Check timer items
            Reset provider counts
            01:48:25:1483:[weatherXML]->Reset provider counts
            Current Provider Counts: Daily Download Counts:
            01:48:25:1563:[weatherXML]->Current Provider Counts: Daily Download Counts:
            Reset Downloads
            01:48:25:1636:[weatherXML]->Reset Downloads
            Setup Locations
            01:48:25:2155:[weatherXML]->Setup Locations
            Array Locations: 1
            01:48:25:2342:[weatherXML]->Array Locations: 1
            Loading WeatherInfo0 for Location #0
            01:48:25:2657:[weatherXML]->Loading WeatherInfo0 for Location #0
            Load Provider info for location:0
            01:48:25:7096:[weatherXML]->Load Provider info for location:0
            Load HSTouch info for location: 1
            01:48:25:8769:[weatherXML]->Load HSTouch info for location: 1
            Load Forecast info for location: 0
            01:48:25:9148:[weatherXML]->Load Forecast info for location: 0
            Load Hourly info for location: 0
            01:48:25:9781:[weatherXML]->Load Hourly info for location: 0
            Load Alert info for location: 0
            01:48:26:2305:[weatherXML]->Load Alert info for location: 0
            Load HSTouch forecast info for location: 1
            01:48:26:3190:[weatherXML]->Load HSTouch forecast info for location: 1
            Load HSTouch info for location: 0
            01:48:27:0705:[weatherXML]->Load HSTouch info for location: 0
            Load HSTouch forecast info for location: 0
            01:48:27:5530:[weatherXML]->Load HSTouch forecast info for location: 0
            Create Variables for city 1
            01:48:28:3081:[weatherXML]->Create Variables for city 1
            Setup Devices
            01:48:28:5230:[weatherXML]->Setup Devices
            Loading WeatherInfo1 for Location #1
            01:48:29:4252:[weatherXML]->Loading WeatherInfo1 for Location #1
            Setup Maps
            01:48:29:7267:[weatherXML]->Setup Maps
            Setup Hourly
            01:48:29:7420:[weatherXML]->Setup Hourly
            Finished loading hourly
            01:48:29:7746:[weatherXML]->Finished loading hourly
            Setup Tides
            01:48:29:7797:[weatherXML]->Setup Tides
            Load Provider info for location:1
            01:48:29:8409:[weatherXML]->Load Provider info for location:1
            Setup Alert Triggers
            01:48:29:9006:[weatherXML]->Setup Alert Triggers
            array: 1
            01:48:29:9231:[weatherXML]->array: 1
            Load Triggers: 1
            01:48:29:9394:[weatherXML]->Load Triggers: 1
            Load Forecast info for location: 1
            01:48:30:0831:[weatherXML]->Load Forecast info for location: 1
            Finished Trigger: 1
            01:48:30:0885:[weatherXML]->Finished Trigger: 1
            Setup Alerts
            01:48:30:0938:[weatherXML]->Setup Alerts
            Load Hourly info for location: 1
            01:48:30:1492:[weatherXML]->Load Hourly info for location: 1
            The /home/pi/HomeSeer/Data/weatherXML/NOAlerts1.xml file is missing. Unable to continue the data import.
            01:48:30:1970:[weatherXML]->The /home/pi/HomeSeer/Data/weatherXML/NOAlerts1.xml file is missing. Unable to continue the data import.
            Finished loading alerts
            01:48:30:2276:[weatherXML]->Finished loading alerts
            Setup Speak Items
            01:48:30:2339:[weatherXML]->Setup Speak Items
            Finished setting up arrays
            01:48:30:2751:[weatherXML]->Finished setting up arrays
            weatherXML's Cumulus does not work with Linux.
            01:48:30:3093:[weatherXML]->weatherXML's Cumulus does not work with Linux.
            Load Alert info for location: 1
            01:48:30:4076:[weatherXML]->Load Alert info for location: 1
            Load HSTouch info for location: 1
            01:48:30:9326:[weatherXML]->Load HSTouch info for location: 1
            Load HSTouch forecast info for location: 1
            01:48:31:2522:[weatherXML]->Load HSTouch forecast info for location: 1
            Create Variables for city 1
            01:48:32:7009:[weatherXML]->Create Variables for city 1
            Setup Devices
            01:48:32:8921:[weatherXML]->Setup Devices
            Setup Maps
            01:48:33:8260:[weatherXML]->Setup Maps
            Setup Hourly
            01:48:33:8316:[weatherXML]->Setup Hourly
            Finished loading hourly
            01:48:33:8438:[weatherXML]->Finished loading hourly
            Setup Tides
            01:48:33:8472:[weatherXML]->Setup Tides
            Setup Alert Triggers
            01:48:33:9173:[weatherXML]->Setup Alert Triggers
            array: 1
            01:48:33:9217:[weatherXML]->array: 1
            Load Triggers: 1
            01:48:33:9250:[weatherXML]->Load Triggers: 1
            Finished Trigger: 1
            01:48:34:0192:[weatherXML]->Finished Trigger: 1
            Setup Alerts
            01:48:34:0224:[weatherXML]->Setup Alerts
            The /home/pi/HomeSeer/Data/weatherXML/NOAlerts1.xml file is missing. Unable to continue the data import.
            01:48:34:0299:[weatherXML]->The /home/pi/HomeSeer/Data/weatherXML/NOAlerts1.xml file is missing. Unable to continue the data import.
            Finished loading alerts
            01:48:34:0349:[weatherXML]->Finished loading alerts
            Setup Speak Items
            01:48:34:0383:[weatherXML]->Setup Speak Items
            Finished setting up arrays
            01:48:34:0439:[weatherXML]->Finished setting up arrays
            01:48:42:2844:[Z-Wave]->Starting Z-Wave Polling for Network D4A6BAD8...
            Check timer items
            01:49:01:1442:[weatherXML]->Check timer items

            Comment


              #7
              The start up logs look fine.

              Is it best practices to create a user for HomeSeer and add them to the Sudo group and run HS3 using that user instead of PI?

              Here created a homeseer user and put that user in the sudoer group. That said I also added the homeseer user in the HS3 GUI of users. You can utilize any user name you want.

              I just copied / created users from what I saw in the first zee and zee2.


              Unrelated but just noticed that the check_passwd file for the RPi Zee-2 is different than the the HS3 Pro for Linux file.

              1 - RPi Homeseer check_passwd ==> GCC: (Debian 4.6.3-14+rpi1)
              2 - '86 Homeseer check_passwd ==>GCC: (Ubuntu 4.8.2-19ubuntu1)

              I moved my RPi2 HS3 to an AMD dual core micro pc Xi5A and noticed that the GUI linux commands didn't work. So I copied the HS3 Pro check_passwd file over to the AMD Zee-2 and it sort of works now. I do not really utilize the Linux GUI command thing though anyways.
              Last edited by Pete; July 17, 2016, 08:01 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