• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Turning WiFi on for OTA based on time-of-day

Q&A Forum › Turning WiFi on for OTA based on time-of-day
0 Vote Up Vote Down
christopher.maloney asked 2 years ago
6 Answers
0 Vote Up Vote Down
christopher.maloney answered 2 years ago

Sorry, my mistake.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Is this issue solved? Or do you need any help?
Regards,
Sara

0 Vote Up Vote Down
christopher.maloney answered 2 years ago

Hi Sara,
Thanks for your diligent follow up.
A: er, Yes and No !!
I’m getting close. I switched to BLE from esp-now.
But it wasn’t until I found this trick for the esp32 editing [boards.txt] that I was able to get going again.
 

"esp32doit-devkit-v1.menu.PartitionScheme.default=Default"
"esp32doit-devkit-v1.menu.PartitionScheme.default.build.partitions=default"
"esp32doit-devkit-v1.menu.PartitionScheme.minimal=Minimal (2MB FLASH)"
"esp32doit-devkit-v1.menu.PartitionScheme.minimal.build.partitions=minimal"
"esp32doit-devkit-v1.menu.PartitionScheme.no_ota=No OTA (Large APP)"
"esp32doit-devkit-v1.menu.PartitionScheme.no_ota.build.partitions=no_ota"
"esp32doit-devkit-v1.menu.PartitionScheme.no_ota.upload.maximum_size=2097152"
"esp32doit-devkit-v1.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)"
"esp32doit-devkit-v1.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs"
"esp32doit-devkit-v1.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080"
"esp32doit-devkit-v1.menu.PartitionScheme.fatflash=16M Fat"
"esp32doit-devkit-v1.menu.PartitionScheme.fatflash.build.partitions=ffat"

From Here: https://www.youtube.com/watch?v=5VoXNloOwZE – just scroll down to “more of” his comments

Which, as you probably know, adds options to Ardo’ Tools menu. Because I kept getting RAM issues.
I went for “min_spiffs=Minimal SPIFFS (Large APPS with OTA)”.

Chris

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Ok.
Thanks for the follow-up.
If you’re using Bluetooth, there is a library that occupies much less space than the library that comes by default. Many of our readers have used it with great results. I haven’t tried it yet.
But here’s the link: https://github.com/h2zero/NimBLE-Arduino
 
Regards,
Sara

0 Vote Up Vote Down
christopher.maloney answered 2 years ago

Thanks for the heads-up link Sara.
I have downloaded and will do a test run – later today maybe…
Chris

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

OK.
Then, tell us how it went.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn ESP32 with Arduino IDE eBook (version 2.2) September 20, 2023
  • [eBooks Updated] Smart Home, Firebase and Build Web Servers July 15, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.