Announcement

Collapse
No announcement yet.

Homeseer HS3 pro on raspberry pi 3

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

    Homeseer HS3 pro on raspberry pi 3

    Hi, sorry if this has already been covered numerous times but I'm new to raspberry pi and homeseer. I was previously using smartthings and decided I wanted a cloudless home automation. This seemed the route to go down so I have a rpi3 and homeseer pro licence. Feel free to tell me if I'm wrong in my thinking below.

    Just need someone who has the time to guide me through the steps. I understand I could of bought the hs3-rpi licence but I didn't want to be limited to 5 plugins and at some point I may want to migrate to a more powerful pc. I've played about installing raspian jessie lite, I don't have a keyboard or display for the rpi3 so have been running putty. I'd rather use jessie lite as the rpi3 will just be used for my automation and once HS3 is installed I can just use the interface to play about with my rules etc and the rpi3 will be left alone.

    Although I've already had the rpi3 up and running I've reformatted the sd card so I can start from scratch. I've read alot of posts regarding this process but never came across a start to finish for what I need, basically being lazy and copying other people's hard work! The mrs doesn't understand me wanting to change the system we're already using let alone learning Linux, just can't spare much time at the moment.

    Also I'm aware I should create a backup of the sd card once my rules are in place incase the rpi3 eats it so I will require some guidance on how to do that without disrupting the home automation (creating autorun script for HS3 if the pie is rebooted etc).

    Any help is appreciated

    #2
    Welcome to the Homeseer user forum Joel!

    Wrote up a quickie step by step over here:

    ======>

    Turning a Pi2/Pi3/Linux computer into a Zee-HS2Standard-HS3Pro device
    Last edited by Pete; March 28, 2017, 09:42 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


      #3
      Hi Pete, thanks for the help. I've e been following your guide, the only step I missed out was to create more users, I used this website to change my username http://unixetc.co.uk/2016/01/07/how-...berry-pi-user/
      They seemed to know the correct way.

      Now when downloading HS3 Linux, that all completes fine but when trying the next command tar I get this error

      Tar: hslinux_zees2_3_0_0_297.gz: cannot open: no such file or directory
      Tar: error is not recoverable: exiting now

      I will note when changing the default username pi using the link above, they instruct to create a backup and I had a similar problem using the tar command which didn't seem to work.

      Thanks for your time

      Comment


        #4
        Thank you Joel.

        Will add add user and sudo user to referred post.

        tar should be in lower caps

        Create a HomeSeer directory first and give the tar command a retry.
        - 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


          #5
          So I've taken out the sd card from pi to see if homeseer was downloaded but I can't see it. There's probably a Linux command but I'm new to this so this was the only way I could think of. I've read you can't read everything on the card in Windows. Anyway I've created a Homeseer folder and downloaded the HS3 from the website and dropped into that folder. The tar file has a different name to the one in your guide (mine is hs3_Linux_3_0_0_312.tar.gz) How would I go about installing this file from the sd card on pi? Previously I was using tar in lower case on the pi console, just my tablet auto corrects grammar.

          Comment


            #6
            By the way I didn't mean your way of adding users was wrong, I just wanted one user with all the privileges of root but wanted to change default username for security.

            Comment


              #7
              Yes you can just add a new user and delete the old user and give the use sudo rights (root).

              Easy way to see the contents of the SD card is to put the SD card in a USB to SD card device and look at the card with Linux Ubuntu desktop. That said you can also just download the tar file on your Linux desktop, untar it then copy it over to the SD card.

              There are are multiple builds of Homeseer Linux:

              1 - Zee Homeseer Linux
              2 - HS3 Standard or Pro Linux
              3 - HS3 Standard or Pro Linux for the embedded boxes that Homeseer sells.

              You are running HS3 Pro. Just SSH to the RPi3 and do a sudo su or sudo in front of every command. I put the HomeSeer directory in the root so it would be easy to get to.

              You can also change the rights to the /HomeSeer directory by doing this:

              sudo chmod -R 666 /HomeSeer
              sudo chmod -R 755 /HomeSeer

              You would get this file:

              1 - sudo wget hxxp://homeseer.com/updates3/hs3_linux_3_0_0_$1.tar.gz
              2 - sudo tar xavf hs3_linux_3_0_0_$1.tar.gz

              where as xx is tt and $1 is the current version of Homeseer. (30X?)

              Yes I have difficulties sometimes using a tablet typing characters so typically use desktop or laptop. I am old and a terrible speller.

              Lately mostly using Ubuntu Laptop and do Oracle VBs of Wintel or whatever.

              Pick you Laptop whatever OS it is running. Install Oracle VB on it then build Virtual Boxes of Wintel or Linux.

              Here is me doing same on my laptop:

              /pete# sudo wget hxxp://homeseer.com/updates3/hs3_linux_3_0_0_311.tar.gz
              --2017-03-05 14:48:26-- hxxp://homeseer.com/updates3/hs3_linux_3_0_0_311.tar.gz
              Resolving homeseer.com (homeseer.com)... 162.144.102.224
              Connecting to homeseer.com (homeseer.com)|162.144.102.224|:80... connected.
              HTTP request sent, awaiting response... 200 OK
              Length: 8925975 (8.5M) [application/x-gzip]
              Saving to: ‘hs3_linux_3_0_0_311.tar.gz’

              hs3_linux_3_0_0_311 100%[===================>] 8.51M 3.04MB/s in 2.8s

              2017-03-05 14:48:29 (3.04 MB/s) - ‘hs3_linux_3_0_0_311.tar.gz’ saved [8925975/8925975]


              pete# sudo tar xavf hs3_linux_3_0_0_311.tar.gz
              HomeSeer/
              HomeSeer/scripts/
              HomeSeer/scripts/ShutDown.txt
              HomeSeer/scripts/Startup.vb
              HomeSeer/update_extra.sh
              HomeSeer/install.sh
              HomeSeer/temp/
              HomeSeer/temp/tempfile1
              HomeSeer/run_command_raw.sh
              HomeSeer/Mono.CSharp.dll
              HomeSeer/temp.wav
              HomeSeer/play_audio.sh
              HomeSeer/autostart_hs
              HomeSeer/run_command.sh
              HomeSeer/Grammar/
              HomeSeer/shutdown_controller.sh
              HomeSeer/Data/
              HomeSeer/Data/Backup/
              HomeSeer/Data/Energy/
              HomeSeer/Data/HomeSeerData_1.hsd
              HomeSeer/ConfigBackup/
              HomeSeer/speak.sh
              HomeSeer/Mail.dll
              HomeSeer/Logs/
              HomeSeer/html/
              HomeSeer/html/css/
              HomeSeer/html/css/js-listbox-style.css
              .....
              HomeSeer/register_with_find.sh
              HomeSeer/speak_to_file.sh
              HomeSeer/updater.txt
              HomeSeer/Media/
              HomeSeer/Wave/
              HomeSeer/bin/
              HomeSeer/bin/HomeSeerUtil.dll
              HomeSeer/bin/System.Data.SQLite.dll
              HomeSeer/Config/
              HomeSeer/Config/powerfail.ini
              HomeSeer/Config/powerfail.ini.bak
              HomeSeer/Config/locations.csv
              HomeSeer/Config/Selectors/
              HomeSeer/Scheduler.dll.config
              HomeSeer/Updates3/
              HomeSeer/HomeSeerAPI.dll
              HomeSeer/HSConsole.exe
              HomeSeer/HSCF.dll

              ls
              HomeSeer
              hs3_linux_3_0_0_311.tar.gz

              Just be in the directory you want to be in. IE: if you are root and at the / directory then a HomeSeer directory will be created.

              and also do sudo chmod -R 755 /HomeSeer

              I will include your stuff above and this stuff in the DIY post.

              Yes; the un tar stuff for the Zee untars the files to the Homeseer directory where as the un tar stuff for HS3 standard or pro untars and creates a HomeSeer directory.
              Last edited by Pete; March 5, 2017, 04: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


                #8
                Well I just started from scratch, altered the version of homeseer download to 312 and tar worked this time so thanks for your help upto this stage. Must of messed something whilst changing users so it couldn't find the file.

                So now I ask how do I run homeseer and start using it. I see in the guide it says to use homeseer/go but I'm hit with this error ( see attached image, sorry about quality)
                Attached Files

                Comment


                  #9
                  Try cd Homeseer to get to the directory then run the command.

                  Comment


                    #10
                    Also I think it's /go.

                    That's from memory I'm not near a computer. There is a . After go

                    Comment


                      #11
                      Still no joy
                      Attached Files

                      Comment


                        #12
                        Strange as it is clearly there
                        Attached Files

                        Comment


                          #13
                          ./go


                          Sent from my iPhone using Tapatalk

                          Comment


                            #14
                            That worked, thanks.

                            Comment


                              #15
                              Good news Joel!

                              I will add that to the DIY.

                              Apologies I referenced the script go but not how to run it. ./go

                              Note too while you are running HS in the terminal windows don't close the window or it will shut down Homeseer.

                              Watch the boot of Homeseer in the terminal window. Look for any HomeSeer boot up errors there.

                              In the beginning of testing you can also run ./go in a cron job when booting.

                              Here is the one liner cron job which will start HomeSeer on boot. If using Webmin GUI you can add a cron job there.

                              sleep 30 && exec sh /HomeSeer/go

                              sudo crontab -e

                              Enter this:
                              @reboot sleep 30 && exec sh /HomeSeer/go



                              Later after playing some more you can create a start up Homeseer service script...using Upstart or Systemd.
                              Last edited by Pete; March 5, 2017, 06:51 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