• Armbian - MyC V2 - install

    40
    0 Votes
    40 Posts
    7k Views
    jkandasaJ
    @JeeLet @wint0178 recently I released the version 2.0.0, the location changes. also I changed some of the paths. I will go through the installation steps soon as possible and update the required corrections
  • Is NATS.io needed on RPi?

    3
    0 Votes
    3 Posts
    415 Views
    jkandasaJ
    hi @wint0178, MQTT Broker - if you plan to connect your gateway via MQTT, you need an mqtt broker. If you already one. you can use that. You can have MQTT broker in any system, that should be accessible for MyController and your gateway device. If you do not have complex system, you can keep everything on the same system. MongoDB - for storage the default option is in-memory database. It keeps all the configurations(except metrics) in memory and dumps to dis in an interval. It will be faster. You can take a frequent backup with schedule. But someone wants to keep the storage in mongoDB, may be due to large setof configurations or to keep the data in remote location, or other reasons. It is up to you. fyi, I am using in-memory db and I do not see an issue till now(about 2 years) InfludDB - you need to have this database, if you want graphs and metrics details I hope I have addressed your queries
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • state of a contact open-closed

    3
    0 Votes
    3 Posts
    501 Views
    J
    Hello @jkandasa an idea in pictures, it's easier https://nsmf01.casimages.com/f/2023/06/28//23062802265523870811442.pdf ..... it's an idea
  • Newbee Q - Which Server Setup Option is Best?

    2
    0 Votes
    2 Posts
    354 Views
    jkandasaJ
    @wint0178 I am trying to respond your queries to my best. You may have better approach then my response too. I assume that, you are using MySensors hardware in your setup. As you have your gateways in different locations, you can connect all your gateways with MQTT connection (I would recommend secure MQTT). You have to run a MyController server for 24x7, so you can go with RPI, it will save lot of your electricity and space. Ultimately, I need to give data access to the communities themselves through the dashboard and SMS or email notifications. I would also like to have remote access to the data, but this is slightly less critical. With MyController you can configure Email and web-hook(you may use it for SMS), For now there is no role based access in MyController v2. In MyController all the metric data will be in influx database. So you may share the details with Grafana dashboard too. I think it has read only dashboard.
  • MQTT Gateway USB

    4
    0 Votes
    4 Posts
    508 Views
    jkandasaJ
    @JeeLet some special cases you need 2mqtt. For example you want to share your USB GW for MyC and other software (via mqtt). If you are using your USB GW only with MyC. 2mqtt is not required. 2mqtt creates a mqtt communication to your USB GW
  • Ghost Value

    7
    0 Votes
    7 Posts
    527 Views
    J
    .... happy holidays to you Jkandasa I'm rethinking my vision / use of the Mys protocol as I have chosen a Usb gateway and mostly a communication bus in rs485 (RF is for specific cases) MyC <---usb---> Gateway Mega2560/Gui-Oled <----RS485---> Nodes1 2 3 <---- RF ---> NodeX the controller in a closet the gateway on the desk (usb 3 meters) the nodes everywhere in the house (in the technical parts) and as the "real" Node to Node doesn't work (yes a gateway is mandatory for routing) I'll see how I'm going to do a state management. I'm testing a feedback on the OLED display of the gateway. an example of the sketch on the gateway of a remote node //------ node 36 Link distant ------ const byte LINKY_NODE_ID = 36 ; // node linky const byte CHILD_ID_PAPP = 1 ; // ID papp uint16_t valPAPP ; // variable valeur PAPP //-------- linky papp ------------------ if (message.sender == LINKY_NODE_ID && message.sensor==CHILD_ID_PAPP && message.type == V_VA ) { // val PAPP valPAPP = message.getInt(); Serial.print("val PAPP. : "); Serial.println(valPAPP); } //------------ OLED valeur PAPP -------------------------- void valPaPP() { oled.set2X(); oled.setCursor(37,2); oled.print(valPAPP); oled.print("va "); }
  • systemctl et MyController

    8
    0 Votes
    8 Posts
    563 Views
    J
    it's maximum super good after cleaning the old one "sudo systemctl revert mycontroller.service" and a copy of the example you gave me (thanks) "sudo systemctl enable mycontroller.service" a reboot, functional server connection ... well I continue with MyController, other things to see. Thanks a lot, lots of sunshine for you
  • Webcam and MyController

    10
    0 Votes
    10 Posts
    748 Views
    J
    back after tests with Hassio. Yes MyController in central core of my MySensors network, Motioneye for the Cam, Grafana (soon to be installed ) for value tracking. A solid choice ----> Video <----
  • mycontroller.yaml config

    9
    0 Votes
    9 Posts
    577 Views
    Y
    I expressed myself badly, I have the secret in my config file. I voluntarily deleted it by copying my file on this forum. Sorry
  • miscellaneous question

    50
    0 Votes
    50 Posts
    10k Views
    J
    on the drawing I forgot to put also the start/end the mini/maxi 0/50
  • Backup Config

    6
    0 Votes
    6 Posts
    653 Views
    J
    ..... back on my computer hello skywatch jkandasa thank you for this clear explanation guys . the backup of infuxdb the one recopy with the tree command @odroidc2:/var/lib$ tree influxdb influxdb ├── data │   ├── _internal [error opening dir] │   └── mycontroller [error opening dir] ├── influxd.pid ├── meta │   └── meta.db └── wal [error opening dir] @odroidc2:/var/lib/influxdb/data$ sudo tree mycontroller mycontroller ├── autogen │   └── 2 │   ├── 000000001-000000001.tsm │   └── fields.idx └── _series ├── 00 │   └── 0000 ├── 01 │   └── 0000 ├── 02 │   └── 0000 ├── 03 │   └── 0000 ├── 04 │   └── 0000 ├── 05 │   └── 0000 ├── 06 │   └── 0000 └── 07 └── 0000 the directory /var/lib/influxdb/data/mycontroller/ and thus to save
  • Create widget: value a node

    7
    0 Votes
    7 Posts
    391 Views
    jkandasaJ
    @Yourry looks like you have problem with your influxdb configuration or setup.
  • LibreOfficeDraw and MyC

    3
    1 Votes
    3 Posts
    410 Views
    J
    finally find for a creation and clean up of the oxt files the latest version arduinoMYC.oxt still some symbols to add and errors to see why this work ??? ... for a rescue wheel and fun
  • Setpoint for a Temperature

    17
    0 Votes
    17 Posts
    1k Views
    J
    hello jkandasa "...but why do you want to send the configuration payload from the MyController calendar?" for each Node to be autonomous, the principle of distributed intelligence, no centralization, the MyC Controller can be turned off or the link cut (and also to test MyC ) "otherwise you can use your arduino sketch program" ... Yes MyC sends a time setting for the drift of the Arduino and also the management of time slots. (afterwards the Gateways will have a RTC clock) Thanks Parameters to handler select Resource By Quick ID and add your payload.
  • vokoscreen

    10
    0 Votes
    10 Posts
    1k Views
    jkandasaJ
    @JeeLet said in vokoscreen: 2nd part of the video : non functional sorting column for the Nodes This issue has been fixed
  • Manipulation and Various Returns

    6
    0 Votes
    6 Posts
    507 Views
    jkandasaJ
    @jeelet no problem, take your time and let me know No I am not a school teacher
  • Field Label SensorID and spaghetti

    19
    0 Votes
    19 Posts
    1k Views
    jkandasaJ
    @jeelet no problem, good to know that it works for you
  • Dual Sensor

    8
    0 Votes
    8 Posts
    674 Views
    J
    can't figure out how to make my backup (I still made a full backup : mv mycontroller mycontroller_old) so I redid a MyController Installation the result I reconnected and reconfigured the Arduino-Usb Gateway and everything went up automatically without doing anything in MyC, a pleasure. for the dual Sensor "mixed resources in Table" yes it's perfect ( a return in images later )
  • Chronograf

    2
    0 Votes
    2 Posts
    301 Views
    jkandasaJ
    @jeelet MyController v2 uses influxdb as metric database. You can use influxdb supported tools externally.

0

Online

617

Users

533

Topics

3.4k

Posts