mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1287] Display Dynamic Sensor Readings on WiFi Configuration page #1104
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JJSlabbert on GitHub (Sep 4, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1287
I need to display dynamic sensor readings on the Configure WiFi (or some where else) page. The sensor readings need to be updated +/- every 3 seconds. I was able to get correct sensor readings using the following HTML code in custom parameters, but the sensor readings is static. It seems like they are taken the moment the configuration portal starts. Refreshing the page with the browser or the blue refresh button does not refresh the sensor reading.
My Setup: Reading Battery voltage on A0
When Configuration portal starts, the battery is connected. My code reeds the voltage correct. If I remove the battery and hit refresh, the reading does not change. Any advice?
@tablatronix commented on GitHub (Sep 5, 2021):
use non blocking mode and update the param in loop
@JJSlabbert commented on GitHub (Sep 6, 2021):
Tnx. I got it working with a custom page, I will use your suggestion also. Tnx for the great project.