DoctorMcKay / HSPI_WebHookNotifications

Free, open-source HS3 plugin to send WebHook notifications to any configured URL when devices' values change
https://shop.homeseer.com/collections/plug-ins/products/dr-mckay-webhook-notifications-software-plug-in-for-hs3
GNU General Public License v3.0
2 stars 0 forks source link

Update to new version, can't set configuration #3

Closed JPStokesSr closed 5 years ago

JPStokesSr commented 5 years ago

I just updated to version 2.0.7142.3656, and when i start the plugin, i get the error about configuration. The plugin name is not a hot link, clicking on it does nothing. How do I get to the configuration page. Capture

JPStokesSr commented 5 years ago

I found this error in the log Initializing plug-in(2): WebHook Notifications Instance::Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.STACK: Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()

JPStokesSr commented 5 years ago

I did not intend to close this. I still have the problem.

DoctorMcKay commented 5 years ago

You probably need to update mono.

JPStokesSr commented 5 years ago

Can you point me to the previous version of the package that I can reinstall? I don’t see Mono as an installed package on my HomeTroller, and I would prefer to not install other products.

From: Alex Corn notifications@github.com Sent: Thursday, September 5, 2019 6:42 PM To: DoctorMcKay/HSPI_WebHookNotifications HSPI_WebHookNotifications@noreply.github.com Cc: JPStokesSr JosephStokesSr@verizon.net; State change state_change@noreply.github.com Subject: Re: [DoctorMcKay/HSPI_WebHookNotifications] Update to new version, can't set configuration (#3)

You probably need to update mono.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/DoctorMcKay/HSPI_WebHookNotifications/issues/3?email_source=notifications&email_token=AEFH5SIP5SC7KX27ETH3RX3QIGDNFA5CNFSM4ITWZ7U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6BBSDA#issuecomment-528619788 , or mute the thread https://github.com/notifications/unsubscribe-auth/AEFH5SP55JN3TFHJXBRS2QLQIGDNFANCNFSM4ITWZ7UQ . https://github.com/notifications/beacon/AEFH5SPL4YLCD6EGTFP2ZD3QIGDNFA5CNFSM4ITWZ7U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6BBSDA.gif

DoctorMcKay commented 5 years ago

Here is an older version that should work for you.

Is your HomeTroller based on Windows or Linux? If you're on Linux, you definitely have mono. If you're on Windows, you'll need to update .NET Framework to use v2.

JPStokesSr commented 5 years ago

Thanks, that worked.

I’m running Windows 7. I’ll look at updating .NET.

From: Alex Corn notifications@github.com Sent: Friday, September 6, 2019 11:39 AM To: DoctorMcKay/HSPI_WebHookNotifications HSPI_WebHookNotifications@noreply.github.com Cc: JPStokesSr JosephStokesSr@verizon.net; State change state_change@noreply.github.com Subject: Re: [DoctorMcKay/HSPI_WebHookNotifications] Update to new version, can't set configuration (#3)

Here is an older version that should work for you. https://github.com/DoctorMcKay/HSPI_WebHookNotifications/releases/tag/v1.3.7133.41704

Is your HomeTroller based on Windows or Linux? If you're on Linux, you definitely have mono. If you're on Windows, you'll need to update .NET Framework to use v2.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/DoctorMcKay/HSPI_WebHookNotifications/issues/3?email_source=notifications&email_token=AEFH5SNVPOJJDV4FCU7LEI3QIJ2QFA5CNFSM4ITWZ7U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DHEGQ#issuecomment-528904730 , or mute the thread https://github.com/notifications/unsubscribe-auth/AEFH5SOTET3E64RI4XGM6K3QIJ2QFANCNFSM4ITWZ7UQ .

phantomBit commented 5 years ago

What version of mono is needed for the V2 support?

DoctorMcKay commented 5 years ago

I believe mono version 5.4 or later.

phantomBit commented 5 years ago

Thats odd then. im getting a similar error using the docker Homeseer container.

warn: System.MissingMethodException: Method not found: System.Func`5 System.Net.Http.HttpClientHandler.get_DangerousAcceptAnyServerCertificateValidator() at HSPI_WebHookNotifications.HSPI.PostBackProc (System.String pageName, System.String data, System.String user, System.Int32 userRights) [0x000f3] in `<50c2843d36d04fe5b8981e50b22445c9>:0`

From the docker file in that project is it using 5.18

https://github.com/marthoc/docker-homeseer/blob/master/Dockerfile#L1

FROM mono:5.18.0.225

ENV S6_VERSION=v1.21.4.0
ENV LANG=en_US.UTF-8
ENV HOMESEER_VERSION=3_0_0_548