Bigmanekb (обсуждение | вклад) |
Red (обсуждение | вклад) Нет описания правки |
||
Строка 10: | Строка 10: | ||
|- | |- | ||
|DS18B20 | |DS18B20 | ||
|/DS18B20/temperature | |SprutHub/DS18B20/temperature | ||
|/sensor/ds18b20/state | |/sensor/ds18b20/state | ||
|- | |- | ||
|BME280 | |BME280 | ||
|/BME280/Pressure | |SprutHub/BME280/Pressure | ||
/BME280/Temperature | SprutHub/BME280/Temperature | ||
/BME280/Humidity | /BME280/Humidity | ||
|/sensor/bme280_pressure/state | |/sensor/bme280_pressure/state | ||
Строка 22: | Строка 22: | ||
|- | |- | ||
|BMP280 | |BMP280 | ||
|/BMP280/Pressure | |SprutHub/BMP280/Pressure | ||
/BMP280/Temperature | SprutHub/BMP280/Temperature | ||
|/sensor/bmp280_pressure/state | |/sensor/bmp280_pressure/state | ||
/sensor/bmp280_temperature/state | /sensor/bmp280_temperature/state | ||
|- | |- | ||
|Contact | |Contact | ||
|/Contact/State | |SprutHub/Contact/State | ||
| | | | ||
|- | |- | ||
|DHT11 | |DHT11 | ||
|/DHT11/Temperature | |SprutHub/DHT11/Temperature | ||
/DHT11/Humidity | SprutHub/DHT11/Humidity | ||
|/sensor/dht11_temperature/state | |/sensor/dht11_temperature/state | ||
/sensor/dht11_humidity/state | /sensor/dht11_humidity/state | ||
|- | |- | ||
|DHT22 | |DHT22 | ||
|/DHT22/Temperature | |SprutHub/DHT22/Temperature | ||
/DHT22/Humidity | SprutHub/DHT22/Humidity | ||
|/sensor/dht22_temperature/state | |/sensor/dht22_temperature/state | ||
/sensor/dht22_humidity/state | /sensor/dht22_humidity/state | ||
|- | |- | ||
|HC-SR501 | |HC-SR501 | ||
|/HC-SR501 | |SprutHub/HC-SR501/State | ||
| | | | ||
|- | |- | ||
|MH-Z19 | |MH-Z19 | ||
|/MH-Z19_([0-9])/PPM | |SprutHub/MH-Z19_([0-9])/PPM | ||
/MH-Z19_(2)/PPM | SprutHub/MH-Z19_(2)/PPM | ||
/MH-Z19_(2)/Temperature | /MH-Z19_(2)/Temperature | ||
|/sensor/mh-z19/state | |/sensor/mh-z19/state | ||
Строка 58: | Строка 56: | ||
|- | |- | ||
|Outlet | |Outlet | ||
|Состояние: /Outlet/Switch | |Состояние: SprutHub/Outlet/Switch | ||
Включение: /gpio/12 | Включение: SprutHub/gpio/12 | ||
| | | | ||
|- | |- | ||
|Relay | |Relay | ||
|Состояние: /Relay/Switch | |Состояние: SprutHub/Relay/Switch | ||
Включение: /gpio/12 | Включение: SprutHub/gpio/12 | ||
| | | | ||
|- | |- | ||
|PZEM-004 | |PZEM-004 | ||
|/PZEM-004/Voltage_V | |SprutHub/PZEM-004/Voltage_V | ||
/PZEM-004/Current_A | SprutHub/PZEM-004/Current_A | ||
/PZEM-004/Power_W | |||
/PZEM-004/Energy_WH | SprutHub/PZEM-004/Power_W | ||
SprutHub/PZEM-004/Energy_WH | |||
|/sensor/pzem-004_voltage_v/state | |/sensor/pzem-004_voltage_v/state | ||
/sensor/pzem-004_current_a/state | /sensor/pzem-004_current_a/state | ||
Строка 78: | Строка 78: | ||
|- | |- | ||
|Senseair S8 | |Senseair S8 | ||
|/Senseair/co2 | |SprutHub/Senseair/co2 | ||
|/sensor/senseair/state | |/sensor/senseair/state | ||
|- | |- |
Версия от 16:08, 22 ноября 2022
Базовые популярные платформы ESPHome и ESPEasy
Описаны шаблоны MQTT топиков, которые воспринимаются Sprut.hub и автоматически добавляют устройства при настроенном MQTT контроллере.
Для кого словосочетание "топик MQTT" - это набор символов, а не осмысленное выражение, советуем ознакомиться с теоретической частью про данный протокол, написанной в максимально доступной форме.
Модель | ESPEasy | ESPHome |
---|---|---|
DS18B20 | SprutHub/DS18B20/temperature | /sensor/ds18b20/state |
BME280 | SprutHub/BME280/Pressure
SprutHub/BME280/Temperature /BME280/Humidity |
/sensor/bme280_pressure/state
/sensor/bme280_temperature/state /sensor/bme280_humidity/state |
BMP280 | SprutHub/BMP280/Pressure
SprutHub/BMP280/Temperature |
/sensor/bmp280_pressure/state
/sensor/bmp280_temperature/state |
Contact | SprutHub/Contact/State | |
DHT11 | SprutHub/DHT11/Temperature
SprutHub/DHT11/Humidity |
/sensor/dht11_temperature/state
/sensor/dht11_humidity/state |
DHT22 | SprutHub/DHT22/Temperature
SprutHub/DHT22/Humidity |
/sensor/dht22_temperature/state
/sensor/dht22_humidity/state |
HC-SR501 | SprutHub/HC-SR501/State | |
MH-Z19 | SprutHub/MH-Z19_([0-9])/PPM
SprutHub/MH-Z19_(2)/PPM /MH-Z19_(2)/Temperature |
/sensor/mh-z19/state
/sensor/mh-z19/state /sensor/mh-z19_temperature/state |
Outlet | Состояние: SprutHub/Outlet/Switch
Включение: SprutHub/gpio/12 |
|
Relay | Состояние: SprutHub/Relay/Switch
Включение: SprutHub/gpio/12 |
|
PZEM-004 | SprutHub/PZEM-004/Voltage_V
SprutHub/PZEM-004/Current_A SprutHub/PZEM-004/Power_W SprutHub/PZEM-004/Energy_WH |
/sensor/pzem-004_voltage_v/state
/sensor/pzem-004_current_a/state /sensor/pzem-004_power_w/state /sensor/pzem-004_energy_wh/state |
Senseair S8 | SprutHub/Senseair/co2 | /sensor/senseair/state |
LYWSD02 | /sensor/(lywsd02.*)_temperature/state
/sensor/(2)_humidity/state /sensor/(2)_battery_level/state | |
YWSD03MMC | /sensor/(lywsd03mmc.*)_temperature/state
/sensor/(2)_humidity/state /sensor/(2)_battery_level/state |
Другие устройства
Модель | Топики |
---|---|
Sonoff 1CH (Tasmota) | stat/(1)/POWER
cmnd/(1)/POWER |
Sonoff 4CH (Tasmota) | stat/(.*)/POWER([1-4])
cmnd/(.*)/POWER([1-4]) |
Shelly | shellies/(.*)/relay/([0-9])
shellies/(1)/relay/(2)/command |
Drivent | Поддержка "из коробки" |