• 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

Should I disable WiFi on NodeMCU

Q&A Forum › Category: ESP8266 › Should I disable WiFi on NodeMCU
0 Vote Up Vote Down
Peter Ashford asked 5 years ago

I have started to use MicroPython on my NodeMCU as it is very quick to develop and debug.  In many cases, I don’t need network access.

I assume it would be better to disable network access.

import network
sta_if = network.WLAN(network.STA_IF)
sta_if.active(False)
ap_if = network.WLAN(network.AP_IF)
ap_if.active(False)

Would you recommend I did this and are there any disadvantages  ?

Peter

Question Tags: disable network, MicroPython
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Peter.
I don’t think there are any disadvantages. So, as long as your project is working as expected, it’s all good.
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.