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

    miscellaneous question

    scheduled pinned locked moved General Discussion
    50 posts 3 posters 15.6k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • 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
            • jkandasaJ offline
              jkandasa @JeeLet
              global:last-edited-by,

              @JeeLet said in miscellaneous question:

              this does not work

              can you share details of dashboard widget?

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

                Yaml view

                id: 39de50a6-1aaa-4f15-9394-205c3e547193
                title: Panel Title
                showTitle: true
                scrollbarDisabled: false
                static: false
                type: widget_image_panel
                layout:
                  w: 52
                  h: 113
                  x: 0
                  'y': 0
                config:
                  field: {}
                  imageLocation: /secure_share/image/architecture.png
                  refreshInterval: 0
                  rotation: '0'
                  sourceType: disk
                

                image de 155,8kB https://github.com/mycontroller-org/documentation/blob/master/static/doc-images/architecture.png

                in /opt/apps/mycontroller/mc_home/secure_share/image

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

                  @JeeLet I am unable to reproduce the issue
                  my setup

                  $ tree mycontroller
                  mycontroller
                  ā”œā”€ā”€ LICENSE.txt
                  ā”œā”€ā”€ logs
                  │   └── mycontroller.log
                  ā”œā”€ā”€ mcctl.sh
                  ā”œā”€ā”€ mc_home
                  │   ā”œā”€ā”€ certs
                  │   │   └── https_ssl
                  │   │       ā”œā”€ā”€ mc_generated.crt
                  │   │       └── mc_generated.key
                  │   ā”œā”€ā”€ data
                  │   │   └── storage
                  │   │       └── memory_db
                  │   │           └── yaml
                  │   │               ā”œā”€ā”€ dashboard__1.yaml
                  │   │               ā”œā”€ā”€ settings__1.yaml
                  │   │               └── user__1.yaml
                  │   ā”œā”€ā”€ insecure_share
                  │   │   └── test.txt
                  │   ā”œā”€ā”€ logs
                  │   └── secure_share
                  │       └── image
                  │           └── architecture.png
                  ā”œā”€ā”€ mycontroller-server
                  ā”œā”€ā”€ mycontroller.yaml
                  

                  file size:

                  $ ls -lh mycontroller/mc_home/secure_share/image/architecture.png 
                  -rw-rw-r--. 1 root root 153K Jul 29 20:13 mycontroller/mc_home/secure_share/image/architecture.png
                  

                  widget:

                  639e9596-204c-4d42-8f09-1c704c0b6830-image.png

                  id: 500d9d31-9dad-47fe-a696-0999ebd31215
                  title: Panel Title
                  showTitle: true
                  scrollbarDisabled: false
                  static: false
                  type: widget_image_panel
                  layout:
                    w: 52
                    h: 113
                    x: 0
                    'y': 0
                  config:
                    field: {}
                    imageLocation: /secure_share/image/architecture.png
                    refreshInterval: 0
                    rotation: '0'
                    sourceType: disk
                  
                  one-reply-to-this-post last-reply-time reply quote 0
                  • J offline
                    JeeLet
                    global:last-edited-by,

                    ...@odroidc2:/opt/apps$ tree mycontroller
                    mycontroller
                    ā”œā”€ā”€ executable
                    │   ā”œā”€ā”€ LICENSE.txt
                    │   ā”œā”€ā”€ logs
                    │   │   └── mycontroller.log
                    │   ā”œā”€ā”€ mcctl.sh
                    │   ā”œā”€ā”€ mc_home
                    │   │   ā”œā”€ā”€ certs
                    │   │   │   └── https_ssl
                    │   │   │       ā”œā”€ā”€ mc_generated.crt
                    │   │   │       └── mc_generated.key
                    │   │   ā”œā”€ā”€ data
                    │   │   │   ā”œā”€ā”€ firmware
                    │   │   │   └── storage
                    │   │   │       └── memory_db
                    │   │   │           └── yaml
                    │   │   │               ā”œā”€ā”€ dashboard__1.yaml
                    │   │   │               ā”œā”€ā”€ data_repository__1.yaml
                    │   │   │               ā”œā”€ā”€ field__1.yaml
                    │   │   │               ā”œā”€ā”€ gateway__1.yaml
                    │   │   │               ā”œā”€ā”€ handler__1.yaml
                    │   │   │               ā”œā”€ā”€ node__1.yaml
                    │   │   │               ā”œā”€ā”€ schedule__1.yaml
                    │   │   │               ā”œā”€ā”€ settings__1.yaml
                    │   │   │               ā”œā”€ā”€ source__1.yaml
                    │   │   │               └── user__1.yaml
                    │   │   ā”œā”€ā”€ logs
                    │   │   │   └── gateway_logs
                    │   │   │       ā”œā”€ā”€ gw_Gw485.log
                    │   │   │       ā”œā”€ā”€ gw_Gw485.log.20220722_195619
                    │   │   │       └── gw_GwCan.log
                    │   │   └── tmp
                    │   ā”œā”€ā”€ mycontroller-server
                    │   ā”œā”€ā”€ mycontroller.yaml
                    │   ā”œā”€ā”€ README.txt
                    │   ....
                    .......
                    │               ā”œā”€ā”€ RedHatTextVFModified-updated.2aa8547f.woff2
                    │               └── RedHatTextVF-updated-ItalicModified.9abd7afa.woff2
                    ā”œā”€ā”€ mc_home
                    │   ā”œā”€ā”€ insecure_share
                    │   └── secure_share
                    │       └── image
                    │           ā”œā”€ā”€ architecture_mini.png
                    │           ā”œā”€ā”€ architecture.png
                    │           ā”œā”€ā”€ BB.gif
                    │           ā”œā”€ā”€ sablineige.jpg
                    │           ā”œā”€ā”€ sablineigem.png
                    │           ā”œā”€ā”€ sablineige.png
                    │           └── server-setup.png
                    └── mycontroller-server-master-linux-arm64.tar.gz.1
                    
                    ls -lh mycontroller/mc_home/secure_share/image/architecture.png
                    -rw-rw-r-- 1 root root 153K juil. 29 14:53 mycontroller/mc_home/secure_share/image/architecture.png
                    
                    
                    jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                    • J offline
                      JeeLet
                      global:last-edited-by, JeeLet

                      Well, that's okay, we'll just put it aside.
                      We'll see later.

                      I will probably do a new installation. šŸ™‚
                      I'm testing tomorrow a webcam and mjpg-streamer
                      https://www.sigmdel.ca/michel/ha/rpi/guide_rpios_03_en.html#video-streamer

                      merci jkandasa

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

                        @JeeLet I think I found the issue in your setup
                        move the mycontroller/mc_home into mycontroller/executable/mc_home

                        your files should be under mycontroller/executable/mc_home/secure_share or mycontroller/executable/mc_home/insecure_share

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

                          widget_image_panel.jpg

                          I would say only one thing
                          BRAVO

                          a question: what software do you use for the graphic "architecture.png" ??

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

                            so this part is not good ???
                            Re : Armbian - MyC V2 - install

                            create directories to keep image files to show it MyController dashboard
                            	sudo mkdir -p /opt/apps/mycontroller/mc_home/secure_share
                            	sudo mkdir -p /opt/apps/mycontroller/mc_home/insecure_share
                            
                            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:

                              so this part is not good ???

                              Yes, should be as follows,

                              sudo mkdir -p /opt/apps/mycontroller/executable/mc_home/secure_share
                              sudo mkdir -p /opt/apps/mycontroller/executable/mc_home/insecure_share
                              

                              To avoid all the confusions, I would say, You can keep everything inside mycontroller directory. Not in mycontroller/executable

                              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 question: what software do you use for the graphic "architecture.png" ??

                                I use google doc and insert "drawing" download as png

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

                                  a test with LibreOffice Draw šŸŽ¢

                                  Loo Draw

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

                                    for a clearer view of the state, a mental comfort.
                                    on which scale we are ?

                                    yes one more thing can be possible šŸ™‚

                                    pdf vue

                                    šŸ¦

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

                                      @JeeLet I will check the possibilities on the chart. to track this I have added GH issue: https://github.com/mycontroller-org/console-web/issues/15

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

                                        on the drawing I forgot to put also the
                                        start/end the mini/maxi 0/50

                                        šŸŗ

                                        one-reply-to-this-post last-reply-time reply quote 1
                                        • first-post
                                          last-post

                                        1

                                        online

                                        644

                                        users

                                        532

                                        topics

                                        3.4k

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