Dies ist eine alte Version des Dokuments!
Go to your sonoff console and enter
SetOption19 1
This turns on auto discover.
Then in HA go to Configuration > Integrations > MQTT .
I had a similar experience with the Teckin plug. Autodiscovery wouldn’t work. I finally did this:
MQTT Discovery REMOVED~ Home Assistant MQTT Discovery is removed from all builds of Tasmota and development of this feature is halted! 1)
Tasmota-Version muss >9 sein!
https://tasmota.github.io/docs/Expanding-Tasmota
If you can avoid it, don't use GPIOs: 0, 1, 2, 6-11, 15 and 16. That leaves 4, 5, 12, 13, 14 as GPIOs without any constraints. 3 being RX is also good to avoid (PWM is not working on this GPIO).
Pull-UP 10k
https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/
Kellerlicht aus & an:
20:47:03.567 MQT: tele/rf_tasmota_B29E24/RESULT = {"Time":"2023-08-19T20:47:03","RfReceived":{"Sync":10380,"Low":270,"High":950,"Data":"504014","RfKey":"None"}} 20:47:07.085 MQT: tele/rf_tasmota_B29E24/RESULT = {"Time":"2023-08-19T20:47:07","RfReceived":{"Sync":10390,"Low":270,"High":940,"Data":"504015","RfKey":"None"}} 20:58:32.825 CMD: RfRaw AAB155 20:58:32.832 MQT: stat/rf_tasmota_B29E24/RESULT = {"RfRaw":"ON"} 20:58:32.854 MQT: tele/rf_tasmota_B29E24/RESULT = {"Time":"2023-08-19T20:58:32","RfRaw":{"Data":"AAA055"}} 20:58:38.138 MQT: tele/rf_tasmota_B29E24/RESULT = {"Time":"2023-08-19T20:58:38","RfRaw":{"Data":"AA B1 03 014A 03E8 2878 28190819081818181819081818181818181818190819081818 55"}} 20:58:40.601 MQT: tele/rf_tasmota_B29E24/RESULT = {"Time":"2023-08-19T20:58:40","RfRaw":{"Data":"AA B1 03 0154 03DE 2896 28190819081818181819081818181818181818190819081908 55"}}
Nach Konvertierung:
Aus: AA B0 21 03 08 014A 03E8 2878 28190819081818181819081818181818181818190819081818 55
An: AA B0 21 03 08 0154 03DE 2896 28190819081818181819081818181818181818190819081908 55
Topic:
cmnd/rf_tasmota_B29E24/RFsend