1
0

succesful mqtt connection to server

This commit is contained in:
Jose
2025-05-11 10:09:41 +02:00
parent 7f823cbda0
commit 095dedfabb
7 changed files with 76 additions and 50 deletions

View File

@@ -0,0 +1,22 @@
#include <Arduino.h>
#define MQTT_URI "miarma.net"
#define API_URI "https://contaminus.miarma.net/api/v1/"
#define REST_PORT 443
#define MQTT_PORT 1883
#define USER "contaminus"
#define MQTT_PASSWORD "contaminus"
#define SSID "DIGIFIBRA-D2ys"
#define WIFI_PASSWORD "4EEATsyTcZ"
#define MQ7_ID 3
#define BME280_ID 2
#define GPS_ID 1
#define MAX7219_ID 1
#define DEBUG
extern const uint32_t DEVICE_ID;
extern const int GROUP_ID;