• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Daniele
    3. Topics
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 110
    • Groups 0

    Topics

    • D

      Log full of javax.net.ssl.SSLException errors

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      313 Views
      No one has replied
    • D

      Rule status in dashboard

      Watching Ignoring Scheduled Pinned Locked Moved Dashboard
      2
      0 Votes
      2 Posts
      625 Views
      jkandasaJ
      @Daniele I do not think we have a direct option to control rules from dashboard.
    • D

      Frequent errors related to Ethernet Gateways

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      19
      0 Votes
      19 Posts
      1k Views
      D
      @Avamander could you please post me an example of DHCP renewal? I investigated the ICMP ping idea but I've not been able to get something working, since the ping seems to interfere with GW code. Did you manage to use it in a mysensors GW?
    • D

      Unique index or primary key violation: "CONSTRAINT_4B_INDEX_4 ON PUBLIC.METRICS_DOUBLE_TYPE_DEVICE

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      12
      0 Votes
      12 Posts
      902 Views
      D
      If others will arrive here searching for a similar issue: in my case the final solution has been changing the Arduino Uno I was using as ethernet gateway.
    • D

      Programmatically reboot a node

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone
      15
      0 Votes
      15 Posts
      1k Views
      jkandasaJ
      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
    • D

      Changing gateway type

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone
      2
      0 Votes
      2 Posts
      436 Views
      jkandasaJ
      @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.
    • D

      Strange graphics error on Windows 10

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      3
      0 Votes
      3 Posts
      394 Views
      D
      I did it, but nothing changes. Using Firefox from the same laptop (instead of Chrome) works perfectly.
    • D

      How to receive a notification when a message has no Ack

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone
      5
      0 Votes
      5 Posts
      699 Views
      D
      Done! 494
    • D

      Gateway type and performance

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone
      5
      0 Votes
      5 Posts
      730 Views
      jkandasaJ
      @Daniele Personally I do not see any performance difference/issue when using MQTT.
    • D

      notification on node down status

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone
      8
      0 Votes
      8 Posts
      1k Views
      jkandasaJ
      @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 < 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 < nodesOU.length; j++){ if (nodesOU[j] == _nodeId) prevState = "UP"; } if (prevState != "UP") tableBody += "<tr style='color: green;'><td>" + _nodeId + "</td><td>" + nodes.data[i].getName() + "</td><td>" + nodes.data[i].getEui() + "</td><td>" + _nodeState + "</td><td>" + mcApi.utils().friendlyTime(nodes.data[i].getLastSeen()) + "</td></tr>"; } if (_nodeState == "DOWN") { nodesD.push(_nodeId); var prevState = ""; for (j = 0; j < nodesOD.length; j++){ if (nodesOD[j] == nodeId) prevState = "DOWN"; } if (prevState != "DOWN") tableBody += "<tr style='color: red;'><td>" + _nodeId + "</td><td>" + nodes.data[i].getName() + "</td><td>" + nodes.data[i].getEui() + "</td><td>" + _nodeState + "</td><td>" + mcApi.utils().friendlyTime(nodes.data[i].getLastSeen()) + "</td></tr>"; } } if (tableBody.length > 0){ var pageStart = "Hello,<BR><BR>"; var tableStyle = '<table border = "1" cellpadding = "5" style="border-collapse: collapse;border: none;"><tbody><tr><th align="left">Id</th><th align="left">Name</th><th align="left">EUI</th><th align="left">State</th><th align="left">Since</th></tr>'; var tableEnd = '</tbody></table>'; var pageEnd = "<BR><BR>--MyController.org<BR>"; // 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]
    • D

      FOTA not working

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      15
      0 Votes
      15 Posts
      2k Views
      skywatchS
      @guille That is a great resource, thanks. My only comment would be that channels 111-125 are missing in the current version.
    • D

      Looping thru sensor time series

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone metrics script javascript api
      13
      0 Votes
      13 Posts
      1k Views
      D
      Amazing! Really thanks
    • D

      V_HVAC_FLOW_STATE issue

      Watching Ignoring Scheduled Pinned Locked Moved Developers Zone
      10
      0 Votes
      10 Posts
      1k Views
      D
      Works perfectly! You rock!
    • D

      Node ACK issue

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      17
      0 Votes
      17 Posts
      3k Views
      jkandasaJ
      @daniele no worries. I am happy that you find the root cause of the issue
    • D

      automatic backup

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      18
      0 Votes
      18 Posts
      3k Views
      D
      I can confirm that with 23 hours the scheduler works perfectly now! Thanks a lot!
    • D

      Unable to catch status variable in a script

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      3
      0 Votes
      3 Posts
      875 Views
      D
      What a stupid error! Thank you very much!
    • D

      abnormal heatrbeat frequency

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      5
      0 Votes
      5 Posts
      1k Views
      D
      You're right, it's effectively due to the too frequent call to smartSleep. I substituted it with wait and now everything goes fine. Thanks!
    • D

      Null pointer exception when adding a new user

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      11
      0 Votes
      11 Posts
      2k Views
      T
      @jkandasa Thank you!