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

    miscellaneous question

    Scheduled Pinned Locked Moved General Discussion
    50 Posts 3 Posters 3.6k Views 1 Watching
    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.
    • J Offline
      JeeLet
      last edited by JeeLet

      Ouch
      the translation of the languages, or the puns are not clear 🙂

      I simplify my text, and also you have partly answered my question.

      how to use "LastSeen"
      . to make an action. but how?
      . the value can it be put in a widget, for a synoptic with the dashboard
      ( to have a dashboard of some elements of the system, monitoring on a single page of several different families, states and temperatures 🙂

      the concept of
      synoptic
      supervisor

      to have on the same page, an overview of the important elements.
      . System alarms (MyS, status of nodes and other elements)

      • Equipment alarms (house, temperatures, intrusion ...)
      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @JeeLet
        last edited by

        @JeeLet It is possible to put the node status on the dashboard, select Node resource and use the key state.status. To know other possible keys just look at node edit page and yaml view. nested keys can be formed with .

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

          I still don't understand some of the subtleties of MyController 😞

          I tested as you say, but nothing works.

          the Yaml file

          title: Panel Title
          showTitle: true
          scrollbarDisabled: false
          static: false
          type: widget_control_panel
          layout:
            w: 28
            h: 54
            x: 0
            'y': 90
          config:
            resource:
              filters:
                metricType: binary
              type: field
            resources:
              - control:
                  config:
                    options:
                      state.status: ''
                  type: options_tab
                resource:
                  nameKey: stat56
                  quickId: GwCan.56
                  type: node
              - control:
                  config:
                    options:
                      state.status: ''
                  type: options_tab
                resource:
                  nameKey: stat55
                  quickId: GwCan.55
                  type: node
            tableView: true
            type: mixed_control
          

          putting the status of the nodes and gateway on the dashboard is a good thing.

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @JeeLet
            last edited by

            @JeeLet I will try to document MyController things,
            for now you can go with the followings, It shows list of nodes and gateways,
            If you want to display on the mixed resources, I can give an example, let me know

            Nodes

            id: 8cd43dbd-b873-4712-b855-789a6501e673
            title: Nodes Status
            showTitle: true
            scrollbarDisabled: false
            static: false
            type: widget_utilization_panel
            layout:
              w: 33
              h: 117
              x: 31
              'y': 0
            config:
              resource:
                displayName: true
                filter: {}
                filterType: detailed_filter
                isMixedResources: false
                limit: 10
                nameKey: name
                quickId: ''
                resources: []
                roundDecimal: 0
                timestampKey: lastSeen
                type: node
                unit: ''
                valueKey: state.status
              table:
                displayStatusPercentage: false
                hideBorder: false
                hideStatusColumn: true
                hideValueColumn: false
                maximumValue: 100
                minimumValue: 0
                thresholds: {}
              type: table
            

            Gateways

            id: bf2e078a-b4eb-4df2-b119-773ae47909ef
            title: Gateway Status
            showTitle: true
            scrollbarDisabled: false
            static: false
            type: widget_utilization_panel
            layout:
              w: 31
              h: 118
              x: 64
              'y': 0
            config:
              resource:
                displayName: true
                filter: {}
                filterType: detailed_filter
                isMixedResources: false
                limit: 10
                nameKey: id
                quickId: ''
                resources: []
                roundDecimal: 0
                timestampKey: state.since
                type: gateway
                unit: ''
                valueKey: state.status
              table:
                displayStatusPercentage: true
                hideBorder: false
                hideStatusColumn: true
                hideValueColumn: false
                maximumValue: 100
                minimumValue: 0
                thresholds: {}
              type: table
            

            b21db84f-57af-4971-a7c9-965b7b48eae8-image.png

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

              Thank you @jkandasa

              it's very good like that , it works well

              I put at 10minute /Node State Updater/ Execution Interval

              "I'll try to document things MyController," ... yes the Labels / Key /Value part
              . what tree structure
              . family ? structure ???
              . how to use them ?? create them ??

              jkandasaJ 1 Reply Last reply Reply Quote 1
              • jkandasaJ Offline
                jkandasa @JeeLet
                last edited by

                @JeeLet said in miscellaneous question:

                . what tree structure
                . family ? structure ???
                . how to use them ?? create them ??

                You can refer the source code for all the keys. I will create document for this. but it will time 😉

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

                  Hello jkandasa

                  It's been a long time, I hope you are well.

                  a question about the visualization of the curves of measurements.

                  On my Dashboard I have to add a widget to visualize the values with the
                  "Field Details" which is more flexible to use.

                  here is an image for the explanation text alternatif

                  In the example, there is no way to do it by clicking on the element
                  V_LIGHT_LEVEL element of the "LuX panel"?

                  Thanks

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

                    unnecessary message is cumbersome

                    ... Delete ..... 🙂

                    1 Reply Last reply Reply Quote 0
                    • skywatchS Offline
                      skywatch
                      last edited by

                      your issue could be in a number of places but if it helps for the BH1750 sensor I use V_LEVEL and S_LIGHT_LEVEL

                      MC does not need to know what the units are as you can change this to whatever you want.

                      1 Reply Last reply Reply Quote 1
                      • J Offline
                        JeeLet
                        last edited by

                        Hello

                        I just realized that I've done something wrong 😞

                        S_LIGHT_LEVEL    ---  to --->     S_LEVEL
                        

                        thank you skywatch for cleaning my glasses

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

                          there are days that are not easy

                          the Lux Unit does not want to be considered
                          the part of the Yaml file

                          fieldId: V_LEVEL
                          name: V_LEVEL
                          metricType: gauge_float
                          ....
                          unit: ''    <------ ????
                          labels:
                            ms_node_id: '58'
                            ms_sensor_id: '5'
                            ms_type: '37'
                            ms_type_string: V_LEVEL
                          

                          I give it the "Lux" value but it doesn't keep it 😞

                          jkandasaJ 1 Reply Last reply Reply Quote 0
                          • jkandasaJ Offline
                            jkandasa @JeeLet
                            last edited by jkandasa

                            @JeeLet I give it the "Lux" value but it doesn't keep it 😞

                            You can ignore the default unit by adding a label ignore_unit:true, this is applicable for name and metric type.
                            if you change any of the following from the default to custom value use ignore_* label.

                            Example:

                            • I changed the name, unit, and metricType
                            labels:
                              ignore_name: "true"
                              ignore_unit: "true"
                              ignore_metric_type: "true"
                            

                            to know more about defined labels: https://github.com/mycontroller-org/server/blob/6ce7df3a32325af16fb87b638cd45c58110cbe1d/pkg/types/labels.go

                            1 Reply Last reply Reply Quote 0
                            • jkandasaJ Offline
                              jkandasa @JeeLet
                              last edited by

                              @JeeLet said in miscellaneous question:

                              In the example, there is no way to do it by clicking on the element

                              I could not find a way to click from legend. I have created a GH issue to track this. In the future we may resolve this. https://github.com/mycontroller-org/console-web/issues/11

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

                                Thank you
                                The Lux are well La 🙂
                                (ignore_unit:true is good)

                                For my 2nd question "click from the legend"

                                here I talked about the problem that when you are in "Edit" mode of a widget
                                https://forum.mycontroller.org/topic/510/vokoscreen

                                can we put this function back when we are in "Visualization" mode?

                                clicking on the curve is as good, even better

                                jkandasaJ 1 Reply Last reply Reply Quote 0
                                • jkandasaJ Offline
                                  jkandasa @JeeLet
                                  last edited by

                                  @JeeLet said in miscellaneous question:

                                  can we put this function back when we are in "Visualization" mode?

                                  It is back already. the group chart and mixed chart is not designed the way other charts behave. So drill down is not implemented in those charts. I will find a way for this.

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

                                    🍀

                                    1 Reply Last reply Reply Quote 1
                                    • J Offline
                                      JeeLet
                                      last edited by JeeLet

                                      Hello
                                      you say that ". It is already back. the group graph and the mixed graph".
                                      ok, but no it has no change !
                                      (I tell you this for information, it's not important)

                                      but I just redid an install with the last version

                                      e 24 juillet 2022
                                      Server
                                      Host ID   : 91ffxxxxxxx
                                      Version  : master
                                      .....
                                      Build Date  : 2022-07-06T11:05:29+00:00
                                      GoLang Version  :  go1.18.3 (linux, arm64)
                                      
                                      Web Console
                                      Version  :  master
                                      .....
                                      Build Date  :  2022-06-07T15:13:36+00:00
                                      React Version  ; 17.0.2
                                      
                                      jkandasaJ 1 Reply Last reply Reply Quote 0
                                      • jkandasaJ Offline
                                        jkandasa @JeeLet
                                        last edited by

                                        @JeeLet said in miscellaneous question:

                                        you say that ". It is already back. the group graph and the mixed graph".

                                        This is feature is not available for group graph and mixed graph from the beginning.
                                        Do you see any issues on the other widgets?

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

                                          re-Edit

                                          Merci, I finally understood about the curves, excuse me .

                                          .... next, "Do you see problems on the other widgets ?"
                                          No everything is good, the widgets are easy to duplicate, the system is stable and responsive; really good ... great MyC.

                                          a new question 🙂
                                          is it possible to navigate between the dashboards without going through the top dropdown menu?
                                          widgets that call other pages, other dashbords!

                                          a good week to you

                                          jkandasaJ 1 Reply Last reply Reply Quote 2
                                          • jkandasaJ Offline
                                            jkandasa @JeeLet
                                            last edited by

                                            @JeeLet said in miscellaneous question:

                                            is it possible to navigate between the dashboards without going through the top dropdown menu?
                                            widgets that call other pages, other dashbords!

                                            This is a cool idea. I will think about this.

                                            a good week to you

                                            you too 🙂

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

                                            1

                                            Online

                                            589

                                            Users

                                            529

                                            Topics

                                            3.4k

                                            Posts
                                            Copyright © 2015-2025 MyController.org | Contributors | Localization