Dht22 on annother pi

Hello,
is there a toturial how to intigrate a dht22, wich is connectet to annother pi.
Not with the Hass instance.
And i will not install a full hass on my kodi to send the data to the Hass instance.

You just need to send dht22 data via MQTT instance

Anyway it’s a waste to use a raspberry just to send sensor data is cheaper to use an esp8266

Ok thanky a lot.
Yes I know but the second pi is running anyway for kodi and some other stuff.