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

Solution for "Add sensor or other dynamic data to HTML or stream #114" #241

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Mar 31, 2022

  1. Update esp32-cam-webserver.ino

    precondition install the LIB https://github.com/finitespace/BME280
    
    Add #define HAS_BME280 to activate this function
    
    change in the code:
    - add declaration for BME280
    - add setup in void setup() for BMS280
    hansju-11 committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    2b1abc6 View commit details
    Browse the repository at this point in the history
  2. Update app_httpd.cpp

    add #define HAS_BME280 to activate the function
    
    change in code:
    add static esp_err_t readSensor_handler(httpd_req_t *req) to get the sensor data "inline"
    depending on HAS_BME280, load specific data from index_other.h
    hansju-11 committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    27ce23f View commit details
    Browse the repository at this point in the history
  3. Update index_other.h

    add section for sensor data in simple view
    hansju-11 committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    a526ade View commit details
    Browse the repository at this point in the history
  4. Update css.h

    add .card layout defition
    hansju-11 committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    649f4c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Update app_httpd.cpp

    fix build failer line 658  replace with HTTPD_RESP_USE_STRLEN
    hansju-11 committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    a37f2c0 View commit details
    Browse the repository at this point in the history