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

    Armbian - MyC V2 - install

    General Discussion
    2
    20
    316
    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
      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 the executable binary MyController.org 2.x on your linux machine

      Welcome to Armbian 22.02.1 with Linux 5.10.102-meson64
      ---------- start install -------------

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

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

      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
      

      download the bundle and extract on executable directory

      	cd /opt/apps/mycontroller
      

      ""opt/apps/mycontroller$

      download the bundle

      	sudo wget https://github.com/mycontroller-org/server/releases/download/master/mycontroller-server-master-linux-arm.tar.gz
      	ou pour 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/executable
      	ou le arm64
      	sudo tar xzf mycontroller-server-master-linux-arm64.tar.gz  --strip-components=1 --directory /opt/apps/mycontroller/executable
      

      status control

      	ls /opt/apps/mycontroller/mc_home
      

      ""insecure_share secure_share

      	ls /opt/apps/mycontroller/executable
      

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

      	?--bug erreur cmd --?
      

      update your secret on the mycontroller.yaml file. DO NOT USE THE DEFAULT SECRET

      ??? /opt/apps/mycontroller$ secret: 5a2f6ff25b0025aeae12ae096363b51a
      secret:: command not found ???
      ?-------?

      		-------- Install InfluxDB  ------------
      

      configure influxdb repository

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

      (cmd : sudo su : si Error GPG : https://repos.influxdata.com)

      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
      

      restart the influxdb service

      	systemctl restart influxdb.service
      

      Start the MyController server

      	cd /opt/apps/mycontroller
      	executable/mcctl.sh start
      

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

      ------------------ FIN --------------------
      

      Sorry I couldn't edit the 1st post.

      so the only mistake now is on the Secret

      1 Reply Last reply Reply Quote 0
      • J
        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

        jkandasa 1 Reply Last reply Reply Quote 0
        • jkandasa
          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
            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

            jkandasa 2 Replies Last reply Reply Quote 0
            • jkandasa
              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
              • jkandasa
                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
                  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

                  jkandasa 1 Reply Last reply Reply Quote 0
                  • jkandasa
                    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
                      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 😉

                      jkandasa 1 Reply Last reply Reply Quote 0
                      • jkandasa
                        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
                          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/

                          jkandasa 1 Reply Last reply Reply Quote 0
                          • jkandasa
                            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
                              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

                              jkandasa 1 Reply Last reply Reply Quote 0
                              • J
                                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 🙂

                                jkandasa 1 Reply Last reply Reply Quote 0
                                • jkandasa
                                  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
                                  • jkandasa
                                    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
                                      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.

                                      jkandasa 1 Reply Last reply Reply Quote 0
                                      • jkandasa
                                        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

                                        2
                                        Online

                                        638
                                        Users

                                        495
                                        Topics

                                        3.2k
                                        Posts

                                        Copyright © 2015-2022 MyController.org | Contributors | Localization