Announcement

Collapse
No announcement yet.

Chart doesn't show data if expression used

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

    Chart doesn't show data if expression used

    Hi, all. I'm getting into mcsMQTT for a new Shelly 1PM I just ordered. The /temperature_f topic didn't seem to be received reliably so I used the expression $$PAYLOAD: * 1.8 + 32 as shown in the manual. Unfortunately, the chart that comes up if I click the payload value in the MQTT association table contains no data. X shows a reasonable time period but Y is scaled for the pre-expression data and contains no data. If I remove the expression and refresh the chart the data shows up with X & Y remaining basically the same.

    Am I doing something wrong?

    Here are a couple images, one without expression and one with.




    #2
    Fixed in http://mcsSprinklers.com/HSPI_mcsMQTT_5_6_3_2.zip for HS4 and http://mcsSprinklers.com/mcsMQTT_5_6_3_2.zip for HS3. If you do not already know how to use the updater override then I can explain if you tell me which of the two plugins you are using.

    Comment


      #3
      Interestingly enough I just was checking the forum to see if anyone else was having this issue after I ran into it. Could you let me know how to use the updater override? I'm still using HS3.

      Thanks

      Comment


        #4
        There was a chart update to handle ability to specify 2nd Y axis range in http://mcsSprinklers.com/mcsMQTT_5_6_3_3.zip so you might as well used this one for the update.

        Instructions paraphrased from the HST HS3 SDK:

        Place your package installation ZIP file into the \Updates3\Zips folder.
        Unzip from the download installation ZIP the file updater_override.txt and copy it into the HomeSeer folder directory.
        Now go to the menu Pluginsā€>Manage and click on the Refresh button so it finds your updater_override.txt file and it should list your package.

        Comment


          #5
          Thanks for the instructions. I was able to update to 5.6.3.3, but when attempting to display a chart I get the error "Error Generating Chart: Line Conversion from string "" to type 'Double' is not valid." This happens after selecting my criteria, and then hitting the "Show Selected Chart" box in the Chart tab.

          I'm using the same experession as described in the first message. (Converting a subscribed MQTT value from Celsius to Fahrenheit)

          Any idea what I might have done wrong?

          Comment


            #6
            The message indicates that the payload is not a number and specifically the payload is blank. Charts are made from mcsMQTT History.db which is in the \Data\mcsMQTT folder. Zip up and post this file along with the topic you are trying to chart. Either post it or email to mcsSolutions at CenturyTel dot net.

            Comment

            Working...
            X