• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. JeeLet
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 18
    • Posts 143
    • Groups 1

    JeeLet

    @JeeLet

    22
    Reputation
    70
    Profile views
    143
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Location French

    JeeLet Unfollow Follow
    MOD

    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: Gateway setup for MCv2 using MySensors

      Arduino IDE must be closed before launching MyController , the IDE keeps the USB port for itself?

      posted in General Discussion
      J
      JeeLet
    • RE: Moving Server to another location

      yes, that's a message I get from time to time.

      depending on which dashboard is loaded, the browser cache may be the problem?

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

      the doc is updated: "20 juin 2023 "

      look at the example in Docker : https://mycontroller.org/docs/installation/quick-installation/docker-container/

      or without dockers https://github.com/mycontroller-org/server/releases/tag/development

      yes, jkandasa has overhauled the code structure, maybe that's the reason for the problems?

      posted in General Discussion
      J
      JeeLet
    • msg_parser invalid

      when the scheduleur is activated (in the On-Off time slot)
      the communication LED on the gateway (Uno-Usb) is flashing excessively.
      I looked at the Log file
      and msg_parser errors appear, what's that ???
      how to find the origin ??
      what tools ??

      with Schedules active

      2023-06-29T13:19:48.552+0200	warn	gateway_service	provider/service.go:199	error on sending	{"gatewayId": "GwRS485", "message": {"id":"","gatewayId":"GwRS485","nodeId":"41","sourceId":"13","type":"set","payloads":[{"key":"V_STATUS","value":"on","metricType":"","unit":"","labels":{},"others":{}}],"labels":{"library_version":"2.4.0-alpha","ms_node_id":"41","ms_node_type":"repeater","ms_type":"21","parent_id":"0","version":"2.0"},"isAck":false,"isReceived":false,"isAckEnabled":false,"isSleepNode":false,"timestamp":"2023-06-29T13:19:47.018967163+02:00"}, "error": "no acknowledgement received, tried maximum retries. retryCount:3, timeTaken:1.532035247s"}
      2023-06-29T13:19:50.551+0200	warn	gateway_service	provider/service.go:199	error on sending	{"gatewayId": "GwRS485", "message": {"id":"","gatewayId":"GwRS485","nodeId":"41","sourceId":"13","type":"set","payloads"
      

      with Schedules not active

      2023-06-29T13:09:22.475+0200	error	gateway_mysensors_v2	mysensors_v2/msg_parser.go:295	invalid message format	{"rawMessage": "1\r"}
      2023-06-29T13:10:22.566+0200	error	gateway_mysensors_v2	mysensors_v2/msg_parser.go:295	invalid message format	{"rawMessage": "1\r"}
      2023-06-29T13:11:22.658+0200	error	gateway_mysensors_v2	mysensors_v2/msg_parser.go:295	invalid message format	{"rawMessage": "1\r"}
      2023-06-29T13:12:22.749+0200	error	gateway_mysensors_v2	mysensors_v2/msg_parser.go:295	invalid message format	{"rawMessage": "1\r"}
      2023-06-29T13:13:22.841+0200	error	gateway_mysensors_v2	mysensors_v2/msg_parser.go:295	invalid message format	{"rawMessage": "1\r"}
      2023-06-29T13:14:22.933+0200	error	gateway_mysensors_v2	mysensors_v2/msg_parser.go:295	invalid message format	{"rawMessage": "1\r"}
      
      posted in Troubleshooting
      J
      JeeLet
    • RE: state of a contact open-closed

      Hello @jkandasa

      an idea in pictures, it's easier
      https://nsmf01.casimages.com/f/2023/06/28//23062802265523870811442.pdf

      ..... it's an idea πŸ™‚

      posted in General Discussion
      J
      JeeLet
    • state of a contact open-closed

      ... back and I lost my memory πŸ™‚
      Hello Jkandasa
      I can't figure out how to have an element that changes color depending on the state of my magnetic sensor (Red/ils)
      in the video I cheated with a digital Input but it's not clean you can click on it and change its state.

      an idea to make it professional

      Video ---->

      posted in General Discussion
      J
      JeeLet
    • RE: Unknown serial gateway port name (Windows 10)

      ??? drivers ??

      http://www.wch-ic.com/search?q=CH340&t=downloads

      posted in Troubleshooting
      J
      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