Outback Remote ESP32 Over The Air (OTA) Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 29

  • @pileofstuff
    @pileofstuff 11 หลายเดือนก่อน +4

    That's an ambitious bit of code.
    And a massive expedition to demonstrate it.

    • @onecircuit-as
      @onecircuit-as  11 หลายเดือนก่อน

      Thanks Mr Stuff - it's been a journey in more ways than one. Hopefully it'll be useful to someone! 👍😀

  • @davidharris7249
    @davidharris7249 4 หลายเดือนก่อน +1

    Great project and video - thanks.

  • @meagrebones
    @meagrebones 11 หลายเดือนก่อน +2

    You need a sponsor. Tje catering alone on that location shoot must have been enormous. Cool project as well.😉

    • @onecircuit-as
      @onecircuit-as  11 หลายเดือนก่อน

      It cost a fortune. No expense spared! 😂

  • @neilcameron4680
    @neilcameron4680 11 หลายเดือนก่อน +1

    Great project to be able to download the data file and upload the bin file corresponding to the updated sketch. Thanks for making the code available and for all the hard work.

    • @onecircuit-as
      @onecircuit-as  11 หลายเดือนก่อน

      Thank you Neil - hope it works well for your projects! 👍😀

    • @neilcameron4680
      @neilcameron4680 11 หลายเดือนก่อน +1

      The code you provided works "straight out of the box". I've used OTA to update URLs for the internet radio, as the radio station URLs often change. Still to identify a project to include the data download option. Thanks again for a great project.

    • @onecircuit-as
      @onecircuit-as  11 หลายเดือนก่อน

      Such good news! 👍😀

  • @icarossavvides2641
    @icarossavvides2641 หลายเดือนก่อน

    Nicely done.

    • @onecircuit-as
      @onecircuit-as  หลายเดือนก่อน

      Thank you. I’m thinking about doing a follow up showing how it’s done for a particular project. 👍😀

  • @petermiller4097
    @petermiller4097 11 หลายเดือนก่อน +1

    This is great - thank you for putting it all together. Looking forward to trying it.

    • @onecircuit-as
      @onecircuit-as  11 หลายเดือนก่อน

      Thank you Peter, please let me know how you get on. 👍😀

  • @capability-snob
    @capability-snob 11 หลายเดือนก่อน +1

    Who knew you could find conveniences like this in the rugged bush of Tassie?
    Is the firmware update password stored hashed on the device?

    • @onecircuit-as
      @onecircuit-as  11 หลายเดือนก่อน +1

      Great question. I would like to dive into an encrypted version, so for instance it would be “safe” to distribute coded binaries. On the blog I go through some “next steps” possible for this project. At the moment it’s still quite “open”. 👍😀

  • @michelgirard6055
    @michelgirard6055 8 หลายเดือนก่อน +1

    Great job ! I have not yet tried but it sounds good. Do you think I can use it for my project (ping pong ball launcher robot) that uses BLE to communicate with my Android phone ?

    • @onecircuit-as
      @onecircuit-as  8 หลายเดือนก่อน

      There are quick rewrites needed to use main.h (mysetup() and myloop()), but the code should shoehorn pretty easily. Feedback is that others have been successful porting their projects to this OTA framework - good luck and please keep me in the loop! 👍😀

    • @michelgirard6055
      @michelgirard6055 8 หลายเดือนก่อน +1

      @@onecircuit-as Thanks. I will

  • @jamiej2554
    @jamiej2554 10 หลายเดือนก่อน +1

    Great Stuff, Sir. Just what I have been looking for, except I cannot get the initial login screen. What am i not doing? I used the zip file from GitHub and it doesn't seem to contain a login html. Thanks in advance.

    • @onecircuit-as
      @onecircuit-as  10 หลายเดือนก่อน

      The main html file is in the "data" folder and is called main.html. So after programming the ESP32, if you do not change any default settings, you should point your device towards a WiFi access point called "YourAccessPointSSID" with the password "YourAccessPointPassword". After that, on your device start a browser and enter 192.168.19.63 (default IP address) and you should see main.html. The other html files are accessible from this page. Good luck - let me know how you get on! 👍😀

    • @jamiej2554
      @jamiej2554 10 หลายเดือนก่อน +1

      Please help. I would really like to use this code for a project I am working on.
      I have tried every combination I can think of to get the main.html (or other) webpage to show, and nothing works. I have tried IDE 1.8.18 and 1.8.19 and the command line through Windows Power Shell and nothing. I have re-loaded the IDE software and nothing. I have tried the 'ESP32 Sketch Data Upload' button under IDE Tools and nothing - I do see (on IDE output) what appears to load all the data files but no webpages at the URL. I have tried not uploading the data files and uploading the data files before and after uploading the sketch and nothing. I have tried uploading the binary for the data files using esptools and still nothing. I have even tried running your code "out of the box" with no modifications for my personal AP details and nothing. I have tried various combinations of ESP32 devices and nothing.
      I am currently running IDE 1.8.19 with the 'ESP32 Sketch Data Upload' button working to load what IDE calls a SPIFFS load (no LittleFS function available for ESP32) and uploading to a known good ESP32 WROOM-DA (DEVKIT V1) module.
      I continue to examine your code for possible issues but I have to say my coding skills may not be adequate. Not to question your skills but, is it possible that in your testing, the data files were already in the test device memory and there is a bug in your code that erases the data during a normal IDE or binary sketch upload? Several days have now been devoted to figuring this out and all I have to show for it is a sketch that shows nothing but a blank webpage after going to the URL. Thanks in advance.@@onecircuit-as

    • @onecircuit-as
      @onecircuit-as  10 หลายเดือนก่อน

      @jamiej2554 Have you installed the LittleFS file uploader plugin on the IDE - see this page for example: github.com/me-no-dev/arduino-esp32fs-plugin
      SPIFFS will not work with my code. SPIFFS is deprecated, replaced by LittleFS.
      There's also some tutorials about how to upload your data files (including main.html) to your ESP32 LittleFS partition, for example: randomnerdtutorials.com/esp32-littlefs-arduino-ide/
      Let me know if that is the issue! 👍😀

    • @jamiej2554
      @jamiej2554 10 หลายเดือนก่อน +1

      ​@@onecircuit-as I have had the uploader installed since the beginning of my attempts to make the code work (i.e. all me previous issues were WITH the plug-in installed). I see your comment about SPIFFS not working, but last night I modified the code to accept SPIFFS and everything worked (slow, but) fine. I am still concerned that the plug-in does not give me a choice of LittleFS, SPIFFS or FatFS when I try to upload data. The Upload button simply defaults to SPIFFS uploader and does seem to work reliably. I am continuing to try re-install of the plug-in as I have noticed various versions of the Java and tool codes available on the internet. Any comments are welcomed.

    • @onecircuit-as
      @onecircuit-as  10 หลายเดือนก่อน

      @@jamiej2554 Yes there are a few varieties available - I've settled on LittleFS because that is the most reliable. Of course you can modify the code to run any partition. Glad you were able to get it up and running! The following version seems to allow all three formats: mischianti.org/esp32-integrated-littlefs-filesystem-5/