Navigation

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

    jkandasa

    @jkandasa

    ADMIN

    67
    Reputation
    3162
    Profile views
    1021
    Posts
    10
    Followers
    2
    Following
    Joined Last Online
    Website mycontroller.org

    jkandasa Follow
    ADMIN

    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

    Latest posts made by jkandasa

    • RE: Error in log - The connection was broken by the other side

      @sandr I believe netty dependent package upgrade might resolve this warning. But I am not sure at this point.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: Error in log - The connection was broken by the other side

      @sandr Looks like your ethernet shield is not stable. After a while failed to write on the socket. So MyContorller closing and reopening the connection.
      If you have different ENC28J60 hardware, can you try with that?

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @skywatch It is chat_id. I do not remember why I have named as Channel username.

      To get chat_id in two ways,

      1. By API:

      • Open your telegram bot (newly created bot), send hi to that bot
      • on your browser, https://api.telegram.org/botXXX:YYYYY/getUpdates (replace your token with XXX:YYYYY, note the bot string before your token)
      • you can see your name and chat_id, use that chat_id in MyController Channel username field.

      2. By userinfobot

      • On your telegream app, search userinfobot and send hi, you will receive your user details with chat_id
      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @skywatch Can you follow this post, you should get the telegram message
      https://forum.mycontroller.org/topic/312/send-telegram-bot-message

      AFAIK, there is no free SMS service. Maybe with 2.x version, we can deploy a GSM gateway to send SMS.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @skywatch Yes, you have to enter only the token. all other fields are autogenerated (communicate with telegram service and get the data).

      I am seeing the user-id in the part of the token. 5508*****:AAH***** and showing the same id for me.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: change telegram id?

      @skywatch you can edit only the token field. Other fields are auto-generated.
      I do not see an option to delete the existing token. As a workaround, If you want to delete your token, simply enter some junk values and click on the Save button.

      posted in Troubleshooting
      jkandasa
      jkandasa
    • RE: Merry Christmas and a Happy New Year!

      Happy holidays and happy new year!!
      I hope I get some time to get the 2.0 tech preview release by this year. (With minimal usable level). You can download and try the container version now, you cannot do anything now, since input pages are yet to develop, but you can see the high-level view 🙂 or you can have a look at the demo page.

      Source code and Readme file: https://github.com/mycontroller-org/backend
      Demo page: https://demo-v2.mycontroller.org/

      posted in General Discussion
      jkandasa
      jkandasa
    • RE: How to build a new gateway adapter to accept REST request?

      @xuch74 you have to create your own REST API server, that server should act as a REST-MQTT adapter.
      On MyController create a mycontroller device type gateway with mqtt and add topic details from your adapter.

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: How to build a new gateway adapter to accept REST request?

      @xuch74 build adapter to get data from REST API and post it to MQTT.

      posted in Developers Zone
      jkandasa
      jkandasa
    • RE: missing tag error on influxdb

      @fsgrazzutti I think when I design I might thought tag is a mandatory field. But looks like it is not.

      https://github.com/mycontroller-org/mycontroller-v1-legacy/blob/development/modules/core/src/main/java/org/mycontroller/standalone/externalserver/driver/DriverInfluxDB.java#L51

      data
                          .append(getVariableKey(sensorVariable, _config.getKeyFormat()))
                          .append(",").append(getVariableKey(sensorVariable, _config.getTags()))
                          .append(" value=").append(getValue(sensorVariable))
                          .append(" ").append(sensorVariable.getTimestamp()).append("000000");
      
      posted in Troubleshooting
      jkandasa
      jkandasa