Trying to make a wattmeter
You will need an Ampere meter and a Voltmeter. Watts is Volt * Ampere.

There are logic level compatible units out there for ampere meters ranging from a few mA to at least dozens of Amperes.

Also for voltmeters there are several logic level compatible units available, to plug in your project.

The rest is math. (Watts = A * V )