• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. JeeLet
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 136
    • Best 20
    • Controversial 0
    • Groups 0

    JeeLet

    @JeeLet

    21
    Reputation
    67
    Profile views
    136
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location French

    JeeLet Unfollow Follow

    Best posts made by JeeLet

    • RE: miscellaneous question

      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

      posted in General Discussion
      J
      JeeLet
    • RE: Grafana install

      good evening @jkandasa

      no I haven't done anything yet, I'm on electrical measurements and a library to review.
      But yes, it's great that you're looking at it.

      it will make MyC even more interesting πŸ‘‘

      posted in General Discussion
      J
      JeeLet
    • RE: French

      French version in service

      texte du lien

      words to be revised, 10 % of waste ?

      if a Frenchman passes by that he gives me a return
      for an improvement

      Thanks a lot Jkandasa

      text alternatif

      posted in Translation (localization)
      J
      JeeLet
    • RE: Dual Sensor

      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 )

      posted in General Discussion
      J
      JeeLet
    • RE: Scratch Analytics enabled

      Hello

      the problem is solved, Mycontroller did not stop.

      Impecable πŸ‘

      Thank you for the information, for the sckect with V_STATUS on the forum of MySensors.
      I give you more work than I help you.

      Have a nice day.
      .... go on I continue πŸ™‚

      posted in Troubleshooting
      J
      JeeLet
    • RE: Grafana install

      text alternatif

      posted in General Discussion
      J
      JeeLet
    • RE: vokoscreen

      the evening video ... good evening
      Yes really nice, less violent for the view

      Video Gui Color

      Image jpeg

      Ps: I redid a total installation of MyController, so I know what I'm starting with.

      posted in General Discussion
      J
      JeeLet
    • RE: MyController V2.0 no metrics on the Dashboard

      in Yaml format it's easier to understand your problem.

      welcome with MyController, the minimalist of the minimalists πŸ™‚

      Here is an example of a temperature sensor on one of my Dasboards

      8565-f5945591f8bc
      title: Sallon  -  Sensor Temp   -  12hours
      showTitle: true
      scrollbarDisabled: false
      static: false
      type: widget_utilization_panel
      layout:
        w: 37
        h: 53
        x: 35
        'y': 0
      config:
        chart:
          color: '#ffa940'
          fillOpacity: 15
          height: 70
          interpolation: basis
          strokeWidth: 1.5
          thickness: 20
          yAxisMaxValue: ''
          yAxisMinValue: ''
        metric:
          duration: '-12h'
          interval: 3m
          metricFunction: percentile_99
          refreshInterval: '300000'
        resource:
          displayName: true
          filter: {}
          filterType: quick_id
          isMixedResources: false
          nameKey: name
          quickId: GwRs485.33.9.V_TEMP
          resources: []
          roundDecimal: 0
          timestampKey: current.timestamp
          type: field
          unit: deg
          valueKey: current.value
        table: {}
        type: spark_area
      
      
      posted in Troubleshooting
      J
      JeeLet
    • RE: Grafana install

      a good year 2023 for you @jkandasa and your family.

      myController --> influxDB --> Grafana
      yes functional, and it's quite simple (the principle)
      the discovery of influxDB and Grafana is rich.

      I will surely have questions about the marriage between myC and influxDB (v1.8) ..... how the databases are created and deleted in time.

      an image of the configuration

           editor  lien field influxDB

      posted in General Discussion
      J
      JeeLet
    • RE: Setpoint for a Temperature

      Hello
      here is my sketch is clean and functional.
      the values sent with the bodyboard work well.

      one step finished

      now i tried with the examples of the schedules you gave me, and well i'm lost πŸ™‚

      I recapitulate the need.

      MyC sends at a certain time or day, the value of on and off
      for the time slots of the relay on the clock.

      integer values without comma,
      example : 1630 for 16hours 30minutes.
      the sketch of MyS manages with πŸ™‚

      Thanks for your help.
      many stars in the sky for you

      the recopies and other info

      text alternatif

      the parts of the sketch

      ...
      // ------ objet - MyS numero du Node ------
        #define CHILD_ID_2 2      //On time
        #define CHILD_ID_4 4      //Off time
       ...
      //----------- test commande Relay ----------------    
          int ledPin = 7;               // test Assigned Pin for Relay Module
         
           int requestOn;
         int requestOff;
      
      //----- MyS ------
         MyMessage dimmerMsg(CHILD_ID_2, V_PERCENTAGE);  //hour walk
         MyMessage dimmerMsg4(CHILD_ID_4, V_PERCENTAGE);  //stop time
         
         bool info;              //  for your information GW sur MyC
      
      //---------------- SETUP ----------------------------
      
        void setup()  {  
      
      ...
      //---- test set point -----
        send(dimmerMsg.set(info)); 
        send(dimmerMsg4.set(info));
        }
      
      //--------------MySensors-------------
      
        void presentation()  {
        
         sendSketchInfo("Clock", "2.0"); 
         present( CHILD_ID_2, S_DIMMER, "Debut" ); // Register the LED Dimmable Light with the gateway
         present( CHILD_ID_4, S_DIMMER, "Fin" );
            
          }
      
      //------------------ LOOP -----------------------
        void loop() {     
        
       ....        
      //----- commande Relay dans une plage horaire  -----
      timecurrent =  hour()*100 + minute();   // Conversion des heure en minutes
       
      //----- reception set time On Off ------------ 
       int requestedLevel = atoi( message.data ); //RΓ©cupΓ©rer la valeur Γ  partir du message 
            
      //----- limite valeur entrant dans la plage valide 0 to 2400 ------
          requestedLevel = requestedLevel > 2400 ? 2400 : requestedLevel;
          requestedLevel = requestedLevel < 0   ? 0   : requestedLevel;
          
           if((requestedLevel % 100) > 59) { requestedLevel = 00; }
           
      //----- trie des messages -------
        switch (message.sensor) {
          case 2:                          // message  1
            requestOn = requestedLevel;       
          break;
         
          case 4:                       // message  2
            requestOff = requestedLevel;
          break;       
         }   
      
      //----- commande Relay dans une plage horaire  -----   
         if (timecurrent >= requestOn && timecurrent <= requestOff)  { 
            digitalWrite(ledPin, HIGH); }
        else {
            digitalWrite(ledPin, LOW);  }
      
      
      //----- return value for MyC -------
          send( dimmerMsg.set(requestOn) );
          send( dimmerMsg4.set(requestOff) );
          
          }
        }
      
      posted in General Discussion
      J
      JeeLet

    Latest posts made by JeeLet

    • RE: Armbian - MyC V2 - install

      myC_2.x and influxDB1.8
      OdroidC2 and Armbian 23.02.2 Focal with Linux 6.1.11-meson64

      info    helper/helper.go:29     welcome to MyController server :)
      info    helper/helper.go:33     version information     {"versionInfo": "{version:2.0.0-devel, buildDate:2023-03-24T15:27:53+00:00, gitCommit:7e4cd9f569fbf1b0894465bcdc023fe98704aad6, goVersion:go1.20.2, compiler:gc, platform:linux, arch:arm64, h>
      info    backup/restore.go:170   executing import job    {"sourceDir": "mc_home/data/storage/memory_db/yaml", "fileType": "yaml"}
      info    helper/server_defaults.go:30    error on fetching system settings, assuming it is fresh install and populating default details. if not, report this issue       {"error": "no documents in result"}
      
      error   api.settings_api        settings/update_geo_location.go:69      error on getting geo location, updating location details with default values and disabling auto update  {"error": "Get \"https://ipinfo.io/json\": dial tcp: lookup ipinfo.io >
      
      info    api.settings_api        settings/update_geo_location.go:85      location data to be updated     {"location": {"autoUpdate":false,"locationName":"Namakkal","latitude":11.2222469,"longitude":78.1650174}}
      info    helper/server_defaults.go:104   there is no user available in the storage database. creating default user 'admin'
      info    helper/server.go:401    checking for upgrade    {"lastUpgradePatch": "2.0.0-1"}
      info    route_handler   http_router/handler.go:111      secure share directory included {"directory": "mc_home/secure_share", "handlerPath": "/secure_share"}
      info    route_handler   http_router/handler.go:116      insecure share directory included       {"directory": "mc_home/insecure_share", "handlerPath": "/insecure_share"}
      info    gateway_service gateway/listener.go:22  gateway service filter config   {"filter": {"Disabled":false,"MatchAll":false,"Types":[],"IDs":[],"Labels":{"location":"server"}}}
      info    handler_service handler/service_listener.go:86  handler service filter config   {"filter": {"Disabled":false,"MatchAll":false,"Types":[],"IDs":[],"Labels":{"location":"server"}}}
      info    system_jobs_service     system_jobs/job_telemetry.go:41 telemetry data reporter job scheduled   {"cron": "0 48 3 * * *"}
      info    system_jobs_service     system_jobs/job_telemetry.go:45
      

      bybye

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      update your organization, when you configure indluxdb 2 ... yes it is well understood, that's what I did .

      I just redid a new install, armbian/MyC/InfluxDB2 with the right configuration, and still the same "metric" problem

      I even tested on the Gateway sketch with the line
      "metric = getControllerConfig().isMetric;" ..... it's a firework of errors πŸ™‚

      yes from the vacations
      and I forget about influxDB2 ( for the moment)

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      Error ... a new problem.

      Request failed with status code 500
      URL: /api/metric
      Message: "invalid: failed to decode request body: organization name "myc_org" not found"

      secret:  *********  #  THIS SECRET !!!
      
      # disable telemetry service, if you do not wish to share non-PII data
      # non-PII - non Personally Identifiable Information
      telemetry:
        enabled: true
      
      web:
        web_directory: web_console
        enable_profiling: false
        read_timeout: 60s
        http:
          enabled: true
          bind_address: "0.0.0.0"
          port: 8080
        https_ssl:
          enabled: true
          bind_address: "0.0.0.0"
          port: 8443
          cert_dir: mc_home/certs/https_ssl
        https_acme:
          enabled: false
          bind_address: "0.0.0.0"
          port: 9443
          cache_dir: mc_home/certs/https_acme
          acme_directory:
          email: hello@example.com
          domains: ["mycontroller.example.com"]
      
      logger:
        mode: record_all
        encoding: console
        enable_stacktrace: false
        level:
          core: info
          web_handler: info
          storage: info
          metric: warn
      
      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
      
      bus:
        type: embedded
        topic_prefix: mc_server
        server_url: nats://127.0.0.1:4222
        insecure: false
        connection_timeout: 10s
      
      gateway:
        disabled: false
        types: []
        ids: []
        labels:
          location: server
      
      handler:
        disabled: false
        types: []
        ids: []
        labels:
          location: server
      
      database:
        storage:
          type: memory
          dump_enabled: true
          dump_interval: 10m
          dump_dir: "memory_db"
          dump_format: ["yaml","json"]
          load_format: "yaml"
      
        metric:
          disabled: true
          type: influxdb
          uri: http://127.0.0.1:8086
          token: IZw********RN****Lw==
          username:
          password:
          organization_name: myc_org
          bucket_name: myc
          batch_size:
          flush_interval: 5s
      

      Yes also the deletion of fields/nodes/gateway are not possible with the interface, it remains in memory, I am obliged to go in the yaml file and delete them πŸ™‚

      I'm going to take a little vacation.
      I'm starting to lose track of why and how

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      @jkandasa I found it

      when MyC has not yet created data, a blank system (no connection and activation of the gateway)

      the connection for the web page is not possible if
      "metric: disabled : true"

      MyController does not like to be alone πŸ™‚

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      Thank you for the additional information.

      yes, influxDB2 is working well with MyC πŸ™‚

      but I have to put the parameter to true

      database: > metric: > disabled: true
      

      so that the web page opens, otherwise it's a black screen.

      with as result the message :
      "WARNING: Metrics database disabled

      weird

      it doesn't matter.
      now I look at influxdb2 how to use it with myC

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      excuse me @jkandasa I gave up, a moment of tiredness.

      I started all over again.
      I started again with influxdb 1.xx .
      For influxdb2.xx I start again in the week with another OdroidC2 .

      it's not very good to want to test new versions at the same time, MyC2++ and influxDB2

      but now I can install influxDB2 without any problem πŸ™‚

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      I found the problem

      in the config file: mycontroller.yaml

      database: > metric: > disabled: true

      it must be "true".
      and it's ok, the MyC page is displayed

      but I find myself with the error

      "WARNING: Metrics database disabled"

      a future with influxdb2 ....
      Yes, I will have to open a new thread on the marriage between MyC and influxDB πŸ™‚

      text alternatif

      posted in General Discussion
      J
      JeeLet
    • RE: Armbian - MyC V2 - install

      influxdb2
      install with the new version of MyController
      (this is a lot, influxdb2 and MyC v2.00
      development/mycontroller-server-2.0.0-devel-linux-arm64.tar.gz)

      install :https://portal.influxdata.com/downloads/

      $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
      
      echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
      
      ----influxdata-archive_compat.key: OK---
      
      $ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
      
      $ sudo apt update
      
      ----AtteintΒ :1 http://ports.ubuntu.com focal InRelease----
      ----RΓ©ception deΒ :7 https://repos.influxdata.com/debian stable/main----
      
      $ sudo apt install influxdb2 
      
      $ systemctl start influxdb.service
      
      $ sudo systemctl enable influxdb.service
      
      $ sudo /opt/apps/mycontroller/mcctl.sh start
      
      ------ start command issued to the MyController server -----
      

      but a mistake, Log MyController

      hostId:}", "loggerConfig": {"Mode":"record_all","Encoding":"console","Level":{"Core":"info","WebHandler":"info","Storage":"info","Metric":"warn"},"EnableStacktrace":false}}
      2023-03-25T18:43:25.873+0100	error	metric_influxdb	extra_v1/admin.go:42	error on calling api	{"error": "failed with status code. [status: 401 Unauthorized, statusCode: 401, body: {\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}]"}
      2023-03-25T18:43:25.873+0100	error	helper/server.go:112	error on getting metric database	{"error": "failed with status code. [status: 401 Unauthorized, statusCode: 401, body: {\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}]"}
      2023-03-25T18:43:25.873+0100	fatal	cmd/root.go:38	error on starting server	{"error": "failed with status code. [status: 401 Unauthorized, statusCode: 401, body: {\"code\":\"unauthorized\",\"message\":\"unauthorized access\"}]"}
      2023-03-25T18:45:33.062+0100	info	helper/helper.go:29	welcome to MyController server :)
      2023-03-25T18:45:33.065+0100	info	helper/helper.go:33	version information	{"versionInfo": "{version:2.0.0-devel, buildDate:2023-03-24T15:27:53+00:00, gitCommit:7e4cd9f569fbf1b0894465bcdc023fe98704aad6, goVersion:go1.20.2, compiler:gc, platform:linux, arch:arm64, 
      

      no connection to the web page πŸ™‚
      xxx.x.x.x refused to connect. 😞

      text alternatif
      influxDB is functional

      posted in General Discussion
      J
      JeeLet
    • RE: MyController V2.0 no metrics on the Dashboard

      in Yaml format it's easier to understand your problem.

      welcome with MyController, the minimalist of the minimalists πŸ™‚

      Here is an example of a temperature sensor on one of my Dasboards

      8565-f5945591f8bc
      title: Sallon  -  Sensor Temp   -  12hours
      showTitle: true
      scrollbarDisabled: false
      static: false
      type: widget_utilization_panel
      layout:
        w: 37
        h: 53
        x: 35
        'y': 0
      config:
        chart:
          color: '#ffa940'
          fillOpacity: 15
          height: 70
          interpolation: basis
          strokeWidth: 1.5
          thickness: 20
          yAxisMaxValue: ''
          yAxisMinValue: ''
        metric:
          duration: '-12h'
          interval: 3m
          metricFunction: percentile_99
          refreshInterval: '300000'
        resource:
          displayName: true
          filter: {}
          filterType: quick_id
          isMixedResources: false
          nameKey: name
          quickId: GwRs485.33.9.V_TEMP
          resources: []
          roundDecimal: 0
          timestampKey: current.timestamp
          type: field
          unit: deg
          valueKey: current.value
        table: {}
        type: spark_area
      
      
      posted in Troubleshooting
      J
      JeeLet
    • RE: Grafana install

      MyController can be installed anywhere, it is pure carbon, the hardest material πŸ™‚

      posted in General Discussion
      J
      JeeLet