Announcement

Collapse
No announcement yet.

Installing HS4 on Linux

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

    #16
    This is my installation method, then use my startup method in the previous post.
    Code:
    apt-get -y install mono-devel mono-vbnc flite chromium-browser aha ffmpeg alsa-base alsa-utils
    apt-get -y remove brltty
    wget https://homeseer.com/updates4/linux_4_1_9_0.tar.gz -O homeseer.tar.gz
    tar xvzf homeseer.tar.gz -C /opt

    Comment


      #17
      What if you have held broken packages? I'm not a Linux guru and have tried every update upgrade attitude command out there to update or remove mono completely and I can't get rid of this message to try and upgrade.

      Comment


        #18
        Does the Check Update button not work in Linux? I saw the announcement for 4.1.10.0, but checking the update from within HS4's setup page tells me that it's up to date.

        Comment


          #19
          Originally posted by tundrageek View Post
          Does the Check Update button not work in Linux? I saw the announcement for 4.1.10.0, but checking the update from within HS4's setup page tells me that it's up to date.
          The check update button does not work in the Linux version. It was promised a long time ago in a galaxy far far away but has not been fixed.

          Comment


            #20
            Originally posted by drhtmal View Post

            The check update button does not work in the Linux version. It was promised a long time ago in a galaxy far far away but has not been fixed.
            Thanks! I was just making sure that's the case vs my specific instance being broken.

            Comment


              #21
              That script is working for startup.
              Which script do you use for shutdown with the system?
              Thx all for the info in this topic.

              Originally posted by GeekyDaddy View Post
              How to get it start at system start

              Code:
              nano homeseer.service
              -------- Insert -------------------
              [Unit]
              Description=HomeSeer Service
              
              [Service]
              ExecStart=/usr/bin/mono /opt/HomeSeer/HSConsole.exe --log
              WorkingDirectory=/opt/HomeSeer
              Restart=on-failure
              RestartSec=10
              
              [Install]
              WantedBy=multi-user.target
              -------- end -------------
              cp homeseer.service /etc/systemd/system
              systemctl enable homeseer
              systemctl start homeseer
              systemctl status homeseer

              Comment


                #22
                Hi,

                I use below "homeseer.service" for shutting down gracefully. Found elsewhere on the forum :

                Code:
                [Unit]
                Description=HomeSeer HS3 Home Automation Server
                After=network.target
                
                [Service]
                WorkingDirectory=/opt/HomeSeer
                ExecStart=/usr/bin/mono /opt/HomeSeer/HSConsole.exe --log
                ExecStop=/opt/HomeSeer/stop_homeseer.sh
                Restart=on-failure
                TimeoutStopSec=90
                
                [Install]
                WantedBy=multi-user.target
                and the "stop_homeseer.sh":

                Code:
                #!/bin/bash
                sudo /usr/bin/curl 'http://127.0.0.1/LinuxTools' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' --data 'ConfirmShutdownhs=Yes' --compressed
                sleep 10s
                Michel.

                Comment


                  #23
                  moved

                  Comment

                  Working...
                  X