HomeSeer / Plugin-SDK

Plugin development kit for the 4th major edition of the HomeSeer platform.
https://www.nuget.org/packages/HomeSeer-PluginSDK/
GNU Affero General Public License v3.0
21 stars 5 forks source link

HS4 does not generate HSEVENT callbacks to HS3 plugin #97

Closed mcsSolutions closed 4 years ago

mcsSolutions commented 4 years ago

HS4 4.0.6.0, Windows

HSEvent callback registered as: callback.RegisterEventCB(HomeSeerAPI.Enums.HSEvent.VALUE_CHANGE, IFACE_NAME, "") Breakpoint set at start of: Public Sub HSEvent(ByVal EventType As Enums.HSEvent, ByVal parms() As Object) Implements HomeSeerAPI.IPlugInAPI.HSEvent Virtual device created with On/Off button for controlled testing. Toggle the device on/off. No callback to HSEvent generated.

Doing the same test with HS4 version of the same plugin does generate the callbacks. Earlier versions of HS4 did produce the callback with HS3 pluign. I do not know at what version the breakage occurred.

rjhelmke commented 4 years ago

Do you know if it's just this event type or any event type? Can you disable any other plugin that you have enabled just to make sure its not related to another plugin? I am not aware of any changes to the event handling. We did add a new event type, but that was outside of normal event handling.

mcsSolutions commented 4 years ago

I did a reboot of my system to support additional testing requested. Following reboot the callbacks are being received. During the original testing only one plug-in (mcsMQTT) was enabled via remote access through Visual Studio. I believe the issue can be closed.

From: rjhdakota [mailto:notifications@github.com] Sent: Sunday, June 07, 2020 3:52 PM To: HomeSeer/Plugin-SDK Cc: mcsSolutions; Author Subject: Re: [HomeSeer/Plugin-SDK] HS4 does not generate HSEVENT callbacks to HS3 plugin (#97)

Do you know if it's just this event type or any event type? Can you disable any other plugin that you have enabled just to make sure its not related to another plugin? I am not aware of any changes to the event handling. We did add a new event type, but that was outside of normal event handling.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HomeSeer/Plugin-SDK/issues/97#issuecomment-640291825 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AALJP6ZLUAMOHDARMVFFKI3RVQKYLANCNFSM4NXT5WOQ . https://github.com/notifications/beacon/AALJP6Y764RRKLK634CRRU3RVQKYLA5CNFSM4NXT5WO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEYVBH4I.gif

rjhelmke commented 4 years ago

Ok, closing for now, you can re-open if you see this again.