Announcement

Collapse
No announcement yet.

Jon00 SNMP Monitor for Homeseer 3 & Homeseer 4

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

    Hi Jon00,
    I've just noticed that Jon00SNMPMonitor.exe has started crashing after running for a few minutes. I'm not sure if this is related to the Windows 10 1809 update that was rolled out a few weeks ago.

    The icon appears in the task bar. But after about 10 minutes when you hover the mouse over the icon it disappears, like the app has crashed.

    Is anyone else experiencing this? Is there a windows log I can look at?

    Marty.
    iCore5 Win 10 Pro x64 SSD

    HS3 Pro Edition 3.0.0.435 Windows

    BLOccupied:,Device History:,Yamaha:,UltraMon3:,mcsXap:,Restart:,UltraNetatmo3:, UltraM1G3:,Ultra1Wire3:,BLBackup:,Harmony Hub:,DoorBird:,UltraECM3:,Nanoleaf 3P:,UltraRachio3:,Z-Wave:,SDJ-Health:,BLGarbage:,Blue-Iris:,Chromecast:,Pushover 3P:,EasyTrigger:

    Comment


      Right click on the exe file in Windows explorer and click on 'Troubleshoot compatibility'. Select the recommended compatibility mode to see if that resolves the issue.

      If not, download again from my site and replace the exe. No changes but has been recompiled.
      Last edited by jon00; November 26, 2018, 11:36 AM.
      Jon

      Comment


        Thanks for the advice. I tried the windows compatability settings but none of them worked. The exe still crashed after 3 or 4 minutes. Then I downloaded and reinstalled the newly complied exe (new 177kb vs old 222kb) from your website and it seems to have done the trick. Thanks.
        Last edited by mminehan; November 26, 2018, 08:36 PM.
        iCore5 Win 10 Pro x64 SSD

        HS3 Pro Edition 3.0.0.435 Windows

        BLOccupied:,Device History:,Yamaha:,UltraMon3:,mcsXap:,Restart:,UltraNetatmo3:, UltraM1G3:,Ultra1Wire3:,BLBackup:,Harmony Hub:,DoorBird:,UltraECM3:,Nanoleaf 3P:,UltraRachio3:,Z-Wave:,SDJ-Health:,BLGarbage:,Blue-Iris:,Chromecast:,Pushover 3P:,EasyTrigger:

        Comment


          Jon,

          I haven't really been watching the SNMP devices since I updated to .354 late in July. With all versions previous since I set this up not long after you release it, it has worked great. But I have noticed lately that after HS startup things work for about 4 hours, then it stops updating. I have made no changes to my HS other than the update. I'm running 1.03 of the package. Has this been confirmed to work with .354? I just noticed that there is a 1.04 version of this - though, it was released late last fall.

          Robert
          HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

          Comment


            As I'm running 1.0.4, difficult to comment. Have you updated the 3 Homeseer dll's lately?
            Jon

            Comment


              Thanks Jon. I'll grab 1.04 this evening. Which specific dll's are you referring to? If their part of .354, then most likely.

              This thing has been humming along all this time, so, I had no reason to check for any later versions. As well, being summer, I've been a bit lapse on checking for details of operations.

              You know, I just had a thought not directly related... It would be great if you could create a script which would check the versions of all your scripts/plugins installed (perhaps the user could specify which ones they had in some .ini file) and report the versions of the installed vs updated scripts/plugins. Would be a "nice to have" item... If you've got free time and are looking for something to code...


              Robert
              HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

              Comment


                The dll's are HomeSeerAPI.dll, HSCF.dll and Scheduler.dll. You need to copy the latest from the Homeseer root to the same folder that contains Jon00SNMPMonitor.exe.
                Jon

                Comment


                  Oh man.... I can't believe I forgot to do that! I'm sure that's it... Too much sun this summer....

                  Thanks so much for that.
                  HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                  Comment


                    Version 1.0.7 has been released:

                    Changes since 1.0.6:

                    Added support for Linux (Mono 6+) - Only tested on Ubuntu
                    Fixed bug with delete on setup page.
                    Jon

                    Comment


                      I've just installed the PI on a Debian 10 machine with libcanberra-gtk-module installed and the latest mono version but the PI won't start. The Debian doesn't have X-Server installed because I just SSH to this server. Does this mean I can't use this plugin without a GUI?

                      root@HomeSeer4:~# mono --version
                      Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:03:37 UTC 2020)

                      Code:
                      root@HomeSeer4:~# mono /opt/HomeSeer/bin/Jon00SNMP/Jon00SNMPMonitor.exe
                      
                      Unhandled Exception:
                      System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
                      Parameter name: Display
                      at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x003d0] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.XplatUI..cctor () [0x000c0] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      --- End of inner exception stack trace ---
                      at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnd erlined () [0x00005] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.Control..ctor () [0x000d6] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
                      at System.Windows.Forms.WindowsFormsSynchronizationContext..cct or () [0x00000] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      --- End of inner exception stack trace ---
                      at System.Windows.Forms.Control..ctor () [0x0000d] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.Form..ctor () [0x00012] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at Jon00SNMPMonitor.Form1..ctor () [0x00000] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(Syst em.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
                      at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
                      --- End of inner exception stack trace ---
                      at Jon00SNMPMonitor.My.MyProject+MyForms.Create__Instance__[T] (T Instance) [0x000c6] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at Jon00SNMPMonitor.My.MyProject+MyForms.get_Form1 () [0x00000] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at Jon00SNMPMonitor.My.MyApplication.OnCreateMainForm () [0x00006] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplic ationBase.OnRun () [0x00010] in <f6a313cf04e64a29b6bbd63d49445f98>:0
                      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplic ationBase.Run (System.String[] commandLine) [0x00001] in <f6a313cf04e64a29b6bbd63d49445f98>:0
                      at Jon00SNMPMonitor.My.MyApplication.Main (System.String[] Args) [0x00012] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
                      Parameter name: Display
                      at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x003d0] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.XplatUI..cctor () [0x000c0] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      --- End of inner exception stack trace ---
                      at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnd erlined () [0x00005] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.Control..ctor () [0x000d6] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
                      at System.Windows.Forms.WindowsFormsSynchronizationContext..cct or () [0x00000] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      --- End of inner exception stack trace ---
                      at System.Windows.Forms.Control..ctor () [0x0000d] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at System.Windows.Forms.Form..ctor () [0x00012] in <47c199caaa3c4c6c9c48a7c6ebb3fd29>:0
                      at Jon00SNMPMonitor.Form1..ctor () [0x00000] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(Syst em.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
                      at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
                      --- End of inner exception stack trace ---
                      at Jon00SNMPMonitor.My.MyProject+MyForms.Create__Instance__[T] (T Instance) [0x000c6] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at Jon00SNMPMonitor.My.MyProject+MyForms.get_Form1 () [0x00000] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at Jon00SNMPMonitor.My.MyApplication.OnCreateMainForm () [0x00006] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0
                      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplic ationBase.OnRun () [0x00010] in <f6a313cf04e64a29b6bbd63d49445f98>:0
                      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplic ationBase.Run (System.String[] commandLine) [0x00001] in <f6a313cf04e64a29b6bbd63d49445f98>:0
                      at Jon00SNMPMonitor.My.MyApplication.Main (System.String[] Args) [0x00012] in <7eb98cf92fb94d3cb3104d03a870b9cd>:0

                      Comment


                        I have not compiled it without GUI support as it is used in Windows. I know very little about Linux but it worked fine under Ubuntu once I had made a few changes. From the error, I suspect you are right.
                        Jon

                        Comment

                        Working...
                        X