pub struct ZigbeePehpl0x {
Show 17 fields pub active_power: f64, pub alarm_consumed_energy: bool, pub alarm_power_max: bool, pub alarm_voltage_max: bool, pub alarm_voltage_min: bool, pub consumed_energy: f64, pub consumed_energy_limit: f64, pub default_on_off_state: ZigbeePehpl0xDefaultonoffstate, pub linkquality: f64, pub power_max: f64, pub rms_voltage: f64, pub rssi: f64, pub state: bool, pub voltage_max: f64, pub voltage_min: f64, pub last_seen: Option<LastSeen>, pub elapsed: Option<u64>,
}
Expand description

perenio:PEHPL0X zigbee2mqtt link

Fields§

§active_power: f64

Active power

§alarm_consumed_energy: bool

Zigbee herdsman description: “Indicates if the alarm is triggered when the consumption energy limit is reached, allows to reset alarms” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean

§alarm_power_max: bool

Zigbee herdsman description: “Indicates if the alarm is triggered on the active power rise above the limit, allows to reset alarms” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean

§alarm_voltage_max: bool

Zigbee herdsman description: “Indicates if the alarm is triggered on the voltage rise above the limit, allows to reset alarms” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean

§alarm_voltage_min: bool

Zigbee herdsman description: “Indicates if the alarm is triggered on the voltage drop below the limit, allows to reset alarms” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean

§consumed_energy: f64

Consumed energy

§consumed_energy_limit: f64

Limit of electric energy consumption in kW*h. 0 value represents no limit

§default_on_off_state: ZigbeePehpl0xDefaultonoffstate§linkquality: f64

Link quality (signal strength)

§power_max: f64

Maximum allowable power limit for alarms.

§rms_voltage: f64

RMS voltage

§rssi: f64

RSSI seen by the device

§state: bool

Zigbee herdsman description: “On/off state of the switch” The string values get converted into boolean with: ON = true and OFF = false

§voltage_max: f64

Maximum allowable voltage limit for alarms.

§voltage_min: f64

Minimum allowable voltage limit for alarms.

§last_seen: Option<LastSeen>

Optional last_seen type, set as a global zigbee2mqtt setting

§elapsed: Option<u64>

Optional elapsed type

Trait Implementations§

source§

impl<'de> Deserialize<'de> for ZigbeePehpl0x

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,