<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Developers Zone]]></title><description><![CDATA[Developers Zone]]></description><link>http://forum.mycontroller.org/category/7</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 06:51:03 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/category/7.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Dec 2021 18:05:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[mcApi.http() Examples]]></title><description><![CDATA[@row supported methods in http,
https://github.com/mycontroller-org/mycontroller-v1-legacy/blob/8c540b61e56a694ec9a8c8ae21a107839091d3d0/modules/core/src/main/java/org/mycontroller/standalone/api/HttpApi.java#L31
]]></description><link>http://forum.mycontroller.org/topic/496/mcapi-http-examples</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/496/mcapi-http-examples</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 08 Dec 2021 18:05:54 GMT</pubDate></item><item><title><![CDATA[Communication between 2 pi each running mycontroller]]></title><description><![CDATA[@daniele Thanks for the suggestions. I know I can get the end result I want with operations so probably go that route for now and see what new surprises version 2 brings!
]]></description><link>http://forum.mycontroller.org/topic/482/communication-between-2-pi-each-running-mycontroller</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/482/communication-between-2-pi-each-running-mycontroller</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Mon, 04 Jan 2021 14:32:21 GMT</pubDate></item><item><title><![CDATA[How to build a new gateway adapter to accept REST request?]]></title><description><![CDATA[@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.
]]></description><link>http://forum.mycontroller.org/topic/479/how-to-build-a-new-gateway-adapter-to-accept-rest-request</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/479/how-to-build-a-new-gateway-adapter-to-accept-rest-request</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 25 Nov 2020 07:17:32 GMT</pubDate></item><item><title><![CDATA[Forum logo transparency]]></title><description><![CDATA[@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.
]]></description><link>http://forum.mycontroller.org/topic/449/forum-logo-transparency</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/449/forum-logo-transparency</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 10 Mar 2020 13:49:01 GMT</pubDate></item><item><title><![CDATA[Programmatically reboot a node]]></title><description><![CDATA[
Probably a stupid question, but will this reboot all mys GW attached to the pi?

@skywatch Yes, it will. if your mys GW powered by RPI
]]></description><link>http://forum.mycontroller.org/topic/436/programmatically-reboot-a-node</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/436/programmatically-reboot-a-node</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 08 Jan 2020 12:46:53 GMT</pubDate></item><item><title><![CDATA[servlet independent mycontroller]]></title><description><![CDATA[@guisz1 There is no uncoupled version. But you can change the server easily on here.
The undertow may fit easily.
]]></description><link>http://forum.mycontroller.org/topic/431/servlet-independent-mycontroller</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/431/servlet-independent-mycontroller</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 10 Dec 2019 11:44:23 GMT</pubDate></item><item><title><![CDATA[Changing gateway type]]></title><description><![CDATA[@Daniele Changing gateway type will not impact your data/settings. I hope you are changing the gateway, the underlying node structure will remain the same.
I recommend taking a backup prior to this action.
]]></description><link>http://forum.mycontroller.org/topic/423/changing-gateway-type</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/423/changing-gateway-type</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Sun, 15 Sep 2019 15:29:18 GMT</pubDate></item><item><title><![CDATA[Action on node connected?]]></title><description><![CDATA[That sounds promising - I was thinking of having a 'beacon' node in the car that would turn on outside lights whenever I got within range and it was dark outside.
I could also have the controller send any warning messages (like alarm activation) to the car.
]]></description><link>http://forum.mycontroller.org/topic/416/action-on-node-connected</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/416/action-on-node-connected</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Mon, 10 Jun 2019 21:07:48 GMT</pubDate></item><item><title><![CDATA[gpio shutdown from within mycontroller?]]></title><description><![CDATA[@skywatch

Do you think it will be an issue with mcagent also running? Could there be a conflict with both python and mcagent trying to access the gpio ports?

If you access the same pin from both side(Python and mcagent), it may conflict. Otherwise no issue.
]]></description><link>http://forum.mycontroller.org/topic/402/gpio-shutdown-from-within-mycontroller</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/402/gpio-shutdown-from-within-mycontroller</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 07 Feb 2019 12:41:59 GMT</pubDate></item><item><title><![CDATA[How to receive a notification when a message has no Ack]]></title><description><![CDATA[Done! 494
]]></description><link>http://forum.mycontroller.org/topic/399/how-to-receive-a-notification-when-a-message-has-no-ack</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/399/how-to-receive-a-notification-when-a-message-has-no-ack</guid><dc:creator><![CDATA[Daniele]]></dc:creator><pubDate>Tue, 29 Jan 2019 16:35:51 GMT</pubDate></item><item><title><![CDATA[Gateway type and performance]]></title><description><![CDATA[@Daniele Personally I do not see any performance difference/issue when using MQTT.
]]></description><link>http://forum.mycontroller.org/topic/387/gateway-type-and-performance</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/387/gateway-type-and-performance</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 17 Jan 2019 10:05:02 GMT</pubDate></item><item><title><![CDATA[notification on node down status]]></title><description><![CDATA[@Daniele Your code looks super cool and awesome. I just added few HTML template style (you may not like  ) and minor tune. Thanks for the awesome code!!
var myImports = new JavaImporter(java.io, java.lang, java.util,java.lang.Object, org.mycontroller.standalone.utils.McUtils);

with(myImports) {
  var options = new HashMap();
  options.put("orderBy", "Eui");
  options.put("order", "asc");
  options.put("pageLimit", new Long(-1)); // -1 to list all the nodes

  var nodes = mcApi.node().getAll(options);

  var nodesVar = mcApi.variable().get("nodes_state"); // It is good to have key in lowercase and no space
  var nodesOU = JSON.parse(nodesVar.value);
  var nodesOD = JSON.parse(nodesVar.value2);

  var nodesU = [];
  var nodesD = [];

  var subject = "[MyController] Nodes status";
  var tableBody = "";

  for (i = 0; i &lt; nodes.data.length; i++) {

    var nodeStatus = { };
    var _nodeId = nodes.data[i].getId(); // nodeId is unique and internal
    // but still if you want to refer node EUI and gateway id, use the following line and comment above line.
    //var _nodeId = nodes.data[i].getGatewayTable().getId() + '-' + nodes.data[i].getEui();
    var _nodeState = nodes.data[i].getState();
    
    nodeStatus[_nodeId] = _nodeState; // update in to our common map

    if (_nodeState == "UP") {
      nodesU.push(_nodeId);
      var prevState = "";
      for (j = 0; j &lt; nodesOU.length; j++){
        if (nodesOU[j] == _nodeId) prevState = "UP";
      }
      if (prevState != "UP")
        tableBody += "&lt;tr style='color: green;'&gt;&lt;td&gt;" + _nodeId + "&lt;/td&gt;&lt;td&gt;" + nodes.data[i].getName() + "&lt;/td&gt;&lt;td&gt;" + nodes.data[i].getEui() + "&lt;/td&gt;&lt;td&gt;" + _nodeState + "&lt;/td&gt;&lt;td&gt;" + mcApi.utils().friendlyTime(nodes.data[i].getLastSeen()) + "&lt;/td&gt;&lt;/tr&gt;";
    }

    if (_nodeState == "DOWN") {
      nodesD.push(_nodeId);
      var prevState = "";
      for (j = 0; j &lt; nodesOD.length; j++){
        if (nodesOD[j] == nodeId) prevState = "DOWN";
      }
      if (prevState != "DOWN")
        tableBody += "&lt;tr style='color: red;'&gt;&lt;td&gt;" + _nodeId + "&lt;/td&gt;&lt;td&gt;" + nodes.data[i].getName() + "&lt;/td&gt;&lt;td&gt;" + nodes.data[i].getEui() + "&lt;/td&gt;&lt;td&gt;" + _nodeState + "&lt;/td&gt;&lt;td&gt;" + mcApi.utils().friendlyTime(nodes.data[i].getLastSeen()) + "&lt;/td&gt;&lt;/tr&gt;";
    }
  }
  
  if (tableBody.length &gt; 0){
    var pageStart = "Hello,&lt;BR&gt;&lt;BR&gt;";
    var tableStyle = '&lt;table border = "1" cellpadding = "5" style="border-collapse: collapse;border: none;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th align="left"&gt;Id&lt;/th&gt;&lt;th align="left"&gt;Name&lt;/th&gt;&lt;th align="left"&gt;EUI&lt;/th&gt;&lt;th align="left"&gt;State&lt;/th&gt;&lt;th align="left"&gt;Since&lt;/th&gt;&lt;/tr&gt;';
    var tableEnd = '&lt;/tbody&gt;&lt;/table&gt;';
    var pageEnd = "&lt;BR&gt;&lt;BR&gt;--MyController.org&lt;BR&gt;";
    //  mcApi.operation().sendPushbulletNote(null, "abc@xyz.com", null, subject, message);
    mcApi.operation().sendEmail("abc@xyz.com", subject, pageStart + tableStyle + tableBody + tableEnd + pageEnd);
  }
    
  nodesVar.value = JSON.stringify(nodesU);
  nodesVar.value2 = JSON.stringify(nodesD);
  nodesVar.save();
}

Email will be looking like this,
[image: 1548079561113-310032a4-3e1b-4191-9c0e-c42d7a1ff5f0-image.png]
]]></description><link>http://forum.mycontroller.org/topic/386/notification-on-node-down-status</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/386/notification-on-node-down-status</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 03 Jan 2019 21:40:41 GMT</pubDate></item><item><title><![CDATA[Plans for ESP32 boards??]]></title><description><![CDATA[Ah okay, and what exact errors do you see?
(never compiled this, but I can see if I am able to help you...)
]]></description><link>http://forum.mycontroller.org/topic/382/plans-for-esp32-boards</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/382/plans-for-esp32-boards</guid><dc:creator><![CDATA[Tag]]></dc:creator><pubDate>Tue, 25 Dec 2018 18:52:34 GMT</pubDate></item><item><title><![CDATA[JSON parser]]></title><description><![CDATA[@Emenike It is free. There are no api keys needed. You go to the main Metcheck page, select your location for the weather location you want to use, then towards the bottom of the page is a button labeled 'JSON'. Click that button and it gives you a url to use (just modify the script above for the url it gives you) Sripts are under Utiliries menu in my controller main page. After that manually running the script fetches data fine, but from there on you will need jkandasas help as this is as far as I have got.
]]></description><link>http://forum.mycontroller.org/topic/371/json-parser</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/371/json-parser</guid><dc:creator><![CDATA[skywatch]]></dc:creator><pubDate>Tue, 27 Nov 2018 12:19:17 GMT</pubDate></item><item><title><![CDATA[serial mqtt adapter]]></title><description><![CDATA[@cslauritsen Yes, it should work.
MySenosrs serial Gateway &lt;--&gt; serial2mqtt &lt;--&gt; MyController(MQTT gateway)
]]></description><link>http://forum.mycontroller.org/topic/368/serial-mqtt-adapter</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/368/serial-mqtt-adapter</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Wed, 07 Nov 2018 16:31:37 GMT</pubDate></item><item><title><![CDATA[Multiple Dashboards]]></title><description><![CDATA[@skywatch This could be a nice idea. But I never experienced this kind of setup.
Can you assign node id for NRF24l01+ which is attached with RPI? AFAIK, it should be a gateway node right? If yes, we should not have more than one gateway node in a network.
My other easy solution, Keep RPI with a private wifi router, hide ssid and do not connect to the internet. In this case, you can have a controller in one place and from another place you can access the controller via your private router.
]]></description><link>http://forum.mycontroller.org/topic/363/multiple-dashboards</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/363/multiple-dashboards</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 30 Oct 2018 12:57:34 GMT</pubDate></item><item><title><![CDATA[Extended backup options for future release please.]]></title><description><![CDATA[@skywatch thanks for the feedback. Option #1 will be good.
unfortunately, we cannot support Option #2, whole system backup. We can run MyController on many platforms(Linux, Windows, Mac, etc.,), it is very difficult to maintain the backup code.
]]></description><link>http://forum.mycontroller.org/topic/358/extended-backup-options-for-future-release-please</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/358/extended-backup-options-for-future-release-please</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 02 Oct 2018 11:22:21 GMT</pubDate></item><item><title><![CDATA[Change Weather symbols for forecast....]]></title><description><![CDATA[@skywatch https://github.com/mycontroller-org/mycontroller/issues/472
]]></description><link>http://forum.mycontroller.org/topic/357/change-weather-symbols-for-forecast</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/357/change-weather-symbols-for-forecast</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 02 Oct 2018 09:40:46 GMT</pubDate></item><item><title><![CDATA[Request: Within a graph, sensor variables should have consistent color]]></title><description><![CDATA[@skywatch I guess the color will work only with "A sensor graph", Not for grouped and mixed. In these graphs colors will be chosen randomly(we may have more than one same type variable in these graphs).
]]></description><link>http://forum.mycontroller.org/topic/355/request-within-a-graph-sensor-variables-should-have-consistent-color</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/355/request-within-a-graph-sensor-variables-should-have-consistent-color</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 21 Sep 2018 17:59:21 GMT</pubDate></item><item><title><![CDATA[Request: Make all graph x-axis a consistent range  [current time - (hour,day,week...), current time]]]></title><description><![CDATA[GitHub: nikolac
Thanks for responding!
]]></description><link>http://forum.mycontroller.org/topic/354/request-make-all-graph-x-axis-a-consistent-range-current-time-hour-day-week-current-time</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/354/request-make-all-graph-x-axis-a-consistent-range-current-time-hour-day-week-current-time</guid><dc:creator><![CDATA[ncollins]]></dc:creator><pubDate>Fri, 21 Sep 2018 17:29:34 GMT</pubDate></item><item><title><![CDATA[Looping thru sensor time series]]></title><description><![CDATA[Amazing!
Really thanks
]]></description><link>http://forum.mycontroller.org/topic/351/looping-thru-sensor-time-series</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/351/looping-thru-sensor-time-series</guid><dc:creator><![CDATA[Daniele]]></dc:creator><pubDate>Mon, 17 Sep 2018 06:58:18 GMT</pubDate></item><item><title><![CDATA[V_HVAC_FLOW_STATE issue]]></title><description><![CDATA[Works perfectly!
You rock!
]]></description><link>http://forum.mycontroller.org/topic/339/v_hvac_flow_state-issue</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/339/v_hvac_flow_state-issue</guid><dc:creator><![CDATA[Daniele]]></dc:creator><pubDate>Mon, 10 Sep 2018 05:39:11 GMT</pubDate></item><item><title><![CDATA[Node EUI on Topology chart]]></title><description><![CDATA[@jkandasa said in Node EUI on Topology chart:

@Boggie This feature is available in snapshot version.

.. and it looks fantastic 
]]></description><link>http://forum.mycontroller.org/topic/330/node-eui-on-topology-chart</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/330/node-eui-on-topology-chart</guid><dc:creator><![CDATA[Boggie]]></dc:creator><pubDate>Mon, 13 Aug 2018 06:20:51 GMT</pubDate></item><item><title><![CDATA[Android widget from switches&#x2F;temps&#x2F;hum etc.]]></title><description><![CDATA[@skywatch
I have not seen V2 yet, but it certainly will be great to have a more mobile version of mycontroller.
]]></description><link>http://forum.mycontroller.org/topic/310/android-widget-from-switches-temps-hum-etc</link><guid isPermaLink="true">http://forum.mycontroller.org/topic/310/android-widget-from-switches-temps-hum-etc</guid><dc:creator><![CDATA[Tag]]></dc:creator><pubDate>Sun, 17 Jun 2018 19:01:47 GMT</pubDate></item></channel></rss>