Custom MQTT topic subscribtion in firmware

Hi expee,

in firmware the MQTT topic text has to have 4 levels (a/b/c/d) and also you cannot prepend the node name, because that is converted by gateway and the node itself is addressed by ID. (this post)

Since I don’t know exactly what are trying to achieve to send I will guess that you would like to display value from one node to other node to display it for example on LCD Module.

So your code

static const bc_radio_sub_t subscribes[] = {
        {"kit-flood-detector:0/thermometer/0:1/temperature",  BC_RADIO_SUB_PT_FLOAT, temperature_outdoor_roof_set, NULL},
        {"kit-lcd-thermostat:0/thermometer/0:1/temperature",  BC_RADIO_SUB_PT_FLOAT, temperature_outdoor_set,      NULL},
};

Should be something like this

static const bc_radio_sub_t subscribes[] = {
        {"meteo/-/temp/outdoor",  BC_RADIO_SUB_PT_FLOAT, temperature_outdoor_set, NULL},
        {"meteo/-/temp/indoor",  BC_RADIO_SUB_PT_FLOAT, temperature_indoor_set,      NULL},
};

Then if this module has alias for example lcd-display:0 you publish float value message to:
node/lcd-display:0/meteo/-/temp/outdoor.