Announcement

Collapse
No announcement yet.

Having problems getting plugins to run

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

    Having problems getting plugins to run

    I think I have it right but the plugins won't stay running.

    HS3 isn't running on a Pi but the Remote is.

    Can some see if something isn't setup right?


    Code:
    [FONT=courier new, courier, monospace]cat /etc/os-release[/FONT]
    
    [FONT=courier new, courier, monospace]PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"[/FONT]
    [FONT=courier new, courier, monospace]NAME="Raspbian GNU/Linux"[/FONT]
    [FONT=courier new, courier, monospace]VERSION_ID="8"[/FONT]
    [FONT=courier new, courier, monospace]VERSION="8 (jessie)"[/FONT]
    [FONT=courier new, courier, monospace]ID=raspbian[/FONT]
    [FONT=courier new, courier, monospace]ID_LIKE=debian[/FONT]
    [FONT=courier new, courier, monospace]HOME_URL="http://www.raspbian.org/"[/FONT]
    [FONT=courier new, courier, monospace]SUPPORT_URL="http://www.raspbian.org/RaspbianForums"[/FONT]
    [FONT=courier new, courier, monospace]BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"[/FONT]
    
    [FONT=courier new, courier, monospace]Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10+deb8u1)[/FONT]
    [FONT=courier new, courier, monospace]Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com[/FONT]
    [FONT=courier new, courier, monospace]    TLS:           __thread[/FONT]
    [FONT=courier new, courier, monospace]    SIGSEGV:       normal[/FONT]
    [FONT=courier new, courier, monospace]    Notifications: epoll[/FONT]
    [FONT=courier new, courier, monospace]    Architecture:  armel,vfp+hard[/FONT]
    [FONT=courier new, courier, monospace]    Disabled:      none[/FONT]
    [FONT=courier new, courier, monospace]    Misc:          softdebug [/FONT]
    [FONT=courier new, courier, monospace]    LLVM:          supported, not enabled.[/FONT]
    [FONT=courier new, courier, monospace]    GC:            sgen[/FONT]
    [FONT=courier new, courier, monospace][/FONT]

    The errors when running:
    Code:
    pi@Relay-01:/opt/RaspberryIO $ sudo ./run.sh
    Code:
    [FONT=courier new, courier, monospace]Plugin: RaspberryIO Instance: Relay-01 starting...[/FONT]
    [FONT=courier new, courier, monospace]Connecting to server at 10.0.2.16...[/FONT]
    [FONT=courier new, courier, monospace]Connection attempt #1[/FONT]
    [FONT=courier new, courier, monospace]Connected (HomeSeer API 3). Waiting to be initialized...[/FONT]
    [FONT=courier new, courier, monospace]Dec-05 18:43:48 INFO RaspberryIO version 3.0.0.16[/FONT]
    [FONT=courier new, courier, monospace]Missing method CompareString in assembly /opt/RaspberryIO/Scheduler.dll, type Microsoft.VisualBasic.CompilerServices.Operators[/FONT]
    [FONT=courier new, courier, monospace]Dec-05 18:43:48 ERROR System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.[/FONT]
    [FONT=courier new, courier, monospace]File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'[/FONT]
    [FONT=courier new, courier, monospace]  at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x00000] in <filename unknown>:0 [/FONT]
    [FONT=courier new, courier, monospace]  at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00000] in <filename unknown>:0 [/FONT]
    [FONT=courier new, courier, monospace]Shutdown IO called[/FONT]
    [FONT=courier new, courier, monospace]Dec-05 18:43:48 INFO Shutting Down plug-in[/FONT]
    [FONT=courier new, courier, monospace]Dec-05 18:43:48 INFO Shutting Down plug-in[/FONT]
    [FONT=courier new, courier, monospace]Connection lost, exiting[/FONT]
    [FONT=courier new, courier, monospace]Disconnected from server - client[/FONT]
    [FONT=courier new, courier, monospace]Waiting 30 seconds before trying to reconnect[/FONT]
    [FONT=courier new, courier, monospace][/FONT]


    Here is the listing of the directory on the Pi:
    Code:
    pi@Relay-01:/opt/RaspberryIO $ ls -l
    Code:
    [FONT=courier new, courier, monospace]total 3820[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root   75776 Sep 12  2016 HomeSeerAPI.dll[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root   44032 Sep 12  2016 HSCF.dll[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root   50176 Aug 10 16:20 HSPI_RaspberryIO.exe[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root     351 Sep 10  2016 HSPI_RaspberryIO.exe.config[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root    7680 Aug 10 16:16 Raspberry.IO.dll[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root   47104 Aug 10 16:16 Raspberry.IO.GeneralPurpose.dll[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root   14848 Aug 10 16:16 Raspberry.IO.Interop.dll[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root  984594 Dec  5 18:04 RaspberryIO_remote_install_3-0-0-16.zip[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root   13312 Aug 10 16:14 Raspberry.System.dll[/FONT]
    [FONT=courier new, courier, monospace]-rwxr-xr-x 1 root root     109 Dec  5 18:24 run.sh[/FONT]
    [FONT=courier new, courier, monospace]-rw-r--r-- 1 root root 2646528 Sep 12  2016 Scheduler.dll[/FONT]
    [FONT=courier new, courier, monospace][/FONT]

    The startup file:
    Code:
    pi@Relay-01:/opt/RaspberryIO $ cat run.sh
    Code:
    [FONT=courier new, courier, monospace]#!/bin/sh[/FONT]
    [FONT=courier new, courier, monospace]cd /opt/RaspberryIO[/FONT]
    [FONT=courier new, courier, monospace]mono HSPI_RaspberryIO.exe server=10.0.2.16 instance=Relay-01 autoreconnect=30[/FONT]
    [FONT=courier new, courier, monospace][/FONT]


    Code:
      [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#000000]Info[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#000000]Plugin RaspberryIO with instance: Relay-01 has disconnected[/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#000000]RaspberryIO[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#000000]INFO Shutting Down plug-in[/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#FF0000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#FF0000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#FF0000]Error[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#FF0000]Initializing plug-in(1): RaspberryIO Instance:Relay-01:System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x00000] in :0 at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00000] in :0 Time to load: 22 milliseconds[/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#FF0000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#FF0000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#FF0000]RaspberryIO[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#FF0000]ERROR System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x00000] in :0 at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00000] in :0 [/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#000000]RaspberryIO[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#000000]INFO RaspberryIO version 3.0.0.16[/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#000000]Starting Plug-In[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#000000]Initializing plugin RaspberryIO ...[/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [TABLE="cellspacing: 0"]
    [TR]
    [TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000]Dec-05 3:46:28 PM[/COLOR][/FONT][/TD]
     			[TD="colspan: 1, align: left"][FONT=courier new][COLOR=#000000] [/COLOR][/FONT][/TD]
     			[TD="colspan: 3, align: left"][FONT=courier new][COLOR=#000000]Info[/COLOR][/FONT][/TD]
     			[TD="colspan: 8, align: left"][FONT=courier new][COLOR=#000000]Plugin RaspberryIO with instance Relay-01 has connected. IP:10.0.2.22:58964[/COLOR][/FONT][/TD]
     		[/TR]
    [/TABLE]
    [FONT=courier new][/FONT]
    HomeSeer Version: HS3 Standard Edition 3.0.0.548
    Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    Number of Devices: 484 | Number of Events: 776

    Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
    3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
    4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
    3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

    Z-Net version: 1.0.23 for Inclusion Nodes
    SmartStick+: 6.04 (ZDK 6.81.3) on Server

    #2
    on your Pi try:
    Code:
     
     sudo apt-get install mono-vbnc
    also it looks like you have mono 3.2.8 on your Pi, and mono 5.20.1 on your Linux machine, this is likely to cause some other problems, you should upgrade mono on your Pi

    Comment


      #3
      I agree and I've been trying to remove it but every remove info I've found will not get rid of it.

      I did find that 3.2.8 is located in "/usr/bin". I guess that one could remove anything starting with mono* but then it might leave some lint around.
      HomeSeer Version: HS3 Standard Edition 3.0.0.548
      Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      Number of Devices: 484 | Number of Events: 776

      Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
      3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
      4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
      3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

      Z-Net version: 1.0.23 for Inclusion Nodes
      SmartStick+: 6.04 (ZDK 6.81.3) on Server

      Comment


        #4
        Ignore this as I fixed it.
        I finally found the command that got rid of 3.2.8 but every time I try to install a later version 3.2.8 gets reinstalled. I've read that there is a flag someplace that controls the latest version that can be loaded but I have no idea where that's kept and how to change it. I'll keep looking but a locations to look would be night. I'm loading on Jessie.
        Ok, got mono version 5.x running.
        Code:
        Mono JIT compiler version 5.10.1.20 (tarball Thu Mar 29 11:55:26 UTC 2018)
        Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
            TLS:           __thread
            SIGSEGV:       normal
            Notifications: epoll
            Architecture:  armel,vfp+hard
            Disabled:      none
            Misc:          softdebug 
            Interpreter:   yes
            LLVM:          supported, not enabled.
            GC:            sgen (concurrent by default)
        Tried to startup RaspberyIO and get the following errors on the remote Pi so I muct have left something out of the mono install:
        Code:
        ./run.sh
        Plugin: RaspberryIO Instance: RelayGroup01 starting...
        
        Unhandled Exception:
        System.TypeLoadException: Could not find method due to a type load error
          at HSPI_RaspberryIO.HSPI..ctor () [0x00016] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
          at (wrapper remoting-invoke-with-check) HSPI_RaspberryIO.HSPI..ctor()
          at HSPI_RaspberryIO.Program.MainLoop (System.String ipAddress) [0x00000] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
          at HSPI_RaspberryIO.Program.Main (System.String[] args) [0x000be] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
        [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not find method due to a type load error
          at HSPI_RaspberryIO.HSPI..ctor () [0x00016] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
          at (wrapper remoting-invoke-with-check) HSPI_RaspberryIO.HSPI..ctor()
          at HSPI_RaspberryIO.Program.MainLoop (System.String ipAddress) [0x00000] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
          at HSPI_RaspberryIO.Program.Main (System.String[] args) [0x000be] in <e19ef2a6ff024cdc888e905df7b361ed>:0
        HomeSeer Version: HS3 Standard Edition 3.0.0.548
        Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
        Number of Devices: 484 | Number of Events: 776

        Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
        3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
        4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
        3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

        Z-Net version: 1.0.23 for Inclusion Nodes
        SmartStick+: 6.04 (ZDK 6.81.3) on Server

        Comment


          #5
          I must be getting Old as I normally don't have these issues

          Solved the last issue, I had loaded mono-runtime and not mono-complete.
          Code:
          mono --version
          Mono JIT compiler version 5.10.1.20 (tarball Thu Mar 29 11:55:26 UTC 2018)
          Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
              TLS:           __thread
              SIGSEGV:       normal
              Notifications: epoll
              Architecture:  armel,vfp+hard
              Disabled:      none
              Misc:          softdebug 
              Interpreter:   yes
              LLVM:          supported, not enabled.
              GC:            sgen (concurrent by default)
          When I updated to 548 mono got updated to 6.4.0.198 but I didn't notice until after I read this test. Does that now mean I have to update mono on the remote as well?
          Code:
          mono --version
          Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:21:28 UTC 2019)
          Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
              TLS:           __thread
              SIGSEGV:       altstack
              Notifications: epoll
              Architecture:  amd64
              Disabled:      none
              Misc:          softdebug 
              Interpreter:   yes
              LLVM:          yes(610)
              Suspend:       hybrid
              GC:            sgen (concurrent by default)
          Now back to the issue of not connecting. The remote seems to start. Here is the remote Pi config gile and resulting info when started:
          Code:
          cat run.sh
          #!/bin/sh
          cd /opt/RaspberryIO
          mono HSPI_RaspberryIO.exe server=10.0.2.16 instance=RelayGroup01 autoreconnect=30
          Code:
          ./run.sh
          Plugin: RaspberryIO Instance: RelayGroup01 starting...
          Connecting to server at 10.0.2.16...
          Connection attempt #1
          Connected (HomeSeer API 3). Waiting to be initialized...
          Dec-08 04:37:50 INFO RaspberryIO version 3.0.0.16
          Dec-08 04:37:50 ERROR System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
          File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
            at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x0000b] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
            at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00090] in <e19ef2a6ff024cdc888e905df7b361ed>:0 
          Dec-08 04:37:50 INFO Shutting Down plug-in
          Shutdown IO called
          Dec-08 04:37:50 INFO Shutting Down plug-in
          Connection lost, exiting
          Disconnected from server - client
          Waiting 30 seconds before trying to reconnect
          And here is the HS3 log:
          Code:
           [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:38:08 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Starting Plug-In[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]RaspberryIO loaded in 15057 milliseconds[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:53 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Info[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Plugin RaspberryIO with instance RelayGroup01 has connected. IP:127.0.0.1:60082[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#D58000]Dec-08 1:37:53 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#D58000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#D58000]Warning[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#D58000]I/O interface RaspberryIO is down, executable is not running, restarting ...[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:53 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Info[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Plugin RaspberryIO with instance: RelayGroup01 has disconnected[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:50 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Info[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Plugin RaspberryIO with instance: RelayGroup01 has disconnected[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:50 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]RaspberryIO[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]INFO Shutting Down plug-in[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:50 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]RaspberryIO[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]INFO Shutting Down plug-in[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#FF0000]Dec-08 1:37:50 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#FF0000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#FF0000]Error[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#FF0000]Initializing plug-in(1): RaspberryIO Instance:RelayGroup01:System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x0000b] in :0 at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00090] in :0 Time to load: 401 milliseconds[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#FF0000]Dec-08 1:37:50 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#FF0000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#FF0000]RaspberryIO[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#FF0000]ERROR System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x0000b] in :0 at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00090] in :0 [/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:50 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]RaspberryIO[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]INFO RaspberryIO version 3.0.0.16[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:49 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Starting Plug-In[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Initializing plugin RaspberryIO ...[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Dec-08 1:37:49 AM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Info[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Plugin RaspberryIO with instance RelayGroup01 has connected. IP:10.0.2.22:36860[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          I'm going to bed and will look at this in the morning.
          HomeSeer Version: HS3 Standard Edition 3.0.0.548
          Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
          Number of Devices: 484 | Number of Events: 776

          Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
          3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
          4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
          3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

          Z-Net version: 1.0.23 for Inclusion Nodes
          SmartStick+: 6.04 (ZDK 6.81.3) on Server

          Comment


            #6
            in addition to mono-complete, have you installed the vb package?

            Code:
             
             sudo apt-get install mono-vbnc

            Comment


              #7
              No, I did miss mono-vnc. My bad on that one. Added it and everything started working.

              In the process ended up somehow loosing WiFi on the board. Since I had been making so many changes I decided to just start from a clean slate. The previous build started from the Z-NET build so I could use it's find feature. I'm trying to get that to work but who know just what pieces it needs.

              Anyway, I'm totally up and running and starting to program it. Also, need to get an outdoor case before I bring it online, hopefully in a week or so.

              Question: Since I'm planing to use the relay board for landscape lighting and sprinklers I need that turn off backup for the sprinklers Although I can easily timeout the sprinkler channels in HS3 I'd rather put a script on the Pi that would turn channels off if they have been on too long. I thought if I used the RPi routines to turn off GPIO channels from a script. However, would they cause any issues with RaspburryIO?

              -----

              Feature upgrade request for the remote RaspberryIOs. It would be nice to have a timeout feature that would be resident in the remote and not dependent on HS3. This would be a backup so if anything happened those channels could be turned off.

              HomeSeer Version: HS3 Standard Edition 3.0.0.548
              Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
              Number of Devices: 484 | Number of Events: 776

              Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
              3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
              4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
              3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

              Z-Net version: 1.0.23 for Inclusion Nodes
              SmartStick+: 6.04 (ZDK 6.81.3) on Server

              Comment


                #8
                Originally posted by Timon View Post

                Question: Since I'm planing to use the relay board for landscape lighting and sprinklers I need that turn off backup for the sprinklers Although I can easily timeout the sprinkler channels in HS3 I'd rather put a script on the Pi that would turn channels off if they have been on too long. I thought if I used the RPi routines to turn off GPIO channels from a script. However, would they cause any issues with RaspburryIO?
                No that should not cause any problem with the RaspberryIO plugin.

                Comment


                  #9
                  Thanks Spud.

                  I've added the programming in to run my landscape lighting and Irrigation and it's working great.

                  I also just noticed that I have the ability to reboot or shutdown the RPi which is great. I just thought that a nice addition might be to send back the CPU temperature as an additional bit of useful status and CPU temp is supported on all RPi's. I may just do that by adding the MQTT receive and publish handlers along with a I2S devices to pick up outdoor temps, humidity and a few other things.

                  For anyone interested here is the configuration I'm using, here is the board I'm using. It can handle both low and high voltage AC and DC loaded. In my case I'm using 24VAC for irrigation and 12VAC for landscape lighting. Just need to get the weather proof enclosure and I can install it.

                  Available on Amazon.

                  Click image for larger version

Name:	fullsizeoutput_1808.jpeg
Views:	219
Size:	88.2 KB
ID:	1345733
                  HomeSeer Version: HS3 Standard Edition 3.0.0.548
                  Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
                  Number of Devices: 484 | Number of Events: 776

                  Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
                  3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
                  4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
                  3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

                  Z-Net version: 1.0.23 for Inclusion Nodes
                  SmartStick+: 6.04 (ZDK 6.81.3) on Server

                  Comment


                    #10
                    cool stuff, thank you for sharing.

                    Comment

                    Working...
                    X