Skip to content

PZEM-017 #1

@Jetiman

Description

@Jetiman

Hi,

I have the PZEM-017 with 100A.

I don't get any values displayed. Data is displayed on Windows, so hardware is okay.

What do I have to do to make your program work with the PZEM-017?

/energyMaster$ python3 energyMaster.py
Time: 20:53:40     Light
Voltage (V)     :       0.0  
Amperage (A)    :     0.000  
Power (W)       :       0.0  
Frequency (Hz)  :       0.0  
PowerFactor     :      0.00  
State           :         0  

Current interval 
          cycles:  0     
      run time  :  00:00:00
      power (Wh):  0.00     

Last interval 
          cycles:  0     
      run time  :  00:00:00
      power (Wh):  0.00     

Today 
          cycles:  0     
    min run time:  00:00:00
    max run time:  00:00:00
  total run time:  00:00:00
      power (Wh):  0.00     

Yesterday 
          cycles:  0     
    min run time:  00:00:00
    max run time:  00:00:00
  total run time:  00:00:00
      power (Wh):  0.00     

Exception reading AC PZEM: 'ModbusIOException' object has no attribute 'registers'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions