My first post in this community...
I want to measure the energy of my home via pzem-004t devices connected to a wt32-eth01. But it returns NaN for all measured values:
Note that currently my clamp is not around any AC main wire, but I assume I should get 0 values in this case?
When I change the data acquisition interval of my device in EspEasy:
Then the LED D3 starts flashing at the same interval (and meanwhile the LED D3 is always fixed ON). So I assume that the data communication from the wt32-eth01 towards the pzem-004t is ok?
But the LED D2 is always OFF, so I assume the pzem-004t isn't responding any resonse back to the wt32-eth01 resulting in NaN values?
Not sure if this is because I have used address 1 for this pzem-004t device (because 0 seems to be the broadcast address):
I have nowhere configured this pzem-004t device to have address 1, so not sure whether/where I should do that.
This will be important when I add later on extra pzem-004t devices to the same ModBus...
Or perhaps my wiring between the wt32-eth01 and the pzem-004t is not correct:
I have added the diodes and the pullup resistor, because I was adviced in another community to do it like that, because I want to connect multiple pzem-004t devices to the same serial interface gpio ports of my wt32-eth01. But currently only 1 pzem-004t is connected this way.
Thanks!!!
Bart