Sensors and control via MQTT
This rep is focused on the HA/MQTT part.
struct attribute((packed)) SENSOR_DATA {
int sensor;
char MQTT_sensor_topic[15];
int millis;
float temp;
float humidity;
float pressure;
float battery;
int spare1;
float spare2;
} sensorData;
ESP32 is not the latest. Continued improvements in Visual code studio in separate rep.