1
0

Update WiFi credentials, modify DEVICE_ROLE to SENSOR, and refactor GROUP_ID initialization; enhance MQ7_Read_Fake logic

This commit is contained in:
Jose
2025-06-03 22:16:22 +02:00
parent fb53c0fb83
commit 24802271bb
5 changed files with 28 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
#include <Arduino.h>
#define DEVICE_ROLE ACTUATOR // se cambia entre SENSOR y ACTUATOR
#define DEVICE_ROLE SENSOR // se cambia entre SENSOR y ACTUATOR
#define MQTT_URI "miarma.net"
#define API_URI "https://contaminus.miarma.net/api/v1/"
@@ -18,5 +18,5 @@
#define DEBUG
extern const uint32_t DEVICE_ID;
extern const int GROUP_ID;
extern int GROUP_ID;
extern String currentMessage;