Update WiFi credentials, modify DEVICE_ROLE to SENSOR, and refactor GROUP_ID initialization; enhance MQ7_Read_Fake logic
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user