Logging temp, humidity, power?

I want to log outdoor and indoor temp and humidity as well as power usage from the hvac unit. Maybe one of you have seen something out there for this and at a reasonable cost? Seems like this should be standard functions of modern thermostats. Maybe it is and I don’t know it. Exporting data in a standard format for plotting would be a nice bonus.

Maybe there is something out there

This might do it. Raspberrypi Current and Temperature Sensor Adaptor - lechacal