Announcement

Collapse
No announcement yet.

Plugin Actions UI doesn't display in PluginSDK 1.2.4

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

    Plugin Actions UI doesn't display in PluginSDK 1.2.4

    I used the NuGet to update the pluginsdk reference in my visual studio project to 1.2.4.0 and rebuilt my plugin.

    My plugin's actions will no longer show the UI when being selected from the actions drop in.
    It took me a lot of trial and error to figure out it was the pluginsdk.dll. If I revert back to the previous version of the pluginSDK.dll into my visual studio project and I build my plugin it seems the actions work again.

    The pluginsdk.dll in the homeseer bin directory is 1.2.4.0

    I am out of ideas on how to fix this. Any suggestions?
    James

    Running HS 3 on Win10 .

    #2
    Problem solved:

    I was wrong. It had nothing to do with the pluginsdk.dlll
    The issue was the name I gave my plugin "id". I had named it "HSPI_TPLinkSmartHome4". When I removed the "HSPI_" everything works as expected. I am guessing the special character "_" was the problem. Others have pointed out that special characters in the ID were not allowed.

    James

    Running HS 3 on Win10 .

    Comment


      #3
      I automated the id creation, so don't have to do it manually:
      Code:
      public override string Id => _id;
      static string _id = typeof(HSPI).Namespace.Replace("HSPI_", "");

      Comment


        #4
        Good thinking. Thanks.
        James

        Running HS 3 on Win10 .

        Comment

        Working...
        X