diff --git a/frontend/src/components/HistoryCharts.jsx b/frontend/src/components/HistoryCharts.jsx index a217207..214bbe0 100644 --- a/frontend/src/components/HistoryCharts.jsx +++ b/frontend/src/components/HistoryCharts.jsx @@ -18,7 +18,7 @@ const HistoryCharts = ({ groupId, deviceId }) => { if (configError) return

Error al cargar configuración: {configError}

; if (!config) return

Configuración no disponible.

; - const BASE = config.appConfig.endpoints.DATA_URL; + const BASE = config.appConfig.endpoints.LOGIC_URL; const ENDPOINT = config.appConfig.endpoints.GET_DEVICE_HISTORY; const endp = ENDPOINT .replace(':groupId', groupId) diff --git a/hardware/include/main.hpp b/hardware/include/main.hpp index 5308fff..80e6b1f 100644 --- a/hardware/include/main.hpp +++ b/hardware/include/main.hpp @@ -6,9 +6,9 @@ #define GROUP_ID 1 -#define MQ7_ID 1 +#define MQ7_ID 3 #define BME280_ID 2 -#define GPS_ID 3 +#define GPS_ID 1 #define MAX7219_ID 1 #define DEBUG