1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.62k stars 795 forks source link

HA: RF modules discovery as sensors. Subscribe topics, accordingly to (not) defined valueAsATopic. #2117

Open peshovec opened 4 days ago

peshovec commented 4 days ago

The RF sensors discovery are created with topics like "/433toMQTT" If valueAsATopic is defined, then published messages are not in the main topic, but in subtree. Change the topic to be like "/433toMQTT/#" , when valueAsATopic is defined.

Description:

Checklist:

DigiH commented 4 days ago

Hi @peshovec

Right clicking into the code files and choosing Format Document should get rid of your Code Format error.