No announcement yet.


  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I've got the plug-in working and I can control my valves. In the timer configuration of the plug-in in is not letting me save my adjusted times. when I click on "Save Timer Changes" the screen sits there and smiles at me.

    I tried running it on my windows PC and everything seem to be working there. Is there a way on my Linux machine to save my adjusted timers. I guess a work around could be to create timers in HS3 and run events for each of my valves based on that timer.


    • #17
      I'd like to learn more about running plugins on remote machines. Your above comment when right over my head.


      • #18

        Apologies ....didn't catch your last question.

        Some plugins can be run in Linux talking to a Linux or Windows Homeseer 3 box.

        In Linux the command to run the plugin is:

        mono plugin.exe server=ip_of_homeseer_server

        In Windows the command is:

        plugin.exe server=ip_of_homeseer_server

        If the plugin uses a serial or USB port then the device is plugged in to the remote box and looks at the ini on the Homeseer 3 mothership directory.

        IE: here the Z-Wave GPIO card is installed on a RPi2 in the attic. The main HS3 box remotes via SSH to the RPi2 in the attic and starts the Z-Wave plugin on booting of Homeseer3 running this script.

        ssh root@ "/usr/bin/mono /HomeSeer/HSPI_ZWave.exe server= >> /dev/null 2>&1"

        logged in to the slave RPi2 and ran this:

        root@ICS-ZNet:/HomeSeer# mono HSPI_ZWave.exe server=
        Connecting to server at

        Main HS3 GUI shows the remote connection.

        Last edited by Pete; May 5th, 2017, 06:46 PM.
        - Pete

        Auto mator
        Homeseer 3 Pro - (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
        Homeseer Zee2 (Lite) - (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation.


        • #19
          Thank for reply!

          so, I would just enter the command line in a new script or use the startup script and eneter the command line in there?


          • #20
            I created an event that runs the script and I run the script when Homeseer starts.

            Note this is from the Linux Homeseer mothership to a Linux RPi2 which starts the Z-Wave plugin when Homeseer boots.

            Linux to windows will be different.

            First run the plugin in Windows with the option server=ipofhomeseer.

            See if it connects. Note that the INI file stuff is on your Linux Homeseer box and not on the source windows box.

            Personally I have never SSH'd from a Linux box to a Windows box (just the other way around).

            Googled it and yes you can install ssh server on your windows box and run a windows command like this:

            ssh user@windowsmachine 'mycommand.exe'

            First you have to install cygwin on your windows computer then ssh server. You can create a key with Putty.

            Looking at the Putty page you can use a program there to run ssh server. (Bitvise SSH Server)

            for the key exchange you have to copy the keys from the windows to the Linux box.

            which is the same thing I am doing below linux to linux.

            Note you shouldn't root to do this. In order to utilize root with no password you just have to copy the SSH keys which will be step #1

            1 - this is a copy and paste from here.

            SSH login without password

            You want to use Linux and OpenSSH to automate your tasks. Therefore you need an automatic login from host A / user a to Host B / user b. You don't want to enter any passwords, because you want to call ssh from a within a shell script.
            How to do it

            First log in on A as user a and generate a pair of authentication keys. Do not enter a passphrase:

            a@A:~> ssh-keygen -t rsa
            Generating public/private rsa key pair.
            Enter file in which to save the key (/home/a/.ssh/id_rsa): 
            Created directory '/home/a/.ssh'.
            Enter passphrase (empty for no passphrase): 
            Enter same passphrase again: 
            Your identification has been saved in /home/a/.ssh/id_rsa.
            Your public key has been saved in /home/a/.ssh/
            The key fingerprint is:
            3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A
            Now use ssh to create a directory ~/.ssh as user b on B. (The directory may already exist, which is fine):

            a@A:~> ssh b@B mkdir -p .ssh
            b@B's password:
            Finally append a's new public key to b@B:.ssh/authorized_keys and enter b's password one last time:

            a@A:~> cat .ssh/ | ssh b@B 'cat >> .ssh/authorized_keys'
            b@B's password:
            From now on you can log into B as b from A as a without password:

            a@A:~> ssh b@B
            2 - test the above using ssh.

            3 - here is the event JPG


            4 - here is the script that it is running called

            # !/bin/bash
            #: Description: Enables the required modules Homeseer ZWave
            ssh root@ "/usr/bin/mono /HomeSeer/HSPI_ZWave.exe server= >> /dev/null 2>&1"
            Do a

            chmod +x /HomeSeer/scripts/

            after you save the above file.

            5 - put this in the bottom of your startup.vb file in your /HomeSeer/scripts/startup.vb file. IE: nano /HomeSeer/scripts/startup.vb

            ' Start Z-Wave
            hs.triggerevent("Start Z-Wave")
            End Sub
            Last edited by Pete; May 8th, 2017, 10:52 PM.
            - Pete

            Auto mator
            Homeseer 3 Pro - (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU - Mono 6.4X
            Homeseer Zee2 (Lite) - (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.4X

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation.