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

Unify and improve the existing web pages #166

Open
10 of 14 tasks
melkati opened this issue Feb 4, 2024 · 3 comments
Open
10 of 14 tasks

Unify and improve the existing web pages #166

melkati opened this issue Feb 4, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@melkati
Copy link
Owner

melkati commented Feb 4, 2024

Currently there are several independent web pages (such as the main index.html page, with the measurements, or the preferences.html preferences page). There is no navigation between them. Moreover, these pages do not share CSS styles and color variables are not used everywhere.

The aim is to unify all this, to create a navigation system that is easy to extend and maintain, and to unify the CSS styles, improving them.

As with most new features, the tasks necessary to implement this are (open to change):

The tasks necessary are (open to change):

  • Define objetives and implementation
  • Unify and clean existing CSS, using color variables everywhere
  • Implement navigation system
  • Add data validation and sanity checks to configuration form
  • Dependencies in preferences page (MQTT needs WiFi to activate)
  • New option to show/hide MQTT sending in serial console
  • Improve existing pages and add new
    • Add advanced settings
    • Add calibration page
    • Add charts page
    • Add backup and restore of settings on preferences page
    • Add Captive Portal Preferences #
  • In deep testing and debugging in all environments
  • Documentation for the web pages
@melkati melkati added the enhancement New feature or request label Feb 4, 2024
@melkati melkati moved this to To do in CO2 Gadget Roadmap Feb 5, 2024
@melkati melkati added this to the improve-web-pages milestone Feb 7, 2024
@melkati melkati moved this from To do to In progress in CO2 Gadget Roadmap Feb 8, 2024
@hapklaar
Copy link

hapklaar commented Mar 4, 2024

Could you also include the possibility to custom calibrate the CO2 sensor using web or other remote protocol? I haven't been able to find how to 'calibrate by custom ppm' other than by serial connection, which is a bit cumbersome when wanting to calibrate to current outside values (421ppm).

@melkati
Copy link
Owner Author

melkati commented Mar 5, 2024

Could you also include the possibility to custom calibrate the CO2 sensor using web or other remote protocol? I haven't been able to find how to 'calibrate by custom ppm' other than by serial connection, which is a bit cumbersome when wanting to calibrate to current outside values (421ppm).

Once the new web system is ready, we will include new options, including the calibration options.

While it gets ready, you already have some options to calibrate the CO2 sensor remotely and locally.

  • You can do it from the menu on display. Just go to the calibration menu, set the "Custom Cal" to 421ppm and select "Calibrate at custom ppm". Done. CO2_Gadget_Menu_Calibration
  • You can do it via the http interface. Load in your internet browser the URL: http://CO2_GADGET_IP/settings?CalibrateCO2=421
  • You can do it via MQTT by sending a message with the topic rootTopic/calibration and a number between 400 and 2000 in the Payload (421 for example) you can instruct CO2 Gadget to calibrate the sensor to that concentration. https://emariete.com/en/co2-meter-gadget/#Recepcion_de_comandos_por_MQTT

I hope this meets your needs. If you need any support with this, please open a new issue to keep this one focused on the web pages improvement topic.

@melkati melkati added the help wanted Extra attention is needed label Apr 8, 2024
@melkati melkati moved this from In progress to To do in CO2 Gadget Roadmap Apr 10, 2024
@melkati melkati moved this from To do to In progress in CO2 Gadget Roadmap Apr 25, 2024
@melkati
Copy link
Owner Author

melkati commented May 17, 2024

A basic navigation bar has been implemented. You don't have to type and remember URLs anymore!
Added tool tips. for help.
Add better sanitize and data checks.
Implemented status page.
Implemented OTA page.

@melkati melkati moved this from In progress to Done in CO2 Gadget Roadmap Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Development

No branches or pull requests

2 participants