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
    Wow, I have never ran into anything soooo difficult and I have been messing with PC's since the Vic 20. I guess I am not a command line guy. I had to look up how to log into Ubuntu with root access so I could do things with the GUI.

    So many issues and confusing statements surrounding HomSeer and a pure Linux installation. Especially with their own tech support calling this kind of installation a "Custom Install" and therefore will not support their own installation instructions. Their version of Windows installation is apparently not custom.
    Even the instructions here in the first post do not include instructions on how to auto start the program on a reboot. I realize others have tried to fill the gap but how do we know if the instructions work or may cause problems with something else? Everything seems to be pieced together. I am not putting anybody down for trying but we need to come together and make something official so we all can see it and improve it if necessary. With only two versions of Linux (Debian and Ubuntu) supported, it should not be that difficult.

    I created several instruction sheets for Vera over the years and have shared them on their forums. I would love to create some beginning to end complete instructions anyone, not just a Linux enthusiast, can use to install HS on Linux and without having to look everything up on how to do each step. It is also beneficial for all to see the directions and approve, and or correct as needed. As Open source should be.

    If anyone is interested in helping me with creating these instructions, please let me know. Since I am no Linux user or a programmer this stuff is pretty difficult for me to figure out.but I am good at documenting and preparing an instruction set.
    zwolf, you seem to know a lot about this and have helped me before with Linux problems. It would be great to collaborate with you. I totally understand if you are too busy but let me know if you can.

    Just trying to help. Thanks.

    Comment


      #17
      Originally posted by Jamr View Post
      Wow, I have never ran into anything soooo difficult and I have been messing with PC's since the Vic 20. I guess I am not a command line guy. I had to look up how to log into Ubuntu with root access so I could do things with the GUI.

      So many issues and confusing statements surrounding HomSeer and a pure Linux installation. Especially with their own tech support calling this kind of installation a "Custom Install" and therefore will not support their own installation instructions. Their version of Windows installation is apparently not custom.
      Even the instructions here in the first post do not include instructions on how to auto start the program on a reboot. I realize others have tried to fill the gap but how do we know if the instructions work or may cause problems with something else? Everything seems to be pieced together. I am not putting anybody down for trying but we need to come together and make something official so we all can see it and improve it if necessary. With only two versions of Linux (Debian and Ubuntu) supported, it should not be that difficult.

      I created several instruction sheets for Vera over the years and have shared them on their forums. I would love to create some beginning to end complete instructions anyone, not just a Linux enthusiast, can use to install HS on Linux and without having to look everything up on how to do each step. It is also beneficial for all to see the directions and approve, and or correct as needed. As Open source should be.

      If anyone is interested in helping me with creating these instructions, please let me know. Since I am no Linux user or a programmer this stuff is pretty difficult for me to figure out.but I am good at documenting and preparing an instruction set.
      zwolf, you seem to know a lot about this and have helped me before with Linux problems. It would be great to collaborate with you. I totally understand if you are too busy but let me know if you can.

      Just trying to help. Thanks.
      No argument from me that the instructions are incomplete, assume a lot of prior Linux knowledge/skills, and include sometimes obsolete, sometimes helpful posts from various users peanut-buttered around this forum. If you are ok running it on a Raspberry Pi 4, then simply installing the HS4 Pi image on a RP 4 is the easiest way to go -- all the steps have been done for you.

      Frankly, I suggest that if it's more than you are comfortable handling, then install HS on Windows. The application is the same, since it runs on MS .NET, and the Linux installations run the app on Mono, which is an open-source version of .NET.

      Comment


        #18
        If installing on ubuntu 20.04, the ubuntu distro provided "mono" is missing /usr/lib/mono/4.5/vbc.exe. This is only needed if you want to follow the directions in the second post of this thread (changing /usr/bin/vbnc so .aspx pages can load.) Note that some plugins might need aspx pages, so making this change is worthwhile...

        Here's how to get a more current mono distro:
        Code:
        sudo apt install gnupg apt-transport-https ca-certificates
        
        sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
        
        sudo apt-add-repository 'deb https://download.mono-project.com/repo/ubuntu stable-focal main'
        
        sudo apt-update
        IF you've already installed the mono packages, you'll want to run "sudo apt upgrade" to update them, otherwise you should install them with:

        Code:
        sudo apt install mono-devel mono-vbnc
        Finally, add another package (which isn't available with the ubuntu provided distro):

        Code:
        sudo apt install mono-roslyn
        At this point, you should be able to following the instructions provided in the second post of this thread to modify /usr/bin/vbnc.

        Comment

        Working...
        X