// Настройки WiFi #define WIFI_SSID "SSID_HERE" #define WIFI_PASS "PASS_HERE" // Сервер MQTT #define MQTT_SERVER "MQTT_SERVER_HERE" #define MQTT_PORT 5319 #define MQTT_LOGIN "MQTT_LOGIN_HERE" #define MQTT_PASS "MQTT_PASS_HERE" #define DHTPIN D4 // pin gpio 2 in sensor #define DHTTYPE DHT22 // DHT 22 Change this if you have a DHT11 #define HOMEASSISTANT_TOPIC "homeassistant/sensor/sensorDht"