Emonhp DHT22 emonCMS logging via MQTT

Hello, I am looking to log the temperature and humidity of the surround climate of the heat pump in question to relate the performance to running conditions. I want to use a DHT22 sensor on the GPIO pins and log this in the same was at the DS18B20 probes, as seen here: https://github.com/openenergymonitor/emonhub/blob/master/conf/interfacer_examples/DS18B20/readme.md. After writing python code to read the sensor, do I then need to create a DHT22 Interfacer?