• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    MyController V2.0 no metrics on the Dashboard

    Troubleshooting
    3
    6
    28
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vidpix last edited by jkandasa

      Hey all,

      I installed MyController v2.0 on a NanoPi.
      InfluxDB v1 is up and running.
      I also connected a MySensors serial Gateway plus few sensors - all good:

      4608ca47-61e8-436e-ad96-dec5a028e483-image.png

      But I´m not able to show any metrics on the Dashboard ;(
      The Resource config for a Line Chart looks like:
      58a3175f-bc94-4256-aec8-398bfffafb83-image.png

      but I´m always getting > Error: no resource available to get metric data
      Any hint on this?
      Or documentation for v2.0 yet..?

      ;))

      Thank you so much!

      jkandasa 1 Reply Last reply Reply Quote 0
      • J
        JeeLet last edited by JeeLet

        in Yaml format it's easier to understand your problem.

        welcome with MyController, the minimalist of the minimalists 🙂

        Here is an example of a temperature sensor on one of my Dasboards

        8565-f5945591f8bc
        title: Sallon  -  Sensor Temp   -  12hours
        showTitle: true
        scrollbarDisabled: false
        static: false
        type: widget_utilization_panel
        layout:
          w: 37
          h: 53
          x: 35
          'y': 0
        config:
          chart:
            color: '#ffa940'
            fillOpacity: 15
            height: 70
            interpolation: basis
            strokeWidth: 1.5
            thickness: 20
            yAxisMaxValue: ''
            yAxisMinValue: ''
          metric:
            duration: '-12h'
            interval: 3m
            metricFunction: percentile_99
            refreshInterval: '300000'
          resource:
            displayName: true
            filter: {}
            filterType: quick_id
            isMixedResources: false
            nameKey: name
            quickId: GwRs485.33.9.V_TEMP
            resources: []
            roundDecimal: 0
            timestampKey: current.timestamp
            type: field
            unit: deg
            valueKey: current.value
          table: {}
          type: spark_area
        
        
        1 Reply Last reply Reply Quote 1
        • V
          vidpix last edited by

          ...changing to Utilization Panel did the trick!
          Now I´m getting metrics into the Dashboard 🙂
          Also the filter looks logical to me (GW.Node.Type.Value):

          1 Reply Last reply Reply Quote 0
          • V
            vidpix last edited by

            609c3243-176b-45b4-812a-4514391859f2-image.png

            1 Reply Last reply Reply Quote 0
            • V
              vidpix last edited by

              btw:
              could you pls change the topic into:
              "MyController V2.0 no metrics on the Dashboard"
              if that makes sense 😉

              Thank you so much

              1 Reply Last reply Reply Quote 1
              • jkandasa
                jkandasa @vidpix last edited by

                @vidpix welcome to MyController 🙂
                if you use labels as filter append labels. as prefix of the key.
                samples: labels.ms_node_id, labels.ms_sensor_id

                in the filter key you can choose anything. you can easily understand if you see yaml view of a field.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                0
                Online

                647
                Users

                506
                Topics

                3.3k
                Posts

                Copyright © 2015-2023 MyController.org | Contributors | Localization