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?
The errors when running:
Here is the listing of the directory on the Pi:
The startup file:
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]
Comment