Announcement

Collapse
No announcement yet.

Only seeing some HS devices ??

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

    Only seeing some HS devices ??

    I just installed the plugin and am a bit confused about a couple of things. It may well be pilot error, but I figured I would post. For now, the only thing I want to use the plugin for is to send data to InfluxDB for use with Grafana.

    From what I've read in forum posts, I should just be able to go to the Associations page, check the "Include Non-Plugin HS Devices" checkbox, and then check the "i" column for the devices I want to send.

    However - when I do that, I'm not seeing all my HS devices. The first one I see is a much higher ref than the actual first device. The same is true for the other end. I have a number of devices with refs that are higher than the last one I see in the list.

    I should add that I'm not setting any filters on the Associations page. Am I doing something wrong?

    #2
    The General tab has a setting at the bottom and a button to enumerate HS devices. It is a CPU expensive operation so the default is to only do it with button, but it can be done at startup.

    After using this button do you still have an issue?

    Comment


      #3
      Unfortunately, yes. Until I pushed that button, I didn't have any devices. 😉

      Comment


        #4
        Are you indicating that originally you had no entries in Association tab. After pressing Enumeration button you have some, but not the ones you want?

        The Association tab has filtering based upon non-plugin and plugin, filter based upon Device properties, and filter based upon topic. The 2nd and 3rd clear button should be used. The first should have non-plugin checkbox. Following that the Show selected button is pushed to populate the table.

        look in HS log for any errors. If you still have issue I can restore debug related to getting the non-plugin devices.

        Comment


          #5
          Yup - that's what I saw. I was not doing any filtering, but I just looked in the log and found that I've gotten this error a lot of times (it appears to get logged every time I go to the Associations page).

          Code:
          BuildAssociationTableForward at MCSMQTTHS4_2020.MQTTASP.HistoryCellEntry(MqttReport oMQTTReport, String sIndex) in C:\Users\Public\Documents\TFVC\HS\MQTT\MCSMQTTHS4_2020\MQTTASP.vb:line 9998 at MCSMQTTHS4_2020.MQTTASP.HistoryColumn(String sIndex, MqttReport oMQTT) in C:\Users\Public\Documents\TFVC\HS\MQTT\MCSMQTTHS4_2020\MQTTASP.vb:line 9861 at MCSMQTTHS4_2020.MQTTASP.BuildAssociationTableForward() in C:\Users\Public\Documents\TFVC\HS\MQTT\MCSMQTTHS4_2020\MQTTASP.vb:line 9645 Line 9998 Object reference not set to an instance of an object.

          Comment


            #6
            Can you zip /data/mcsMQTT.db and email to mcsSolutions at CenturyTel dot net or post. It will be the easiest way to investigate.

            Comment


              #7
              Email sent. 🙂

              Comment


                #8
                Your database looks fine and when I run with it I get the set of non-plugin devices in the Association tab. The HS Log error points to the subscription topic being Null rather than a string of zero length. There are explicit tests during initialization to assure everything from the database does not have Null objects. Have you restarted the plugin since using the Emumerate button?

                If the restart still results in failure then unzip the attached in the \bin\mcsMQTT folder. It has explicit check for Null object where the error was reported in the Log.
                Attached Files

                Comment


                  #9
                  I still got the error after restarting the plugin. So I stopped the plugin again, copied those two files, and started it again. Now I'm seeing all my devices.

                  I'm not sure if I have InfluxDB correctly configured yet, but if I run into issues with that, I'll create a new post. Thanks for the quick response!

                  Also a pat on the back for you. I've worked in IT for decades, and your documentation is better than some commercial software I've seen. Also, this plugin is amazingly feature dense. Thanks for providing this to everyone! 🙂

                  Comment

                  Working...
                  X