Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ESP32 temperature to GUI #151

Closed
TungstenE2 opened this issue Jul 29, 2021 · 5 comments · Fixed by #156
Closed

add ESP32 temperature to GUI #151

TungstenE2 opened this issue Jul 29, 2021 · 5 comments · Fixed by #156
Labels
duplicate This issue or pull request already exists

Comments

@TungstenE2
Copy link

TungstenE2 commented Jul 29, 2021

Tasmota implemented ESP32 temperatue reading to GUI.

Is this possible to add this value to esp32-cam-webserver GUI as well?

grafik

@haraldtux
Copy link

haraldtux commented Aug 8, 2021

maybe like this (MCU temperature :....) :
IMG_20210808_155014A
In file : app_httpd.cpp
line 78 to add :

#ifdef __cplusplus
extern "C" {
#endif
uint8_t temprature_sens_read();
#ifdef __cplusplus
}
#endif
uint8_t temprature_sens_read();

line 558 to add :

int McuTc = (temprature_sens_read() - 32) / 1.8; // celsius
int McuTf = temprature_sens_read(); // fahrenheit
d+= sprintf(d,"MCU temperature : %i *C, %i *F\n<br>", McuTc, McuTf);

@easytarget easytarget added the duplicate This issue or pull request already exists label Aug 21, 2021
@easytarget
Copy link
Owner

I've already discussed and decided not to do this.
The temp sensor is not part of the cheap ESP32S1 chips most of the AI-Thinker clones are based upon. It certainly is not present in any of mine; I have tested them. See espressif/arduino-esp32#2422
Also, dup. of #56

@TungstenE2
Copy link
Author

To be honest, this is a petty. On my cams this is working great and also Tasmota is offering this. Why not add it to the dump page? If the sensor is not present just no value is shown, but it gives more details and in my case very usefull as well.

Please reconsider. Thx

grafik

@easytarget
Copy link
Owner

You are, of course, quite right. I'll see what I can do since adding this (if available) to the data page is trivial

@easytarget easytarget reopened this Sep 2, 2021
easytarget added a commit that referenced this issue Sep 3, 2021
* Temperature Display in data screen (#151)
* Feedback improvements
@mrneutron42
Copy link

mrneutron42 commented Jun 26, 2023

How do we turn on the temperature reading in the GUI?
I've got Tasmota ESP32-CAM 12.5.0.3 loaded and it's only showing framerate in the GUI.
ESP32-CAM GUI main 12 5 0 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants