• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • 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 22 Jul 2022, 11:41

    🍀

    1 Reply Last reply Reply Quote 1
    • J Offline
      JeeLet
      last edited by JeeLet 24 Jul 2022, 11:53

      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
      
      J 1 Reply Last reply 25 Jul 2022, 05:53 Reply Quote 0
      • J Offline
        jkandasa @JeeLet
        last edited by 25 Jul 2022, 05:53

        @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 25 Jul 2022, 07:08

          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

          J 1 Reply Last reply 25 Jul 2022, 11:48 Reply Quote 2
          • J Offline
            jkandasa @JeeLet
            last edited by 25 Jul 2022, 11:48

            @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
            • J Offline
              JeeLet
              last edited by JeeLet 25 Jul 2022, 13:43

              a reverse or a link to return
              video

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

              cool cool cool

              J 1 Reply Last reply 27 Jul 2022, 02:07 Reply Quote 0
              • J Offline
                jkandasa @JeeLet
                last edited by 27 Jul 2022, 02:07

                @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.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  JeeLet
                  last edited by JeeLet 27 Jul 2022, 10:12

                  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

                  J 1 Reply Last reply 27 Jul 2022, 13:05 Reply Quote 0
                  • J Offline
                    jkandasa @JeeLet
                    last edited by 27 Jul 2022, 13:05

                    @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!

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JeeLet
                      last edited by 28 Jul 2022, 11:36

                      👼 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 ???

                      J 1 Reply Last reply 29 Jul 2022, 01:13 Reply Quote 0
                      • J Offline
                        jkandasa @JeeLet
                        last edited by 29 Jul 2022, 01:13

                        @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
                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          JeeLet
                          last edited by JeeLet 29 Jul 2022, 07:54

                          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

                          J 1 Reply Last reply 29 Jul 2022, 13:09 Reply Quote 0
                          • J Offline
                            jkandasa @JeeLet
                            last edited by 29 Jul 2022, 13:09

                            @JeeLet said in miscellaneous question:

                            this does not work

                            can you share details of dashboard widget?

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              JeeLet
                              last edited by 29 Jul 2022, 13:26

                              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

                              J 1 Reply Last reply 29 Jul 2022, 14:49 Reply Quote 0
                              • J Offline
                                jkandasa @JeeLet
                                last edited by 29 Jul 2022, 14:49

                                @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
                                
                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  JeeLet
                                  last edited by 29 Jul 2022, 15:15

                                  ...@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
                                  
                                  
                                  J 1 Reply Last reply 29 Jul 2022, 15:37 Reply Quote 0
                                  • J Offline
                                    JeeLet
                                    last edited by JeeLet 29 Jul 2022, 15:23

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jkandasa @JeeLet
                                      last edited by jkandasa 29 Jul 2022, 15:37

                                      @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

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        JeeLet
                                        last edited by JeeLet 29 Jul 2022, 15:55

                                        widget_image_panel.jpg

                                        I would say only one thing
                                        BRAVO

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

                                        J 1 Reply Last reply 29 Jul 2022, 17:14 Reply Quote 0
                                        • J Offline
                                          JeeLet
                                          last edited by 29 Jul 2022, 16:19

                                          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
                                          
                                          J 1 Reply Last reply 29 Jul 2022, 17:13 Reply Quote 0
                                          34 out of 50
                                          • First post
                                            34/50
                                            Last post

                                          1

                                          Online

                                          588

                                          Users

                                          529

                                          Topics

                                          3.4k

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