Total energy consupmtion

Hello,
As part of my project, part of which consists of calculating the total energy through an INA219 sensor, we have three electronic cards:
Wemos D1, ESP32 and raspberry pi 4.
one of the cards is connected to the temperature and humidity sensors and the three cards are dissociated and communicate via wifi.
My question is if I need a single INA219 sensor which will be connected to 3 cards or 3 INA219 sensors for each card in order to calculate the total energy of all the system (Temperature sensors + Humidity sensors + cards electronic)?

thank you beforehand.

One card and the INA 219 looks like enough for me. Why use 3 cards and ask for communication difficulties?

Your description is way to simple, to short, to tell what You need, 1 or 3 sensors.

ghada_hj:
Hello,
we have three electronic cards: Wemos D1, ESP32 and raspberry pi 4

Three development boards go into a bar: a Wemos D1, ESP32 and raspberry pi 4. And the Wemos says to the barman....

Sorry if that has zero cultural significance for you! It's a common joke format in English-speaking countries. Originally it was "an Englishman, a Scottsman and an Irishman go to into a bar..." or something.

My point being that using all 3 boards sounds a little crazy. Can you please explain why?

Multiply the power supply voltages by the currents drawn, and add them up to obtain the total energy consumption.

jremington:
Multiply the power supply voltages by the currents drawn...

The INA219 has build-in power calculation.

And two address pins, so you can have four of them on the same I2C bus.
More if you use one address pin as chip select.
Leo..