• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    MyControllerDevice and OTA Firmware device update , should it work ?

    scheduled pinned locked moved MyControllerDevice (ESP8266)
    otamycontrollerdevfirmwaredeviceupdate
    9 posts 3 posters 4.3k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • Stephan35S offline
      Stephan35
      global:last-edited-by,

      Hello,
      I tried to update my devices firmware , i miss something ? (Probably yes ...)

      I created a firmware . with bin file from Arduino compiler :
      0_1488020518584_Capture d’écran_2017-02-25_11-59-34.png

      Then i asked to my device to be updated :

      0_1488020605682_Capture d’écran_2017-02-25_12-03-11.png

      "Modifier un firmware" - > update firmware

      Reel text in french should be "Mettre à jour le firmware" , (more comprehensiv)

      Ok, then , what should be happening ?

      Thanks

      jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @Stephan35
        global:last-edited-by,

        @Stephan35 Enable DEBUG on your node and check it on serial port and Status >> Resources logs on MyController.

        one-reply-to-this-post last-reply-time reply quote 0
        • Stephan35S offline
          Stephan35
          global:last-edited-by,

          Hello,
          Here is some news :

          Really nothing append when i ask to update firmware.

          /* User configurable variables */
          /* ***************************************************************************** */
          // Enable DEBUG in sketch to show debug prints.
          #define ENABLE_ERROR
          #define ENABLE_INFO
          #define ENABLE_DEBUG
          //#define ENABLE_TRACE
          

          Resources logs :

          2017-03-02 21:47:31,788 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:166] Application information: [Version:0.0.3.Final-SNAPSHOT, Database(type:H2 database embedded, version:1.4.193 (2016-10-31), schema version:1.03.05 - 2016 Nov 18), Built on:2017-02-22T13:38:19+0100, Git commit:8dd52693413b8a9cc6196bd77203ac69f4852ea3:development]
          2017-03-02 21:47:31,830 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:191] Reload DAO triggered...
          2017-03-02 21:47:33,536 INFO [Thread-6] [org.mycontroller.standalone.message.RawMessageQueue:54] Cleared offline messages[0] from the queue.
          2017-03-02 21:47:34,436 INFO [main] [org.mycontroller.standalone.gateway.mqtt.MqttGatewayImpl:67] MQTT Gateway[name:MQTT for ESP8266, URI:tcp://localhost:1883, NetworkType:MyController] connected successfully..
          2017-03-02 21:47:42,663 INFO [main] [org.mycontroller.standalone.StartApp:211] TJWS server started successfully, HTTPS Enabled?:true, HTTP(S) Port: [8443]
          2017-03-02 21:47:42,721 ERROR [main] [org.mycontroller.standalone.mdns.McmDNSFactory:116] Unable to create mDNS registry service
          2017-03-02 21:47:42,728 INFO [main] [org.mycontroller.standalone.StartApp:109] MyController.org server started in [40721] ms
          

          Do i miss something ? (again ?)

          Best regards

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @Stephan35
            global:last-edited-by,

            @Stephan35 This is not resource log!

            You can check resources log on GUI. Status >> Resources log also do check on ESP serial port.

            one-reply-to-this-post last-reply-time reply quote 0
            • E offline
              Emmanuel
              global:last-edited-by,

              Hello,

              I've got exactly the same issue : nothing happen when uploading a firmware.

              0_1491203889916_Picture1.png

              0_1491203916083_Picture4.png

              No output on serial port neither on Logs.

              Any idea ?

              Stephan35S jkandasaJ topic:replies-to-this-post, 2 last-reply-time reply quote 0
              • Stephan35S offline
                Stephan35 @Emmanuel
                global:last-edited-by,

                @Emmanuel
                Sorry, I have not looked at this problem since the last time.

                one-reply-to-this-post last-reply-time reply quote 0
                • jkandasaJ offline
                  jkandasa @Emmanuel
                  global:last-edited-by,

                  @Emmanuel did you change MQTT_MAX_PACKET_SIZE to 512 bytes on PubSubClient.h

                  E one-reply-to-this-post last-reply-time reply quote 0
                  • E offline
                    Emmanuel @jkandasa
                    global:last-edited-by,

                    @jkandasa Yes, I've got #define MQTT_MAX_PACKET_SIZE 512

                    one-reply-to-this-post last-reply-time reply quote 0
                    • E offline
                      Emmanuel
                      global:last-edited-by,

                      OK, my mistake there. The Node // Firmware Name was empty. (It has been discarded when node has been deleted)

                      0_1491227787168_Capture.JPG

                      Now it works like a charm.
                      Thanks for you attention.

                      one-reply-to-this-post last-reply-time reply quote 1
                      • first-post
                        last-post

                      0

                      online

                      644

                      users

                      532

                      topics

                      3.4k

                      posts
                      Copyright © 2015-2025 MyController.org | Contributors | Localization