Hmm. Seems to be working but entities are not showing up. Baffled. Here is some info and perhaps wiser heads might see the problem.
rtl_433
# config for rtl_433
output mqtt://192.168.214.200:1883,user=xx,pass=yy
# output kv
# output json
frequency 433.92M
convert si
report_meta newmodel
And here is the log.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting rtl_433 -c /config//rtl_433.conf
rtl_433 version 21.05 branch at 202105091238 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Publishing MQTT data to 192.168.214.200 port 1883
Publishing device info to MQTT topic "rtl_433/9b13b3f4-rtl433/devices[/type][/model][/subtype][/channel][/id]".
Publishing events info to MQTT topic "rtl_433/9b13b3f4-rtl433/events".
Publishing states info to MQTT topic "rtl_433/9b13b3f4-rtl433/states".
Registered 157 out of 186 device decoding protocols [ 1-4 8 11-12 15-17 19-23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 177-186 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
MQTT Connected...
baseband_demod_FM: low pass filter for 250000 Hz at cutoff 25000 Hz, 40.0 us
MQTT Connection established.
pulse_FSK_detect(): Maximum number of pulses reached!
pulse_FSK_detect(): Maximum number of pulses reached!
pulse_FSK_detect(): Maximum number of pulses reached!
If I redirect output to console (including json) I get messages, i.e.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time : 2021-09-20 17:29:40
model : Cotech-367959 ID : 211
Battery : 1 Temperature: 22.3 C Humidity : 52 % Rain : 17.7 mm Wind direction: 259 Wind : 0.0 m/s Gust : 0.0 m/s Light Intensity: 69627 lux UV Index : 251 Integrity : CRC
{"time" : "2021-09-20 17:29:40", "model" : "Cotech-367959", "id" : 211, "battery_ok" : 1, "temperature_C" : 22.333, "humidity" : 52, "rain_mm" : 17.700, "wind_dir_deg" : 259, "wind_avg_m_s" : 0.000, "wind_max_m_s" : 0.000, "light_lux" : 69627, "uv" : 251, "mic" : "CRC"}
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
model : Prologue-TH subtype : 9 id : 60
Channel : 3 Battery : 0 Temperature: 23.90 C Humidity : 47 % Button : 0
{"time" : "2021-09-20 17:29:54", "model" : "Prologue-TH", "subtype" : 9, "id" : 60, "channel" : 3, "battery_ok" : 0, "temperature_C" : 23.900, "humidity" : 47, "button" : 0}
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Meanwhile the discovery script seems to be doing its thing, i.e.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting rtl_433_mqtt_hass.py...
MQTT connected: Connection Accepted.
homeassistant/sensor/Cotech-367959-211/Cotech-367959-211-B/config : {"device_class": "battery", "name": "Cotech-367959-211-B", "unit_of_measurement": "%", "value_template": "{{ float(value|int) * 99 + 1 }}", "state_topic": "rtl_433/9b13b3f4-rtl433/devices/Cotech-367959/211/battery_ok", "unique_id": "Cotech-367959-211-B", "device": {"identifiers": "Cotech-367959-211", "name": "Cotech-367959-211", "model": "Cotech-367959", "manufacturer": "rtl_433"}}
homeassistant/sensor/Prologue-TH-9-3-60/Prologue-TH-9-3-60-B/config : {"device_class": "battery", "name": "Prologue-TH-9-3-60-B", "unit_of_measurement": "%", "value_template": "{{ float(value|int) * 99 + 1 }}", "state_topic": "rtl_433/9b13b3f4-rtl433/devices/Prologue-TH/9/3/60/battery_ok", "unique_id": "Prologue-TH-9-3-60-B", "device": {"identifiers": "Prologue-TH-9-3-60", "name": "Prologue-TH-9-3-60", "model": "Prologue-TH", "manufacturer": "rtl_433"}}