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

    Armbian - MyC V2 - install

    Scheduled Pinned Locked Moved General Discussion
    40 Posts 3 Posters 3.5k 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

      This post is deleted!
      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @JeeLet
        last edited by

        @jeelet I will review the document and update you
        Thanks to report this issue

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

          Hello
          a beginning of a simple tutorial for an installation on OdroidN2
          lots of errors in commands
          I followed the guide
          the https://v2.mycontroller.org/docs/quick-installation/
          and the https://v2.mycontroller.org/docs/getting-started/install-influxdb/
          and https://forum.mycontroller.org/topic/242/installing-influxdb-on-orangepi-zero-opi

          but cella is very airtight for a half beginner

          so a tutorial to try
          thank you for your comeback

          install version Armbian :
          Armbian_20.05.2_Odroidc2_buster_current_5.6.15.img.xz

          Welcome to Armbian buster with Linux 5.6.15-meson64
          Welcome to Armbian buster with Linux 5.10.123-meson64
          (ancien noyau pour le RTC rtc_pcf8563 )

          		---------- start install -------------
          

          create a directories to keep MyController server data and executable - arm64

          	sudo mkdir -p /opt/apps/mycontroller/mc_home	
          

          download the bundle and extract on executable directory

          	cd /opt/apps/mycontroller
          

          download the bundle

          (List version : https://github.com/mycontroller-org/server/releases/tag/master)

          	sudo wget https://github.com/mycontroller-org/server/releases/download/master/mycontroller-server-master-linux-arm.tar.gz
          

          Arm64
          sudo wget https://github.com/mycontroller-org/server/releases/download/master/mycontroller-server-master-linux-arm64.tar.gz

          extract on executable directory

          	sudo tar xzf mycontroller-server-master-linux-arm.tar.gz  --strip-components=1 --directory /opt/apps/mycontroller
          

          Arm64
          sudo tar xzf mycontroller-server-master-linux-arm64.tar.gz --strip-components=1 --directory /opt/apps/mycontroller

          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
          

          status control

          	ls /opt/apps/mycontroller/mc_home
          

          ""insecure_share secure_share

          	ls /opt/apps/mycontroller/
          

          ""LICENSE.txt mcctl.sh mycontroller-server mycontroller.yaml README.txt web_console

          #key secret
          (in the terminal a "secret" key to be generated by the command :
          openssl rand -hex 16 (example: ae23aedf021xxxx0ec7146380 )

          #in the configuration file mycontroller.yaml

          sudo nano mycontroller.yaml
          

          (modify the beginning part with the new key:)

          Edit :change secret code in the file mycontroller.yaml

          I do have a secret: ae23aedf021xxxxx # !!! WARNING: CHANGE THIS SECRET !!!
          

          change also :

          	metric:
          	disabled: true (change it to false )
          
          		-------- Install InfluxDB  ------------
          

          configure influxdb repository

          	wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
          

          (depending on the version, it sends us a warning message)

          	sudo echo "deb https://repos.influxdata.com/debian buster stable" | sudo  tee  /etc/apt/sources.list.d/influxdb.list
          

          update package details to the local system

          	sudo apt update
          

          install influxdb and enable to run at startup

          	sudo apt install influxdb
          	sudo systemctl enable influxdb.service
          

          #Start InfluxDB

          	systemctl start influxdb.service
          

          (for a restart : systemctl restart influxdb.service )

          Start the MyController server

          			sudo ./mcctl.sh start
          

          ou
          sudo /opt/apps/mycontroller/mcctl.sh start
          (no order from the state??)

          ( Access MyController server Web UI)
          http: http://<host-ip>:8080 (example: http://192.168.1.141:8080)
          https: https://<host-ip>:8443 (example: https://192.168.1.201:8443

          ------------------ END --------------------
          

          tuto test on August 8, 2022 without error message

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

            the only error is the "Secret" command which does not pass.
            otherwise the installation is functional.
            and the automatic launch of MyController is not taken into account.
            good maintenance connection of the USB Gateway and Node RS485 🙂

            Thank you very much jkandasa for the work accomplished

            marco - English

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

              @jeelet good to see that your MC 2.0 is functional.
              secret is not a command, secret is used to encrypt your sensitive data.
              You have to update the secret in mycontroller.yaml file.
              NOTE: when you change the secret in mycontroller.yaml file, all your existing passwords/tokens (supplied via GUI) will not be working. You have to update those values again.

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

                hello

                "secret is not a command, secret is used to encrypt your sensitive data " 🙂

                in the file
                /opt/apps/mycontroller/executable/ mycontroller.yaml

                I do have a secret: 5a2f6ff25b0025aeae12ae096363b51a # !!! WARNING: CHANGE THIS SECRET !!!

                but how to get this key? what command used?

                • Another question (thanks for your time to inform us)

                in the yellow banner of the web page, I have a "Warning" message

                "WARNING: Metrics database disabled"

                What is the problem ?

                still the file mycontroller.yaml to modify 🙂

                "metric:
                disabled: true <----???
                type: influxdb
                uri: http://127.0.0.1:8086
                token:
                ....
                .."

                Thanks very much

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

                  @jeelet I used random string, you can use of your choose.
                  to get random string openssl rand -hex 16

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

                    @jeelet said in Armbian - MyC V2 - install:

                    What is the problem ?

                    you have to enable the metric database

                    disabled: false
                    type: influxdb
                    
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JeeLet
                      last edited by JeeLet

                      Hello

                      problem solved for "WARNING: Metrics database disabled"
                      thank you

                      text alternatif

                      and for secret

                          openssl rand -hex 16
                      

                      ~ 41acd1254xxxxxx 🙂 It's good
                      problem solved

                      (I am a beginner on certain part of the vast world of microcomputers:)
                      ... to be continued.
                      Thank you

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

                        @jeelet said in Armbian - MyC V2 - install:

                        (I am a beginner on certain part of the vast world of microcomputers:)
                        ... to be continued.

                        good to know that your problem solved.
                        and you are welcome 🙂

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

                          one last question 🙂 😞

                          • how to install multiple locale support , French .

                          a command or files to copy? crushed?
                          what directory?
                          but what right to give them? (root!)

                          after that I leave you alone 😉

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

                            @jeelet you can ask as may questions you have. no problem at all.
                            For locale I have setup for different languages. But till now no translator available for languages.
                            You can create a account in transifex.com and send a request to French language.
                            Once I approved, you can start the translation
                            to get your changes, I have to rebuild the MyController v2.
                            MyController v2 locale: https://www.transifex.com/mycontrollerorg/version2/

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

                              hello Jkandasa

                              account created on Transifex, waiting for approval!

                              I'm going to test MyController version 1.5 on an odroid C2

                              I continue my exploration 😉

                              here is a link for information that you may know http://learntohackit.com/intro/

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

                                @jeelet

                                account created on Transifex, waiting for approval!

                                I do not see a request. can you please send your transifex user id via chat?

                                I'm going to test MyController version 1.5 on an odroid C2

                                If you are new to MyController, I would recommend you start from MyController v2
                                in v 1.x you do not see new features, will be addressed only critical issues in v1.x.

                                here is a link for information that you may know http://learntohackit.com/intro/

                                It is a new. I do not know that. Is that page maintained by you?

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

                                  "Your account is already activated." 🙂

                                  I have my account on Transifex with my name JeeLet
                                  I've renewed my membership to the mycontrollerorg V2 group
                                  but this time the French is not in the list for the choice of the Language ??
                                  so I took Russian, it's fashionable. 🙂

                                  and for the link of learntohackit, no it's not me
                                  only for information to pick

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

                                    for the reason of the test of the version 1.5

                                    • the pdf documentation is more detailed

                                    • more functionality, for example, the MyController time does not appear version V2
                                      ( maybe a mistake from my part


                                    I tested to test with Azul (java)
                                    https://docs.azul.com/core/zulu-openjdk/install/debian#install-from-azul-apt-repository

                                    sudo ./start.sh
                                    /usr/bin/java
                                    java version: 11.0.14.1
                                    Mycontroller.org server required java version 1.7 or later

                                    so I continue on version 2 🙂

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

                                      @jeelet said in Armbian - MyC V2 - install:

                                      but this time the French is not in the list for the choice of the Language ??

                                      now, you are in French and Russian

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

                                        @jeelet said in Armbian - MyC V2 - install:

                                        more functionality, for example, the MyController time does not appear version V2

                                        thanks, I will add those in V2

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

                                          text alternatif

                                          a screenshot of the V2 version compared with the 1.5 version (a view given by the pdf, I did not install the v1.5)

                                          and yes I have received the authorization for Transifex.

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

                                            @jeelet said in Armbian - MyC V2 - install:

                                            a screenshot of the V2 version compared with the 1.5 version (a view given by the pdf, I did not install the v1.5)

                                            MyController v2 completely redesigned. Backend/ frontend changed completely.
                                            We may not map the options 1:1, however we can achieve similar features in v2.

                                            Approx Mapping:

                                            v1 v2
                                            Sensor Source
                                            Sensor Variable Field
                                            Variable Data repository
                                            Rule Task
                                            Timer Schedule
                                            Operation Handler

                                            Supported Providers as on Mar 2022:

                                            v1 v2
                                            MySensors MySensors
                                            PhilipsHue PhilipsHue
                                            MyController (native) System Monitoring
                                            RFLink Tasmota
                                            Weather Underground ESPHome
                                            Generic

                                            in v2, most of the graphs goes in to Chart Panel and Utilization Panel widgets
                                            for now bullet graph, heatmap chart, MyController time, Sunrise and Sunset time not available in v2.

                                            and yes I have received the authorization for Transifex.

                                            +1

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

                                            0

                                            Online

                                            587

                                            Users

                                            529

                                            Topics

                                            3.4k

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