Announcement

Collapse
No announcement yet.

Worx problems MQTTnet

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

  • Worx problems MQTTnet

    Hi

    I have a problem with the plugin, from log:
    08-03-2020 13:50:22 CMD: GET product-items
    08-03-2020 13:50:22 RSP: [{"id":1.....
    .
    .
    08-03-2020 13:50:23 Failed to connect: Exception of type 'MQTTnet.Exceptions.MqttCommunicationClosedGracefullyExcepti on' was thrown.
    08-03-2020 13:50:23 Worx Landroid Cloud disconnected
    08-03-2020 13:50:23 Failed to subscribe: The client is not connected.
    08-03-2020 13:50:25 PUB: {}
    08-03-2020 13:50:25 Error: The client is not connected.
    08-03-2020 13:50:35 Failed to connect: Exception of type 'MQTTnet.Exceptions.MqttCommunicationClosedGracefullyExcepti on' was thrown.
    08-03-2020 13:50:35 Worx Landroid Cloud disconnected

    Plugin v 3.0.0.5
    Windows server 2019
    HS3 3.0.0.548
    .net 4.8

    It gets all the device info from the cloud.
    Best Regards
    Jan

  • #2
    Hi,

    Thanks for reporting. I can reproduce this. I guess something changed in the Landroid API. It will take some time to figure out what...

    I hope I can fix this soon. It all depends on how much has changed...
    stefxx

    Comment


    • #3
      I have identified the issue. I hope to get an update out over the next few days.

      Thank you for your patience!
      stefxx

      Comment


      • #4
        An update has been released (3.0.0.6) and should be available in the updater soon. Thanks!
        stefxx

        Comment


        • #5
          Hi,
          Thanks for this update but it hangs at the end of the installation ; I've tried twice and get each time the same error
          mars-16 14:54:13 Error Warning, Cannot load EXE file (possibly missing dependencies) HSPI_Worx.exe: Impossible de charger un ou plusieurs des types requis. Extrayez la propriété LoaderExceptions pour plus d'informations.Warning, Error details with EXE HSPI_Worx.exe: Impossible de charger le fichier ou l'assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
          mars-16 14:53:57 Updater Install/Update of package Worx Landroid Robot Mowers was successful.
          mars-16 14:53:57 Updater Extraction Complete.
          mars-16 14:53:56 Updater Extracting files from zip file: images.zip
          mars-16 14:53:56 Updater Copying file: C:\Program Files\HomeSeer HS3\bin\Worx\MQTTnet.dll
          mars-16 14:53:56 Updater Copying file: C:\Program Files\HomeSeer HS3\bin\Worx\Newtonsoft.Json.dll
          mars-16 14:53:56 Updater Copying file: C:\Program Files\HomeSeer HS3\HSPI_Worx.exe.config
          mars-16 14:53:56 Updater Copying file: C:\Program Files\HomeSeer HS3\HSPI_Worx.exe
          mars-16 14:53:55 Updater Installing package Worx Landroid Robot Mowers
          mars-16 14:53:55 Updater Update HSPI_Worx.exe downloaded successfully
          mars-16 14:53:52 Updater Downloading update: Worx Landroid Robot Mowers
          mars-16 14:53:52 Updater Starting download of updates
          mars-16 14:51:37 Error Warning, Cannot load EXE file (possibly missing dependencies) HSPI_Worx.exe: Impossible de charger un ou plusieurs des types requis. Extrayez la propriété LoaderExceptions pour plus d'informations.Warning, Error details with EXE HSPI_Worx.exe: Impossible de charger le fichier ou l'assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
          mars-16 14:51:17 Updater Install/Update of package Worx Landroid Robot Mowers was successful.
          mars-16 14:51:17 Updater Extraction Complete.
          mars-16 14:51:15 Updater Extracting files from zip file: images.zip
          mars-16 14:51:15 Updater Copying file: C:\Program Files\HomeSeer HS3\bin\Worx\MQTTnet.dll
          mars-16 14:51:15 Updater Copying file: C:\Program Files\HomeSeer HS3\bin\Worx\Newtonsoft.Json.dll
          mars-16 14:51:15 Updater Copying file: C:\Program Files\HomeSeer HS3\HSPI_Worx.exe.config
          mars-16 14:51:15 Updater Copying file: C:\Program Files\HomeSeer HS3\HSPI_Worx.exe
          mars-16 14:51:14 Updater Installing package Worx Landroid Robot Mowers
          mars-16 14:51:14 Updater Update HSPI_Worx.exe downloaded successfully
          mars-16 14:51:10 Updater Downloading update: Worx Landroid Robot Mowers
          mars-16 14:51:10 Updater Starting download of updates
          Warning, Cannot load EXE file (possibly missing dependencies) HSPI_Worx.exe: Impossible de charger un ou plusieurs des types requis. Extrayez la propriété LoaderExceptions pour plus d'informations.Warning, Error details with EXE HSPI_Worx.exe: Impossible de charger le fichier ou l'assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)

          And the plugin disappears from the Interface page and need to be found at the bottom of the list (in Robotics)

          Thanks for your help.

          Comment


          • #6
            Hi, sorry about this. Conflicting dependencies.

            I updated a beta (3.0.0.7), could you test that for me? You can find it in the beta section of the updater. Thanks!
            stefxx

            Comment


            • #7
              Originally posted by stefxx View Post
              Hi, sorry about this. Conflicting dependencies.

              I updated a beta (3.0.0.7), could you test that for me? You can find it in the beta section of the updater. Thanks!
              Hi Stefan,

              Not working for me:

              3/16/2020 18:54:21 Legacy-Plugin Worx Error: The client is not connected.
              3/16/2020 18:54:19 Legacy-Plugin Worx Failed to subscribe: The client is not connected.
              3/16/2020 18:54:19 Legacy-Plugin Worx Failed to connect: Exception of type 'MQTTnet.Exceptions.MqttCommunicationTimedOutException' was thrown.
              3/16/2020 18:54:09 Legacy-Plugin Worx Worx Landroid Cloud disconnected
              3/16/2020 18:54:06 Legacy-Plugin Worx New version of plugin started, updating devices...
              3/16/2020 18:54:04 Legacy-Plugin Worx Initializing complete
              3/16/2020 18:54:04 Legacy-Plugin Worx Initializing plugin Worx version 3.0.0.7
              3/16/2020 18:53:23 Legacy-Plugin Worx Shutdown started
              3/16/2020 18:53:23 Legacy-Plugin Worx Shutdown complete

              ---
              John

              Comment


              • #8
                Hi,

                Thanks for this beta : it solved the problem for me : I'm running HS3 Pro Edition 3.0.0.500 (Windows)
                mars-16 19:40:03 Worx Worx Landroid Cloud connected
                mars-16 19:39:33 Worx New version of plugin started, updating devices...
                mars-16 19:39:30 Plug-In Finished initializing plug-in Worx
                mars-16 19:39:30 Starting Plug-In Worx loaded in 847 milliseconds
                mars-16 19:39:30 Starting Plug-In Plugin Worx started successfully in 292 milliseconds
                mars-16 19:39:30 Worx Initializing complete
                mars-16 19:39:30 Worx Initializing plugin Worx version 3.0.0.7
                mars-16 19:39:30 Starting Plug-In Initializing plugin Worx ...
                mars-16 19:39:30 Info Plugin Worx has connected. IP:127.0.0.1:52823
                mars-16 19:36:23 Updater Install/Update of package Worx Landroid Robot Mowers was successful.
                mars-16 19:36:23 Updater Extraction Complete.
                mars-16 19:36:22 Updater Extracting files from zip file: images.zip
                mars-16 19:36:22 Updater Copying file: C:\Program Files\HomeSeer HS3\bin\Worx\MQTTnet.dll
                mars-16 19:36:22 Updater Copying file: C:\Program Files\HomeSeer HS3\bin\Worx\Newtonsoft.Json.dll
                mars-16 19:36:22 Updater Copying file: C:\Program Files\HomeSeer HS3\HSPI_Worx.exe.config
                mars-16 19:36:22 Updater Copying file: C:\Program Files\HomeSeer HS3\HSPI_Worx.exe
                mars-16 19:36:22 Updater Installing package Worx Landroid Robot Mowers
                mars-16 19:36:22 Updater Update HSPI_Worx.exe downloaded successfully
                mars-16 19:36:18 Updater Downloading update: Worx Landroid Robot Mowers
                mars-16 19:36:18 Updater Starting download of updates

                Comment


                • #9
                  Hi John,

                  Something is definitely wrong here... but I don't understand what. The error I see if from the old version, but the log clearly shows you are running 3.0.0.7. I do see you are running it with HS4, and I have seen stranger things with HS4 and plugin version conflicts.

                  Could you reinstall, and/or restart HS4 to see if the problem persists? Also, make sure to stop the plugin before updating.

                  Thanks!
                  stefxx

                  Comment


                  • #10
                    Originally posted by stefxx View Post
                    Hi John,

                    Something is definitely wrong here... but I don't understand what. The error I see if from the old version, but the log clearly shows you are running 3.0.0.7. I do see you are running it with HS4, and I have seen stranger things with HS4 and plugin version conflicts.

                    Could you reinstall, and/or restart HS4 to see if the problem persists? Also, make sure to stop the plugin before updating.

                    Thanks!
                    Hi Stefan,

                    I first did a reinstall of the PI. This did not fixed the issue.

                    A restart of HS4 solved the issue.

                    Thanks

                    ---
                    John

                    Comment


                    • #11
                      Thanks for reporting back!

                      I will release 3.0.0.7.
                      stefxx

                      Comment


                      • #12
                        Hi
                        3.0.0.7 works for me.
                        Thanks

                        Comment


                        • #13
                          Hi,
                          I've now another issue : it's disconnect each day and I can't launch any command :Error: The client is not connected
                          It's perhaps due to a short Internet microcut but the plugin seems to not reconnected automatically.
                          Restarting the plugin manually solves immediatly.
                          Thanks for your help.

                          Edit :
                          I've restarted the plugin and could start my mower
                          mars-19 11:10:51 Worx Worx Landroid Cloud connected
                          but
                          mars-19 11:42:37 Worx Worx Landroid Cloud disconnected
                          This time, sure no Internet problem.
                          I've restarted the plugin and start my second mower. Let's see when it'll disconnect again.

                          Comment


                          • #14
                            Hi eole,

                            Thanks for reporting. I will check on reconnecting automatically. I believe there is some code that should take care of that but it is obviously failing. Keep me updated on this, and I will investigate here as well.

                            Thanks!
                            stefxx

                            Comment


                            • #15
                              Originally posted by stefxx View Post
                              Hi eole,

                              Thanks for reporting. I will check on reconnecting automatically. I believe there is some code that should take care of that but it is obviously failing. Keep me updated on this, and I will investigate here as well.

                              Thanks!
                              Identical issue here.

                              ---
                              John

                              Comment

                              Working...
                              X