Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. jkandasa
    3. Best
    • Profile
    • Following 2
    • Followers 10
    • Topics 35
    • Posts 1023
    • Best 64
    • Groups 1

    Best posts made by jkandasa

    • MyController 2.x development work started

      I started working on MyController version 2.x.
      Existing repository renamed to mycontroller-v1-legacy.

      Version 1.x: https://github.com/mycontroller-org/mycontroller-v1-legacy

      Version 2.x: https://github.com/mycontroller-org/backend and https://github.com/mycontroller-org/console-web

      posted in Announcements
      jkandasa
      jkandasa
    • Mycontroller 2.x ideas

      Hello everyone,

      MyController was born around August 2015. Currently, version 1.0.0 available for public and before 25, December 2017, version 1.1.0 will be available for the public.

      • I see some performance issues with MyController when we have a number of sensors grow.
      • We need end user-friendly GUI. I believe for now we have only admin friendly GUI.
      • There is no mobile application.
      • Supports more databases. H2DB, MySQL, MariaDB, PostgresSQL. To reduce complexity support only for one DB or maximum two databases.
      • and more

      To rectify all these issues, I am planning to build MyController 2.x from scratch. With the following technologies.

      • Spring boot with Undertow
      • Angular 4 front end ReactJS
      • Ionic mobile application Reactive native
      • Two type databases
        • RDBMS for sensor metadata
        • InfluxDB for metrics
      • backup/restore as CSV or JSON file(except metrics data)

      Still, I want to keep MyController's primary platform as Rasberry PI.

      Kindly share your experience with influxDB and raspberry PI in the long run. Also, share your thoughts on this big move.

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Forum logo transparency

      @Avamander Thanks for the pointer. Discourse needs more resources than NodeBB. We do not have that much budget.
      So, for now, we do not have any plans to upgrade.

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: Multiple NRF24L01+ gateways

      @skywatch The error shown here is not related to the issue you are facing. This is error is not harmful.

      posted in General
      jkandasa
      jkandasa
    • RE: Sleep and wakeup with loop?

      @njbuch I never tested sleep and wake up. Let me try and update, when I get time.

      posted in MyControllerDevice (ESP8266)
      jkandasa
      jkandasa
    • RE: OTA firmware update with external MQTT broker

      @yd I forget to mention a thing. You have to map your firmware with your node. If there is a reboot, your node will check with controller this is my firmware. Controller will respond as we have new firmware use this, Then node will request each block. This is how firmware update works. So you have to map your frimware with your node on MyController node page.

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: How to set sensor value with javascript

      @seant

      var pingDistance = tankDistanceSensor.value; //Water tank level percent

      You have to use parseInt(tankDistanceSensor.value), Sensor variable always have String value.
      var pingDistance = parseInt(tankDistanceSensor.value); //Water tank level percent

      //THESE 2 LINES DO NOT SEEM TO SET THE VALUES
      tankLitresSensor.setValue(litres);
      tankPercentageSensor.setValue(percentage);

      After these two lines add the following lines,

        mcApi.sensor().sendPayload(tankLitresSensor); 
        mcApi.sensor().sendPayload(tankPercentageSensor); 
      
      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: Multiple NRF24L01+ gateways

      @skywatch Thanks for the logs. Can you edit and save again gateway2 and see the behavior?

      posted in General
      jkandasa
      jkandasa
    • RE: RSSI data

      @BenCranston For now MyController will not support for MySensors RSSI. I have to check development version of MySensors to support this feature for MySensors.
      RSSI created for future use. Have plan to support LoRa (TheThingsNetwork.org), there we have RSSI.

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Integrate Blockly

      @blacksheepinc Hi, Yes, I had a look. And looks like we can implement with MyController with some new implementation to support for JSR223 standard(which is used in Java). Kindly create a request on github.com/mycontroller-org/mycontroller/issues When I get time I will work on this. Thank you!

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: Cannot upload new image.

      @skywatch Thanks to reporting this problem. I will check it in a few days and let you know.

      posted in Comments & Feedback
      jkandasa
      jkandasa
    • RE: Mesh network and gateway?

      @njbuch I have updated quick start guide. Kindly let me know if you face any issue.

      https://github.com/mycontroller-org/MyControllerDevice

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Batch push sensor data once network is available

      @ncollins Really this is an excellent feature request. At the same time, we need to implement a big logic to sync. Kindly create a request on GitHub page. I will start looking possible ways.

      Thank you for the great idea!

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: Time change

      @skywatch MyController does not have any specific control on DST changes. It is all about JVM capabilities in DST changes. AFAIK, JVM supports DST. MyController will overwrite your data for that hour. I do not have any idea about timers, alerts, or other scheduled operations on this duration?

      posted in Comments & Feedback
      jkandasa
      jkandasa
    • RE: Scripting - documenation/tutorial examples

      @rmf69 Hi Welcome to MyController community! Have you tried with these examples?

      posted in Getting Started
      jkandasa
      jkandasa
    • RE: OTA firmware update with external MQTT broker

      @imedia Have you checked user manual? Which is available on http://www.mycontroller.org/files/docs/0.0.3.Alpha2.pdf for the last released version. I hope this manual will help you to understand more on configuration.

      How node gets new firmware from Controller?

      Once you installed and turned on brand new node, following actions done.

      • Requests node id from controller, Controller gives next available node for the new node. Node id will be stores on eeprom, So this is permanent node id for this node(Until we trigger Erase configuration from controller).
      • By default brand new node has type id as 65535 and version id as 65535. node sends this information to MyController.
      • If you have enabled and configured, Support default firmware on MyController, default firmware will be sent to node. Otherwise controller will not respond for the firmware request, as controller does not know which firmware have to send.
      • Once node appeared on nodes list. You have to select your firmware for that node and trigger reboot.
      • Now your node will request with 65535 as version id and type id. However controller has different type id and version id for this node. Controller will send configured firmware type id and version id. Now node takes the controller configuration and requests firmware for that configuration.
      • New firmware will be loaded on your node.(Which is configured on controller's node page)

      Hope this will help you to understand more depth about firmware update on node.

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: Battery level in rules or chart? [Script Rule to check battery level]

      @DaTTcz For now direct battery support not available on Rules. However you can do it from script. I will update how to handle with script.

      Kindly create a request on github page to support battery level on rules.

      ALL these features are available on SNAPSHOT build

      Enter your condition via script,

      Steps:

      • Create UID Tag for your node,
      • Create script to check node battery level (script type: Condition)
      • Create rule with this condition script
      • Enjoy 🙂
      Create UID Tag:

      0_1479454456642_upload-6bd6f2c1-24c2-431c-b97e-6ae08892003c

      Add script:

      0_1479454321011_upload-df8f276c-45cd-4c6c-9ef2-1de1c50f4445
      Java Script to check battery level,

      var myImports = new JavaImporter(java.io, java.lang, java.util, java.text);
      
      with(myImports) {
        var mcResult = false; //By default this is false. When your condition meets change this to true
        var batteryLevel = mcApi.uidTag().getByUid("node1").resource.batteryLevel;
        if(batteryLevel >= 50){ // Your condition
           mcResult = true;
        }
      }
      
      Add rule:

      0_1479454517098_upload-ec78f98b-ead9-442b-80aa-28eda4e10dd4

      posted in Scripts
      jkandasa
      jkandasa
    • RE: Node EUI on Topology chart

      @boggie Passing empty string from your sketch will not replace with yours(in MyController).
      The actual code to update node name in MyController, https://github.com/mycontroller-org/mycontroller/blob/development/modules/core/src/main/java/org/mycontroller/standalone/provider/ExecuterAbstract.java#L198~L202

      It is a good idea to show Node EUI and sensor Id, I guess a good place to show this is on a tooltip. What do you think?

      posted in Developers Zone
      jkandasa
      jkandasa