Announcement

Collapse
No announcement yet.

INFO: Plugin start is pending

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

    INFO: Plugin start is pending

    I recently updated to mcsMQTT version 5.15.0.0, running on HS4 version 4.1.14.0
    In the Installed plugin page I get the message 'INFO: Plugin start is pending'. Everything seems working fine though.

    -- Cor --

    #2
    I see this during development testing at times but don't know why HS is reporting this status. In the HS log the startup time is reported so the HS left hand knows the start is finished, but the right hand did not seem to get the message. Would be nice if INFO message provided information rather than confusion.

    Comment


      #3
      That would be nice indeed.

      I just now updated HS4 to version 4.1.15.0 and now I see that mscMQTT does not start up. I only see the Config page.

      A restart did not help.


      Click image for larger version

Name:	2021-03-31_201724.png
Views:	75
Size:	30.1 KB
ID:	1466313
      After disconnecting and connecting I see in the HS log:

      Code:
       [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime1, align: left"][COLOR=#000000]mrt.-31 20:19:49 [/COLOR][/TD]
       			[TD="class: LogPri1, align: left"] [/TD]
       			[TD="class: LogType1, colspan: 3, align: left"][COLOR=#000000]mcsMQTT [/COLOR][/TD]
       			[TD="class: LogEntry1, colspan: 8, align: left"][COLOR=#000000]MQTTClient is Connected to broker 1 at 192.168.1.31 [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime0, align: left"][COLOR=#000000]mrt.-31 20:19:43 [/COLOR][/TD]
       			[TD="class: LogPri0, align: left"] [/TD]
       			[TD="class: LogType0, colspan: 3, align: left"][COLOR=#000000]Plug-In [/COLOR][/TD]
       			[TD="class: LogEntry0, colspan: 8, align: left"][COLOR=#000000]Finished initializing plug-in mcsMQTT [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime1, align: left"][COLOR=#000000]mrt.-31 20:19:43 [/COLOR][/TD]
       			[TD="class: LogPri1, align: left"] [/TD]
       			[TD="class: LogType1, colspan: 3, align: left"][COLOR=#000000]Starting Plug-In [/COLOR][/TD]
       			[TD="class: LogEntry1, colspan: 8, align: left"][COLOR=#000000]mcsMQTT loaded in 15016 milliseconds [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime1, align: left"][COLOR=#000000]mrt.-31 20:19:29 [/COLOR][/TD]
       			[TD="class: LogPri1, align: left"] [/TD]
       			[TD="class: LogType1, colspan: 3, align: left"][COLOR=#000000]Starting Plug-In [/COLOR][/TD]
       			[TD="class: LogEntry1, colspan: 8, align: left"][COLOR=#000000]Plugin mcsMQTT started successfully in 110 milliseconds [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime0, align: left"][COLOR=#000000]mrt.-31 20:19:28 [/COLOR][/TD]
       			[TD="class: LogPri0, align: left"] [/TD]
       			[TD="class: LogType0, colspan: 3, align: left"][COLOR=#000000]mcsMQTT [/COLOR][/TD]
       			[TD="class: LogEntry0, colspan: 8, align: left"][COLOR=#000000]Version 5.15.0.0 Registered with Homeseer [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime1, align: left"][COLOR=#000000]mrt.-31 20:19:28 [/COLOR][/TD]
       			[TD="class: LogPri1, align: left"] [/TD]
       			[TD="class: LogType1, colspan: 3, align: left"][COLOR=#000000]Starting Plug-In [/COLOR][/TD]
       			[TD="class: LogEntry1, colspan: 8, align: left"][COLOR=#000000]Initializing plugin mcsMQTT ... [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime0, align: left"][COLOR=#000000]mrt.-31 20:19:28 [/COLOR][/TD]
       			[TD="class: LogPri0, align: left"] [/TD]
       			[TD="class: LogType0, colspan: 3, align: left"][COLOR=#000000]Info [/COLOR][/TD]
       			[TD="class: LogEntry0, colspan: 8, align: left"][COLOR=#000000]Plugin mcsMQTT has connected. IP:127.0.0.1:43566 [/COLOR][/TD]
       		[/TR]
      [/TABLE]
      [TABLE="class: log_table_row"]
      [TR]
      [TD="class: LogDateShort LogDateTime1, align: left"][COLOR=#000000]mrt.-31 20:19:17 [/COLOR][/TD]
       			[TD="class: LogPri1, align: left"] [/TD]
       			[TD="class: LogType1, colspan: 3, align: left"][COLOR=#000000]Info [/COLOR][/TD]
       			[TD="class: LogEntry1, colspan: 8, align: left"][COLOR=#000000]Plugin mcsMQTT with ID: and Instance: has disconnected [/COLOR][/TD]
       		[/TR]
      [/TABLE]

      Comment


        #4
        I switched back to mcsMQTT version 5.14.2.3 and all is fine again.

        Comment


          #5
          Michael, I do see now a very strange behaviour of the mcsMQTT PI.

          The MQTT traffic is working fine, the HS devices get updated constantly, but I see only the Config page of the plugin, no MQTT page. Like the picture in post#3.

          I also get the impression that there is some interference with the HSBuddy plugin, I had to disable this one.

          I am running now HS 4 version 4.1.14.0 again, but I saw the same behaviour in the previous version.

          -- Cor --

          Comment


            #6
            I am able to replicate the behavior when running the HS3 plugin on HS4. I can get the Pending message and the Config link. I also get the following in the HS Log where HS reports a failure when mcsMQTT calls the "hs.RegisterPage(link, PLUGIN_NAME, Instance)" method to register the pages. This only occurs when running HS3 plugin on HS4 and on Windows. The failure does not occur when running with Linux and it does not occur when running with Windows using Visual Studio.



            Click image for larger version

Name:	CaptureFail.PNG
Views:	89
Size:	246.9 KB
ID:	1466540

            I cannot find any issue with HS4 plugin running on either Linux or Windows.

            I can report the issue on GitHub, but this seems like something that HST would not prioritize since it is support for a Legacy plugin vs. support for HS4 plugin.

            You posted this on the HS4 plugin forum so I assume you are using the HS4 plugin. You are also not getting any messages in the HS log about failures during mcsMQTT initialization, but the behavior is similar with none of the web pages being available. The latest plugins that I have been using for testing are at

            http://mcsSprinklers.com/HSPI_mcsMQTT_5_15_4_1.zip for HS4 plugin and http://mcsSprinklers.com/mcsMQTT_5_15_4_1.zip for HS3. The Updater Override process should be used for HS4 pluign. Installing the HS3 plugin on HS4 may need to be done manually with the .exe into the HS folder and .dll's in \bin\mcsMQTT folder.

            Comment


              #7
              Hi Michael, yes, I am using HS4 and Linux (RPi4, latest OS).
              I used the legacy page for plugin managemant. From there I installed 5.15.0.0, is that wrong?

              So I reinstalled this version from the Plugins -> installed page of HS4 GUI. And I am surprised that I see that version 5.14.3.6 is installed. The same time there is a signal that an updatye is waiting, see figure below.



              If I click the cloud symbol then I see that version 5.15.0.0 is ready for installing. If I do this then the same picture pops up after a successfull update.

              Repeating this process does change nothing.

              I also see only the Config page, the HS4 devices are updated though.

              Teh legacy page for plugin management shows this:


              I did not install 5.15.0.0 again from this page, although this would show that 5.15.0.0 is installed as I experienced before.

              I will install 5.15.4.1 from your link with the updater process and report later.

              -- Cor --

              Comment


                #8
                Well, version 5.15.4.1 does what it should do. The correct version number is reported in the HS4 plugin management page.

                And also the MQTT page is back! Great work Michael. Thanks a lot.

                -- Cor --

                Comment

                Working...
                X