ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::pzem6l24 Namespace Reference

Data Structures

class  PZEM6L24
 

Enumerations

enum  RegType : uint8_t { REG_U8 , REG_U16 , REG_U32 , REG_I32 }
 
enum  Scale : uint8_t { SCALE_DECI , SCALE_CENTI }
 
enum  ResetPhase : uint8_t {
  RESET_PHASE_A = 0x00 , RESET_PHASE_B = 0x01 , RESET_PHASE_C = 0x02 , RESET_PHASE_COMBINED = 0x03 ,
  RESET_PHASE_ALL = 0x0F
}
 

Functions

 ESPHOME_LOG_TAG (TAG, "pzem6l24")
 
constexpr std::array< uint8_t, 3 > build_reset_pdu (ResetPhase phase)
 

Enumeration Type Documentation

◆ RegType

Enumerator
REG_U8 
REG_U16 
REG_U32 
REG_I32 

Definition at line 95 of file pzem6l24.cpp.

◆ ResetPhase

Enumerator
RESET_PHASE_A 
RESET_PHASE_B 
RESET_PHASE_C 
RESET_PHASE_COMBINED 
RESET_PHASE_ALL 

Definition at line 13 of file pzem6l24.h.

◆ Scale

enum esphome::pzem6l24::Scale : uint8_t
Enumerator
SCALE_DECI 
SCALE_CENTI 

Definition at line 103 of file pzem6l24.cpp.

Function Documentation

◆ build_reset_pdu()

std::array< uint8_t, 3 > esphome::pzem6l24::build_reset_pdu ( ResetPhase phase)
constexpr

Definition at line 34 of file pzem6l24.h.

◆ ESPHOME_LOG_TAG()

esphome::pzem6l24::ESPHOME_LOG_TAG ( TAG ,
"pzem6l24"  )