Merging two codes for PZEM004T and DHT 22

Why don’t you show the already working PZEM code you achieved last time to start with:

and

It’s better to save other people some precious time.