Lately, a lot of projects are coming up using 2 or more pzem..
It's my case, I'm using 9 pzem with 1 Nodemcu...
Now it's working correctly, but, during programming, the debugging part was a little tricky..
As I have more than 1, during the debug, the log returns more device information, but without the address, so I don't know which one was actually sending the response...
Analyzing the code, I came to this line (49 / 50):
File: pzemac.cpp
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
Hi;
Lately, a lot of projects are coming up using 2 or more pzem..
It's my case, I'm using 9 pzem with 1 Nodemcu...
Now it's working correctly, but, during programming, the debugging part was a little tricky..
As I have more than 1, during the debug, the log returns more device information, but without the address, so I don't know which one was actually sending the response...
Analyzing the code, I came to this line (49 / 50): File: pzemac.cpp
This is where I have been declaring the pzem, with its settings
my suggestion is to add the id, making it easier to know which device is getting a response!
Which version of ESPHome has the issue?
v2022.12.8
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
Nodemcu
Component causing the issue
pzemac
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response