[GH-ISSUE #1262] how could i disable main screen update button. #1079

Open
opened 2026-02-28 01:28:26 +03:00 by kerem · 1 comment
Owner

Originally created by @ozzcet on GitHub (Jun 16, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1262

Basic Infos

image

Hardware

WiFimanager Branch/Release: Master

Esp8266/Esp32:

Hardware: ESP-12e,

Core Version: 2.4.0, staging

Description

I want to dissable upload button at main screen shown like above image. I know there is a way dissable update button at info with wifiManager.setShowInfoUpdate(false); however I did not find any way to dissable update button at main page.

Settings in IDE

Module: NodeMcu,

Originally created by @ozzcet on GitHub (Jun 16, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1262 ### Basic Infos ![image](https://user-images.githubusercontent.com/29270943/122222929-672ada80-cebb-11eb-8ed0-fc5aff1e06b6.png) #### Hardware WiFimanager Branch/Release: Master Esp8266/Esp32: Hardware: ESP-12e, Core Version: 2.4.0, staging ### Description I want to dissable upload button at main screen shown like above image. I know there is a way dissable update button at info with wifiManager.setShowInfoUpdate(false); however I did not find any way to dissable update button at main page. ### Settings in IDE Module: NodeMcu,
Author
Owner

@hggh commented on GitHub (Aug 8, 2021):

  std::vector<const char *> wm_menu  = {"wifi", "exit"};
  wm.setShowInfoUpdate(false);
  wm.setShowInfoErase(false);
  wm.setMenu(wm_menu);
  wm.autoConnect("my-esp32", "");

Use the setMenu method. You have to call the set* methods before using autoConnect method. Works fine - I have only two menu items left: wifi and exit.

<!-- gh-comment-id:894851277 --> @hggh commented on GitHub (Aug 8, 2021): ``` std::vector<const char *> wm_menu = {"wifi", "exit"}; wm.setShowInfoUpdate(false); wm.setShowInfoErase(false); wm.setMenu(wm_menu); wm.autoConnect("my-esp32", ""); ``` Use the setMenu method. You have to call the set* methods before using autoConnect method. Works fine - I have only two menu items left: wifi and exit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1079
No description provided.