• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

MyControllerDevice and OTA Firmware device update , should it work ?

Scheduled Pinned Locked Moved MyControllerDevice (ESP8266)
otamycontrollerdevfirmwaredeviceupdate
9 Posts 3 Posters 3.7k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    Stephan35
    last edited by 25 Feb 2017, 11:06

    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

    J 1 Reply Last reply 26 Feb 2017, 05:15 Reply Quote 0
    • J Offline
      jkandasa @Stephan35
      last edited by 26 Feb 2017, 05:15

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

      1 Reply Last reply Reply Quote 0
      • S Offline
        Stephan35
        last edited by 2 Mar 2017, 21:13

        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

        J 1 Reply Last reply 3 Mar 2017, 15:11 Reply Quote 0
        • J Offline
          jkandasa @Stephan35
          last edited by 3 Mar 2017, 15:11

          @Stephan35 This is not resource log!

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

          1 Reply Last reply Reply Quote 0
          • E Offline
            Emmanuel
            last edited by 3 Apr 2017, 07:20

            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 ?

            S J 2 Replies Last reply 3 Apr 2017, 09:53 Reply Quote 0
            • S Offline
              Stephan35 @Emmanuel
              last edited by 3 Apr 2017, 09:53

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

              1 Reply Last reply Reply Quote 0
              • J Offline
                jkandasa @Emmanuel
                last edited by 3 Apr 2017, 11:51

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

                E 1 Reply Last reply 3 Apr 2017, 13:30 Reply Quote 0
                • E Offline
                  Emmanuel @jkandasa
                  last edited by 3 Apr 2017, 13:30

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

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Emmanuel
                    last edited by 3 Apr 2017, 14:00

                    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.

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    0

                    Online

                    587

                    Users

                    529

                    Topics

                    3.4k

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