Hi,
I have TFA Drop Rain Gauge 30.3233.01 and used it for a while (couple of years actually) in Home Assistant with OpenMQTTGateway v0.9.16 with RTL_433. Lately I realized that I need to change batteries in rain gauge, and after that it changed ID - and started to be unavaliable in Home Assistant. I can’t get it working, as it is not added by autodiscovery again with new ID.
So I decided to upgrade my OpenMQTTGateway to newest wersion, but found that any version above v0.9.16 is not able to decode TFA Drop Rain Gauge 30.3233.01 at all (decoding lot of other devices properly). When I downgrade version to v0.9.16 it is decoding TFA OK, but unavaliable in HA (not adding device with changed id).
So I’ve just stuck at that point . . . any help will be appreciated.
Here are logs from v0.9.16 decoding device:
Blockquote
************* WELCOME TO OpenMQTTGateway **************
N: OpenMQTTGateway Version: v0.9.16
{
“mqtt_server”: “",
“mqtt_port”: “1883”,
“mqtt_user”: "”,
“mqtt_pass”: “***”,
“mqtt_topic”: “home/”,
“gateway_name”: “OpenMQTTGateway_rtl_433_ESP”,
“mqtt_broker_secure”: false,
“mqtt_broker_cert”: “”,
“mqtt_ss_index”: 0,
“ota_server_cert”: “”
}*WM: [1] Free heap: 161416
*WM: [1] ESP-IDF version: v3.3.5-1-g85c43024c
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter: server
*WM: [2] Added Parameter: port
*WM: [2] Added Parameter: user
*WM: [2] Added Parameter: pass
*WM: [2] Added Parameter: secure
*WM: [3] Updated _max_params: 10
*WM: [3] re-allocating params bytes: 40
*WM: [2] Added Parameter: cert
*WM: [2] Added Parameter: name
*WM: [2] Added Parameter: topic
N: Attempting Wifi connection with saved AP: 0
N: Attempting Wifi connection with saved AP: 1
E (886) wifi:sta is connecting, return error
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 2
E (1388) wifi:sta is connecting, return error
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 3
E (1890) wifi:sta is connecting, return error
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 4
E (2392) wifi:sta is connecting, return error
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Connect your phone to WIFI AP: OpenMQTTGateway_rtl_433_ESP with PWD: your_password
*WM: [1] AutoConnect
*WM: [2] ESP32 event handler enabled
*WM: [1] AutoConnect: ESP Already Connected
*WM: [1] STA static IP:
*WM: [2] setSTAConfig static ip not set
*WM: [1] AutoConnect: SUCCESS
*WM: [1] STA IP Address: ***
N: ZgatewayRTL_433 setup done
N: Switching to RTL_433 Receiver: 433.92Mhz
N: OpenMQTTGateway modules: [“rtl_433”]
N: ************** Setup OpenMQTTGateway end **************
. . . . . . . .
N: Send on /RTL_433toMQTT/TFA-Drop/915007 msg {“model”:“TFA-Drop”,“id”:915007,“battery_ok”:1,“rain_mm”:97.79,“mic”:“CHECKSUM”,“protocol”:“TFA Drop Rain Gauge 30.3233.01”,“rssi”:-64,“duration”:382059}
Blockquote
Here from latest v1.8.0:
Blockquote
************* WELCOME TO OpenMQTTGateway **************
N: Config mqtt unchanged, currently: true
N: Config serial unchanged, currently: false
N: Config offline unchanged, currently: false
N: Config disc unchanged, currently: true
N: Config ohdisc unchanged, currently: false
N: Config powermode unchanged, currently: false
N: SYS config loaded
N: OpenMQTTGateway Version: v1.8.0
T: mounting FS…
T: mounted file system
T: reading config file
T: opened config file
T:
parsed json, size: 1658
N: OTA server cert hash: 02118cbaf5cc02748398d93ecdb0ef2a444c37358a617bfb2206dfe351dc7cf2
N: Config loaded from flash
T: mounted file system
N: Attempting Wifi connection with saved AP: 0
T: OpenMQTTGateway mac: B8:D6:1A:A7:DC:E0
T: OpenMQTTGateway ip: ***
T: OpenMQTTGateway index 0
T: OpenMQTTGateway mqtt topic: home/
T: OpenMQTTGateway mqtt discovery prefix: homeassistant
T: OpenMQTTGateway gateway name: OMG_rtl_433_ESP_1_8
T: OpenMQTTGateway mqtt server: ***
T: OpenMQTTGateway mqtt port: 1883
T: OpenMQTTGateway mqtt user: ***
T: OpenMQTTGateway secure connection: false
T: OpenMQTTGateway validate cert: false
T: [WebUI] displayMetric true
T: [WebUI] WebUI Secure false
N: OpenMQTTGateway URL: http://***/
N: ZwebUI setup done
N: Config frequency changed to: false
N: RF Receive mhz: 433.92
N: RF receiver active: 3
N: Config active unchanged, currently: false
T: disableCurrentReceiver: -1
T: enableActiveReceiver: 3
N: C1101 spi Connection OK
N: Enable RTL_433 Receiver: 433.92Mhz
rtl_433_ESP(6): CC1101 gpio receive pin: 12
rtl_433_ESP(6): CC1101 receive frequency: 433.919983
rtl_433_ESP(6): # of device(s) configured 157
rtl_433_ESP(6): ssizeof(r_device): 112
rtl_433_ESP(6): cfg->devices size: 17584
N: RF Config loaded
T: ZgatewayRTL_433 command topic: home/OMG_rtl_433_ESP_1_8/commands/MQTTtoRF/config
N: ZgatewayRTL_433 setup done
T: mqtt_max_payload_size: 1rtl_433_ESP(6): Ignored Signal length: 8746, Time since last bit length: 1499, Gap length: 3095421, Signal RSSI: -76, Current RSSI: -82, pulses: 4, noise count: 8
rtl_433_ESP(6): Ignored Signal length: 3889, Time since last bit length: 1127, Gap length: 813, Signal RSSI: -81, Current RSSI: -82, pulses: 1, noise count: 13
184
N: Offline disabled
N: OpenMQTTGateway modules: [“WebUI”,“rtl_433”]
N: ************** Setup OpenMQTTGateway end **************
. . . . . . . .
rtl_433_ESP(6): Signal length: 343996, Gap length: 15748162, Signal RSSI: -70, train: 1, messageCount: 93, pulses: 395
rtl_433_ESP(6): Unparsed Signal length: 343996, Signal RSSI: -70, pulses: 396
rtl_433_ESP(6): RAW (343996): +313-5964(-54)+323-400(-54)+97-640(-54)+343-384(-55)+338-354(-57)+425-312(-57)+427-298(-55)+435-279(-56)+204-540(-57)+440-277(-57)+455-285(-57)+204-513(-58)+238-515(-59)+206-522(-59)+465-263(-59)+467-256(-60)+481-265(-60)+479-221(-60)+509-237(-61)+484-240(-60)+267-477(-60)+250-470(-61)+261-477(-61)+265-478(-61)+220-511(-61)+495-220(-61)+271-465(-61)+260-474(-61)+266-475(-61)+493-234(-61)+491-262(-61)+480-245(-61)+239-476(-61)+499-241(-61)+506-223(-61)+488-252(-61)+482-241(-61)+240-504(-61)+493-222(-61)+259-491(-61)+494-226(-61)+266-460(-61)+495-271(-61)+237-473(-61)+255-469(-61)+242-513(-61)+232-482(-61)+257-491(-61)+245-486(-61)+243-476(-61)+244-508(-61)+472-248(-61)+488-235(-61)+254-491(-61)+233-484(-61)+264-484(-61)+493-237(-61)+485-242(-61)+503-237(-61)+477-256(-61)+498-1872(-61)+740-728(-60)+735-743(-60)+238-477(-60)+268-455(-60)+519-221(-60)+500-228(-60)+521-224(-60)+509-214(-60)+258-481(-60)+488-241(-61)+519-204(-60)+500-239(-60)+505-229(-60)+505-244(-60)+245-474(-60)+515-209(-60)+500-231(-60)+270-466(-60)+245-494(-60)+260-472(-60)+512-212(-60)+507-223(-60)+518-209(-60)+504-244(-60)+499-223(-60)+507-242(-60)+245-478(-60)+257-470(-60)+271-459(-60)+260-483(-60)+266-477(-60)+491-238(-60)+249-484(-60)+245-471(-60)+261-477(-60)+510-239(-60)+498-234(-60)+499-206(-60)+257-490(-60)+507-219(-60)+512-233(-60)+500-235(-60)+495-229(-60)+253-482(-60)+496-227(-60)+270-481(-60)+486-238(-60)+273-459(-60)+493-240(-60)+269-448(-60)+277-469(-60)+267-467(-60)+266-476(-60)+247-487(-60)+265-447(-60)+250-496(-60)+265-475(-60)+486-238(-60)+498-237(-60)+246-489(-60)+239-476(-60)+266-476(-60)+512-208(-60)+501-231(-60)+517-241(-60)+472-241(-60)+493-1888(-60)+761-713(-60)+728-749(-60)+239-471(-61)+267-456(-60)+522-213(-60)+509-223(-60)+512-238(-60)+503-233(-60)+246-479(-60)+489-244(-60)+487-242(-60)+487-240(-60)+498-260(-60)+472-259(-60)+228-489(-60)+489-245(-61)+487-260(-61)+228-490(-61)+242-503(-61)+240-473(-61)+491-268(-61)+468-246(-61)+488-239(-61)+487-261(-61)+486-247(-61)+468-263(-61)+242-478(-61)+262-473(-61)+246-490(-61)+241-502(-61)+240-483(-61)+489-245(-61)+236-502(-61)+225-493(-61)+261-477(-61)+485-262(-61)+473-263(-61)+468-243(-61)+241-490(-61)+496-260(-61)+461-261(-61)+474-264(-61)+471-249(-61)+236-488(-61)+495-255(-61)+241-490(-61)+488-241(-61)+240-478(-61)+503-235(-61)+240-499(-61)+235-503(-61)+220-512(-61)+237-483(-61)+237-503(-61)+243-488(-61)+240-478(-61)+250-495(-61)+490-254(-61)+469-261(-61)+233-489(-61)+239-476(-61)+251-498(-61)+492-254(-61)+467-260(-61)+478-261(-61)+463-246(-61)+492-1909(-61)+717-728(-61)+742-720(-61)+260-474(-61)+258-472(-61)+523-230(-61)+496-233(-61)+473-271(-61)+469-245(-61)+239-491(-61)+494-233(-61)+514-226(-61)+483-268(-61)+484-217(-61)+509-237(-61)+230-509(-61)+488-243(-61)+485-240(-61)+236-485(-61)+280-472(-61)+262-464(-61)+494-233(-61)+501-225(-61)+506-241(-61)+480-246(-61)+494-259(-61)+471-243(-61)+273-472(-61)+245-485(-61)+235-502(-61)+231-492(-61)+247-490(-61)+490-240(-61)+247-471(-61)+260-477(-61)+273-466(-61)+488-238(-61)+492-247(-61)+491-235(-61)+270-471(-61)+490-240(-61)+494-237(-61)+498-223(-61)+511-237(-61)+242-497(-61)+488-237(-61)+235-501(-61)+484-247(-61)+234-504(-61)+488-235(-61)+243-485(-61)+246-482(-61)+261-476(-61)+255-468(-61)+261-478(-61)+262-474(-61)+246-490(-61)+245-499(-61)+468-242(-61)+508-225(-61)+252-499(-61)+224-507(-61)+236-486(-61)+489-263(-61)+472-238(-61)+504-220(-61)+511-239(-61)+477-1896(-62)+736-741(-61)+717-751(-61)+227-496(-61)+262-477(-61)+484-236(-61)+498-236(-61)+492-250(-61)+482-239(-61)+268-481(-61)+481-235(-61)+502-227(-61)+494-251(-61)+485-238(-61)+505-226(-61)+266-466(-61)+484-265(-61)+482-229(-61)+269-487(-61)+240-487(-61)+236-499(-61)+492-232(-61)+499-233(-61)+499-223(-61)+511-233(-61)+482-238(-61)+490-249(-61)+236-494(-61)+261-471(-61)+265-478(-61)+243-490(-61)+240-476(-61)+505-234(-61)+238-493(-61)+239-506(-61)+245-481(-61)+489-241(-61)+504-225(-61)+504-237(-61)+230-505(-61)+488-244(-61)+486-235(-61)+499-237(-61)+495-242(-61)+239-490(-61)+496-233(-61)+263-486(-61)+489-240(-61)+243-481(-61)+495-241(-61)+241-498(-61)+236-495(-61)+241-488(-61)+240-500(-61)+230-489(-61)+263-471(-61)+261-477(-61)+244-489(-61)+497-221(-61)+497-262(-61)+241-475(-61)+264-463(-61)+248-491(-61)+481-249(-61)+491-237(-61)+502-233(-61)+491-262(-61)+477-1896(-62)+722-740(-61)+716-754(-61)+233-489(-61)+243-492(-61)+479-250(-61)+487-261(-61)+475-233(-61)+492-247(-61)+240-492(-61)+500-225(-61)+492-261(-61)+474-243(-61)+487-245(-61)+489-265(-61)+240-480(-61)+484-235(-61)+497-235(-61)+268-483(-61)+243-488(-61)+236-497(-61)+492-233(-61)+499-235(-61)+497-227(-61)+505-242(-61)+480-250(-61)+493-232(-61)+231-508(-61)+237-485(-61)+271-456(-61)+243-493(-61)+238-505(-61)+493-238(-61)+239-487(-61)+259-476(-61)+261-475(-61)+490-236(-61)+494-238(-61)+488-239(-61)+268-474(-61)+496-230(-61)+500-236(-61)+499-228(-61)+504-241(-61)+241-499(-61)+489-242(-61)+226-484(-61)+513-220(-61)+269-468(-61)+488-257(-61)+243-475(-61)+250-485(-61)+238-481(-61)+265-484(-61)+264-485(-61)+238-471(-61)+257-502(-61)+220-484(-61)+514-220(-61)+494-259(-61)+229-482(-61)+267-478(-61)+250-488(-61)+473-250(-61)+488-265(-61)+469-239(-61)+492-246(-61)+492-0(-61)
T: isAdupl?
T: Enqueue JSON
T: Queue length: 1
T: Min ind: 6
T: store code : 0 / 1031032
T: Col: val/timestamp
T: mem code : 0 / 941012
T: mem code : 43 / 957466
T: mem code : 0 / 964144
T: mem code : 33 / 985565
T: mem code : 0 / 1003141
T: mem code : 43 / 1014464
T: mem code : 0 / 1031032
T: mem code : 0 / 886147
T: mem code : 0 / 896026
T: mem code : 43 / 900458
T: mem code : 0 / 925133
T: mem code : 33 / 932150
rtl_433_ESP(6): # of messages decoded 0
T: Dequeue JSON
N: [ OMG->MQTT ] topic: home/OMG_rtl_433_ESP_1_8/RTL_433toMQTT/undecoded signal msg: {“model”:“undecoded signal”,“protocol”:“signal parsing failed”,“duration”:343996,“rssi”:-70,“pulses”:396}