Custom MQTT Topic

Hi

I currently use the MQTT topic format:

[basetopic]/[node]/[device]/[measurement]/[value]

For example:

House/Kitchen/DHT22/Temperature/value
House/Kitchen/DHT22/Humidity/value
House/Kitchen/MQ2/CO/value
House/Kitchen/MQ2/Smoke/value

What might be the best way of integrating this with emoncms? I have already changed the base topic and so now get a list of nodes (eg Kitchen) but then beneath that I’m seeing items such as DHT22 with a value this isnt representative (a combined value of all measurements I think).

Can possibly adjust any background code that might ignore the device element of the topic? If so, how would I do this please?

Many thanks

Now resolved - used MQTTwarn to convert MQTT to EmonCMS feeds.