1
0
Commit Graph

121 Commits

Author SHA1 Message Date
Jose
b6f13cfff8 changed deviceId from Integer to String/CHAR(6) 2025-05-08 18:23:12 +02:00
Jose
5665cb3e5e Refactor MqttVerticle and GPS implementations: add stop method, update GPS serial handling, and improve WiFi connection logic with LED feedback 2025-05-08 07:24:28 +02:00
Jose
383202709e Refactor GPS and MQ7 sensor implementations: update function signatures, improve initialization, and streamline data reading logic 2025-05-07 04:14:39 +02:00
Jose
b2c7b7677b In the current state all the timings work flawlessly but MQ is still 0.0f and GPS is not read 2025-05-06 22:56:41 +02:00
Jose
fa1b457004 Refactor frontend components and contexts for improved structure and functionality
- Removed unnecessary comments and documentation from CardContainer, Header, HistoryCharts, MenuButton, PollutionMap, SideMenu, SummaryCards, and ThemeButton components.
- Updated import paths to use aliasing for cleaner code.
- Replaced the old context implementations (ConfigContext, DataContext, ThemeContext) with new hooks and context structure for better state management.
- Introduced a new axios instance for API calls to streamline requests.
- Added new utility functions for date and error parsing.
- Updated the main entry point and pages to reflect new context and component structures.
- Created new configuration files for development and production environments.
- Enhanced data fetching logic with improved error handling and loading states.
2025-05-06 03:52:24 +02:00
Jose
5d1b2feeab Refactor sensor data handling: update sensor read functions to return structured data and improve timer management in main loop 2025-05-04 23:23:37 +02:00
Jose
e57222f46d Refactor MQ7 sensor implementation: remove old files and introduce MQ7v2 with updated reading logic 2025-05-02 17:32:47 +02:00
Jose
b8666c1727 cambios picha 2025-04-30 14:10:00 +02:00
Jose
935631a574 Merge pull request #14 from Gallardo7761/feature/bmp280
refactor
2025-04-28 10:52:56 +02:00
Jose
8c570b11b9 Merge branch 'main' into feature/bmp280 2025-04-28 10:51:31 +02:00
Jose
cf540bdec9 Refactor MAX7219 initialization and update MQ7 reading delay 2025-04-27 22:27:06 +02:00
Jose
51db158354 Add hardware support for GPS, MAX7219, BME280, and MQ7 sensors
- Implemented GPS functionality with initialization and reading latitude and longitude.
- Added MAX7219 display support, including initialization, text display, animation control, and brightness settings.
- Integrated BME280 sensor for reading temperature, pressure, and humidity.
- Developed MQ7 sensor interface for reading gas concentration values.
- Created HTTP client for GET and POST requests.
- Implemented MQTT client for message handling and connection management.
- Added JSON serialization and deserialization functions for sensor and actuator data.
- Established WiFi connection setup for network communication.
2025-04-25 22:29:57 +02:00
Jose
0c09fcd913 Replace BMP280 with BME280: remove BMP280 files and implement BME280 initialization and reading functions 2025-04-25 19:54:28 +02:00
Jose
6c86f85ff1 Remove WebServerVerticle and update API endpoints in settings.json; fix base URL formatting in multiple components 2025-04-24 02:46:07 +02:00
Jose
25382c3396 Co-authored-by: clajimbus <clajimbus@users.noreply.github.com> 2025-04-22 10:36:02 +02:00
Jose
1b470ad910 Remove MQ7 and BMP280 files and update their headers and implementations 2025-04-11 10:07:59 +02:00
Jose
0390edbb97 c to cpp 2025-04-11 10:05:43 +02:00
Jose
b02d3539cb Refactor project structure: update Java version, remove MQ7 files, and add BMP280 support 2025-04-11 10:02:05 +02:00
Jose
bbec62aac9 Merge pull request #13 from Gallardo7761/feature/MQ7
Feature/mq7
2025-04-11 09:26:22 +02:00
Jose
8488209c03 Merge pull request #12 from Gallardo7761/feature/MQTT
Adding MQTT protocol to allow message interchange
2025-04-11 09:25:07 +02:00
Jose
f93ba9ba8b mqtt me la pela 2025-04-11 09:24:51 +02:00
Jose
f1c924f856 me la pela 2025-04-11 09:22:56 +02:00
2ea77ee34b Refixing MQ7 2025-04-11 09:19:05 +02:00
Jose
3a55423475 Merge pull request #11 from Gallardo7761/feature/restjson
Feature/restjson
2025-04-11 09:17:58 +02:00
Jose
bf7719bac4 fin 2025-04-11 09:17:08 +02:00
d83436a395 Fixing files 2025-04-11 09:12:30 +02:00
AlejandroJose2001
4eb2fcd6ed Sensor MQ7 init and read 2025-04-10 16:18:14 +02:00
Jose
245f213ad9 http requests from esp32 to api 2025-04-09 14:19:52 +02:00
Jose
0c03c052b4 fucking fixes i hate cpp 2025-04-09 13:14:11 +02:00
Jose
bd7d56b46e serializers and deserializers 2025-04-09 12:40:03 +02:00
Jose
d77fc3edf3 Init commit 2025-04-09 10:14:46 +02:00
9f9229749b Adding MQTT protocol to allow message interchange 2025-04-09 10:13:47 +02:00
Jose
bef8b30f2c estructura basica del proecto + wifi 2025-04-09 08:41:08 +02:00
Jose
09542bc474 estructura basica esp y libs 2025-04-07 11:33:19 +02:00
Jose
39031269e8 hardware 2025-04-07 11:05:49 +02:00
Jose
42da43af0e Updated WebServerVerticle 2025-03-17 11:20:26 +01:00
Jose
f992c87e3f API finished 2025-03-17 10:36:35 +01:00
Jose
a4fe915c2a changes in frontend 2025-03-17 02:34:54 +01:00
Jose
c766ab68a1 changes on frontend 2025-03-17 02:24:24 +01:00
Jose
13d0a277cc Fix frontend from other loc 2025-03-17 01:59:55 +01:00
Jose
11cc23b0b9 Removed frontend for it to use new custom webroot folder. 2025-03-17 01:45:10 +01:00
Jose
b06f1c5285 Update vite.config.js 2025-03-17 01:40:11 +01:00
Jose
166e32db20 Merge pull request #9 from Gallardo7761/feature/dataApi
Data endpoints
2025-03-16 17:45:52 +01:00
Jose
ed634c60c7 Update DataLayerAPIVerticle.java
He identado algunas cosas con el formatter automatico de Java para que se lea mejor.
2025-03-16 17:37:59 +01:00
clajimbus
cc4f9e863a Data endpoints 2025-03-16 11:53:01 +01:00
Jose
b6ecccdf00 Modified Frontend for it to use new endpoints 2025-03-16 04:49:23 +01:00
Jose
92ca2e4c0a Add SingleJsonResponse class for POST/PUT return messages 2025-03-16 04:33:34 +01:00
Jose
156fc97e98 Fixed errors in Business Logic API and finished it. 2025-03-16 03:24:33 +01:00
Jose
4d613efc33 Fixed errors in Business Logic API and finished it. 2025-03-16 03:12:02 +01:00
Jose
103ba113f6 Fixed errors in Business Logic API and finished it. 2025-03-16 03:04:32 +01:00