• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. imedia
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 25
    • Groups 0

    imedia

    @imedia

    2
    Reputation
    686
    Profile views
    25
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Location Ottawa, Canada

    imedia Unfollow Follow

    Best posts made by imedia

    • RE: Timer issue in 0.0.3-FINAL-Alpha2

      @imedia said:

      206 ERROR [Quartz_Scheduler_Worker-7] [org.mycontroller.standalone.operation.model.OperationSendPushbulletNote:128] Timer will not support for this operation

      Issue #301 Created: https://github.com/mycontroller-org/mycontroller/issues/301

      posted in Troubleshooting
      imediaI
      imedia
    • English Doumentation

      @jkandasa I will work on the English documentation if you wish.

      posted in Translation (localization)
      imediaI
      imedia

    Latest posts made by imedia

    • RE: OTA firmware update with external MQTT broker

      I've been testing more... It seems that in order for the new firmware to be loaded to the node and then show as running in MyController the node needs a hard reset (pull power and restore). Issuing reboots from the controller does not seem to work.

      I've yet to figure out what combination of things is actually triggering the update though. I just keep trying different things and eventually it works. But consistently the new firmware version will not be shown in MyController until a hard reset on the node is completed.

      I'm using 5v 16Mhz Pro Mini.

      I've also noticed that once the firmware version has been put on a node I can't re-send the same version, I need to increment the versions everywhere. Is this correct or should I be able to re-flash with the same firmware version by issuing the command?

      posted in General Discussion
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      0_1478710137914_upload-a47deee1-deee-4f89-9c8c-f66c6425ae29

      Not sure what is up, I rebooted flashed the bootloader again on the node and deleted re-added the node and now it works. Also not getting the error either.

      posted in General Discussion
      imediaI
      imedia
    • English Doumentation

      @jkandasa I will work on the English documentation if you wish.

      posted in Translation (localization)
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      @jkandasa ,

      I loaded your latest snapshot, I am not getting the following error, OTA firmware update no longer seems to work either.

      ERROR [Thread-5] [org.mycontroller.standalone.message.MessageMonitorThread:123] Throws exception while processing!, [RawMessage(gatewayId=1, data=1;255;4;0;2;010001007E04, subData=null, isTxMessage=false, networkType=MY_SENSORS, timestamp=1478706446658)]
      java.lang.IndexOutOfBoundsException: Index: 18400, Size: 1024
      at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      at java.util.ArrayList.get(ArrayList.java:429)
      at org.mycontroller.standalone.message.McMessageEngine.procressFirmwareRequestMySensors(McMessageEngine.java:552)
      at org.mycontroller.standalone.message.McMessageEngine.streamSubMessageTypeSelector(McMessageEngine.java:489)
      at org.mycontroller.standalone.message.McMessageEngine.execute(McMessageEngine.java:136)
      at org.mycontroller.standalone.message.McMessageEngine.run(McMessageEngine.java:1148)
      at org.mycontroller.standalone.message.McMessageUtils.sendToMcMessageEngine(McMessageUtils.java:616)
      at org.mycontroller.standalone.provider.mysensors.MySensorsProviderBridge.executeRawMessage(MySensorsProviderBridge.java:58)
      at org.mycontroller.standalone.message.McMessageUtils.sendToProviderBridge(McMessageUtils.java:562)
      at org.mycontroller.standalone.message.MessageMonitorThread.processRawMessage(MessageMonitorThread.java:112)
      at org.mycontroller.standalone.message.MessageMonitorThread.run(MessageMonitorThread.java:191)
      at java.lang.Thread.run(Thread.java:745)
      2016-11-09 10:47:30,960 ERROR [Thread-5] [org.mycontroller.standalone.message.MessageMonitorThread:123] Throws exception while processing!, [RawMessage(gatewayId=1, data=1;255;4;0;2;010001007E04, subData=null, isTxMessage=false, networkType=MY_SENSORS, timestamp=1478706450936)]
      java.lang.IndexOutOfBoundsException: Index: 18400, Size: 1024
      at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      at java.util.ArrayList.get(ArrayList.java:429)
      at org.mycontroller.standalone.message.McMessageEngine.procressFirmwareRequestMySensors(McMessageEngine.java:552)
      at org.mycontroller.standalone.message.McMessageEngine.streamSubMessageTypeSelector(McMessageEngine.java:489)
      at org.mycontroller.standalone.message.McMessageEngine.execute(McMessageEngine.java:136)
      at org.mycontroller.standalone.message.McMessageEngine.run(McMessageEngine.java:1148)
      at org.mycontroller.standalone.message.McMessageUtils.sendToMcMessageEngine(McMessageUtils.java:616)
      at org.mycontroller.standalone.provider.mysensors.MySensorsProviderBridge.executeRawMessage(MySensorsProviderBridge.java:58)
      at org.mycontroller.standalone.message.McMessageUtils.sendToProviderBridge(McMessageUtils.java:562)
      at org.mycontroller.standalone.message.MessageMonitorThread.processRawMessage(MessageMonitorThread.java:112)
      at org.mycontroller.standalone.message.MessageMonitorThread.run(MessageMonitorThread.java:191)
      at java.lang.Thread.run(Thread.java:745)

      posted in General Discussion
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      Great, thanks again @jkandasa!

      I tried this and got it to work, however, some clarification is still needed as my results are inconsistent.

      First thing I noticed is, when the .hex file is generated by the Arduino IDE two .hex files are created:

      • SketchName.ino.hex

      • SketchName.ino.with_bootloader.hex

      Which one should be uploaded to the MyController Firmware section? Does it matter?

      Next, a little more clarification on the update process...

      Once a new version of the firmware is uploaded into MyController, how do we push that out to the node?

      I know there is an option to select the node and then from the Actions Menu choose "Upload firmware". Does that initiate the upload immediately and refresh refresh the node or must a "Reboot" be selected after pushing "Upload firmware"?

      If a reboot is needed, can it be done immediately after choosing "Upload firmware"? If not how long should we wait before clicking "Reboot"?

      I'm able to get the updates out eventually but that is just because I keep clicking reboot and upload, and even resetting the node manually. That seems like a poor way to achieve what I am doing. There must be a certain order to doing this with consistent results. I would like to know what part of what I am doing is actually necessary and what is not.

      Can you please provide a step by step guide.

      Also, is there any way we could monitor the Firmware Upload progress in MyController? That would be very helpful. Should I add that feature request to GitHub?

      posted in General Discussion
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      @yd / @jkandasa ,

      I would be more than happy to do the writing, I am quite new to the platform however so I'm still discovering the system myself as you can see...

      With your help I can write the documentation once I understand what exactly it is I'm documenting. I see @jkandasa has already an outline created on GIT hub, we just need to add moer specifics to that. Hotlinking to support right in the application will also be a huge help to users.

      posted in General Discussion
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      Thank you so much. I feel dumb for not figuring out the adding of the Types and Versions.. I guess when I saw those buttons there I thought they were for sorting rather than managing sub-lists. Maybe some UI improvements needed here, or maybe I'm just tired. Eiter way, thanks for clarifying on that.

      I think I have a better idea what to do now. We should get a WIKI going as I can't seem to come up with much in terms of documentation other than the forum? +1? 🙂

      posted in General Discussion
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      @yd I'm not sure where you create the new "type" and "version" you are referring to? Can you please be more specific?

      Also, I understand that the firmwares will need to be loaded to the nodes via MyController once the node is running the MYSBootloader. My question is, how does the node with just a bootloader installed know where to find its firmware? What tells a newly loaded node with only the bootloader on it where and what firmware it should be running?

      Let's say I get a brand new Pro Mini, I flash it with the bootloader. Then what? Is there some type of configuration I need to do on the bootloader before loading it so it has a unique ID or something? How does it find home when it doesn't know where home is?

      posted in General Discussion
      imediaI
      imedia
    • RE: Timer issue in 0.0.3-FINAL-Alpha2

      @imedia said:

      206 ERROR [Quartz_Scheduler_Worker-7] [org.mycontroller.standalone.operation.model.OperationSendPushbulletNote:128] Timer will not support for this operation

      Issue #301 Created: https://github.com/mycontroller-org/mycontroller/issues/301

      posted in Troubleshooting
      imediaI
      imedia
    • RE: OTA firmware update with external MQTT broker

      Thanks for the info @yd, going to give this a try shortly..

      Just to confirm, I export the sketch (firmware) using Sketch > Export compiled binary in the Arduino IDE correct? I then import that file into MySensors on the Firmware page. However, on that page it says "Nothing Selected" for both the Type and Version. There is also nothing appearing in the drop downs to select something and you cannot save and upload the firmware without selecting both these drope downs. Maybe @jkandasa can advise on that?

      So Let's assume I can get the firmware loaded into MyController. How does the node know to connect this specific Gateway / MyController and download it's specific firmware? There needs to be a relationship between the two created correct? If so how is that created and ensure the correct node is getting the correct firmware from the correct controller?

      Thanks,

      posted in General Discussion
      imediaI
      imedia