• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    miscellaneous question

    scheduled pinned locked moved General Discussion
    50 posts 3 posters 15.7k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • J offline
      JeeLet
      global:last-edited-by, JeeLet

      unnecessary message is cumbersome

      ... Delete ..... 🙂

      one-reply-to-this-post last-reply-time reply quote 0
      • skywatchS offline
        skywatch
        global: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.

        one-reply-to-this-post last-reply-time reply quote 1
        • J offline
          JeeLet
          global: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

          one-reply-to-this-post last-reply-time reply quote 0
          • J offline
            JeeLet
            global: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 one-reply-to-this-post last-reply-time reply quote 0
            • jkandasaJ offline
              jkandasa @JeeLet
              global: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

              one-reply-to-this-post last-reply-time reply quote 0
              • jkandasaJ offline
                jkandasa @JeeLet
                global: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

                one-reply-to-this-post last-reply-time reply quote 0
                • J offline
                  JeeLet
                  global: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 one-reply-to-this-post last-reply-time reply quote 0
                  • jkandasaJ offline
                    jkandasa @JeeLet
                    global: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.

                    one-reply-to-this-post last-reply-time reply quote 0
                    • J offline
                      JeeLet
                      global:last-edited-by, JeeLet

                      🍀

                      one-reply-to-this-post last-reply-time reply quote 1
                      • J offline
                        JeeLet
                        global: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 one-reply-to-this-post last-reply-time reply quote 0
                        • jkandasaJ offline
                          jkandasa @JeeLet
                          global: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?

                          one-reply-to-this-post last-reply-time reply quote 0
                          • J offline
                            JeeLet
                            global: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 one-reply-to-this-post last-reply-time reply quote 2
                            • jkandasaJ offline
                              jkandasa @JeeLet
                              global: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 🙂

                              one-reply-to-this-post last-reply-time reply quote 1
                              • J offline
                                JeeLet
                                global:last-edited-by, JeeLet

                                a reverse or a link to return
                                video

                                For https://github.com/mycontroller-org/console-web/issues/11
                                .... for the continuation

                                cool cool cool

                                jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                                • jkandasaJ offline
                                  jkandasa @JeeLet
                                  global:last-edited-by,

                                  @JeeLet said in miscellaneous question:

                                  a reverse or a link to return

                                  I think it is not a good idea to add dashboard link on field and other entities location. Browser back button works on this scenario.

                                  one-reply-to-this-post last-reply-time reply quote 0
                                  • J offline
                                    JeeLet
                                    global:last-edited-by, JeeLet

                                    the idea was to stay in the MyController application.

                                    But yes, using the browser backspace is a solution.

                                    ... yes it is very easy for me to say, do this do that when I am in my Hammock

                                    jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                                    • jkandasaJ offline
                                      jkandasa @JeeLet
                                      global:last-edited-by,

                                      @JeeLet said in miscellaneous question:

                                      ... yes it is very easy for me to say, do this do that when I am in my Hammock

                                      It is not like that. When we collaborate tougher we will get a great product at the end. You have given lot of awesome ideas and most of them implemented. But all the ideas not always win. It is easy to implement a link on other entities to dashboard. But I am afraid. It may pollute other pages. I will keep this in mind and if possible I will implement this in different way. Your ideas are always welcome!

                                      one-reply-to-this-post last-reply-time reply quote 0
                                      • J offline
                                        JeeLet
                                        global:last-edited-by,

                                        👼 Thank you for your philosophy, I am less bothered.

                                        so I keep asking questions 🙂

                                        the image panel widget has 3 types:

                                        • Field (test)
                                        • URL (test)
                                        • Disk /??)

                                        I tested with an image, png or jpeg format, large and small format, but nothing.

                                        in Location there is : /home/toto/image/sablineigem.png

                                        this function is for What ????

                                        and a local webcam is possible ???

                                        jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                                        • jkandasaJ offline
                                          jkandasa @JeeLet
                                          global:last-edited-by,

                                          @JeeLet said in miscellaneous question:

                                          in Location there is : /home/toto/image/sablineigem.png
                                          this function is for What ????
                                          and a local webcam is possible ???

                                          What do you have configured on the mycontroller.yaml in directories in secure_share and insecure_share,

                                          directories:
                                            data: /mc_home/data
                                            logs: /mc_home/logs
                                            tmp: /mc_home/tmp
                                            secure_share: /mc_home/secure_share 
                                            insecure_share: /mc_home/insecure_share
                                          
                                          • insecure_share - works without login
                                          • secure_share - works on logged in session
                                            I would recommend to go with secure_share in most of the cases.

                                          Usage example based on the above configuration:

                                          • I have put an image in /mc_home/secure_share/toto/image/sablineigem.png
                                          • In dashboard I can access as follows, /secure_share/toto/image/sablineigem.png
                                            c5fbd822-24f1-498e-b060-08e8d429a27d-image.png

                                          The same way for insecure_share can be added in dashboard. in addition insecure share can be accessible outside dashboard like this,

                                          • /mc_home/insecure_share/toto/image/sablineigem.png >> http://localhost:8080/insecure_share/toto/image/sablineigem.png
                                          one-reply-to-this-post last-reply-time reply quote 0
                                          • J offline
                                            JeeLet
                                            global:last-edited-by, JeeLet

                                            this does not work

                                            with user root , create directory /image
                                            in /opt/apps/mycontroller/mc_home/secure_share/image
                                            with the images in it
                                            (small and big size and .png .jpg .gif)

                                            I tried adding in mycontroller.yaml

                                            directories:
                                              data: mc_home/data
                                              logs: mc_home/logs
                                              tmp: mc_home/tmp
                                              secure_share: mc_home/secure_share
                                              insecure_share: mc_home/insecure_share
                                              image: mc_home/secure_share/image 
                                            

                                            I restarted MyC ..... and still nothing

                                            I let the cake cool down and come back later 🍵

                                            doc : https://v2.mycontroller.org/docs/advanced-installation/backend-configuration/#directories

                                            jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                                            • first-post
                                              last-post

                                            0

                                            online

                                            644

                                            users

                                            532

                                            topics

                                            3.4k

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