pub struct ZigbeePct504 {
Show 21 fields pub fan_mode: ZigbeePct504Fanmode, pub fan_state: bool, pub humidity: f64, pub keypad_lockout: ZigbeePct504Keypadlockout, pub linkquality: f64, pub local_temperature: f64, pub max_cool_setpoint_limit: f64, pub max_heat_setpoint_limit: f64, pub min_cool_setpoint_limit: f64, pub min_heat_setpoint_limit: f64, pub occupancy: bool, pub occupied_cooling_setpoint: f64, pub occupied_heating_setpoint: f64, pub programming_operation_mode: ZigbeePct504Programmingoperationmode, pub running_mode: ZigbeePct504Runningmode, pub running_state: ZigbeePct504Runningstate, pub system_mode: ZigbeePct504Systemmode, pub unoccupied_cooling_setpoint: f64, pub unoccupied_heating_setpoint: f64, pub last_seen: Option<LastSeen>, pub elapsed: Option<u64>,
}
Expand description

owon:PCT504 zigbee2mqtt link

Fields§

§fan_mode: ZigbeePct504Fanmode

Mode of this fan

§fan_state: bool

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

§humidity: f64

Measured relative humidity

§keypad_lockout: ZigbeePct504Keypadlockout

Enables/disables physical input on the device

§linkquality: f64

Link quality (signal strength)

§local_temperature: f64

Current temperature measured on the device

§max_cool_setpoint_limit: f64

Maximum Cooling set point limit

§max_heat_setpoint_limit: f64

Maximum Heating set point limit

§min_cool_setpoint_limit: f64

Minimum Cooling point limit

§min_heat_setpoint_limit: f64

Minimum Heating set point limit

§occupancy: bool

Zigbee herdsman description: “Indicates whether the device detected occupancy” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean

§occupied_cooling_setpoint: f64

Temperature setpoint

§occupied_heating_setpoint: f64

Temperature setpoint

§programming_operation_mode: ZigbeePct504Programmingoperationmode

Controls how programming affects the thermostat. Possible values: setpoint (only use specified setpoint), schedule (follow programmed setpoint schedule), schedule_with_preheat (follow programmed setpoint schedule with pre-heating). Changing this value does not clear programmed schedules.

§running_mode: ZigbeePct504Runningmode

The current running mode

§running_state: ZigbeePct504Runningstate

The current running state

§system_mode: ZigbeePct504Systemmode

Mode of this device

§unoccupied_cooling_setpoint: f64

Temperature setpoint

§unoccupied_heating_setpoint: f64

Temperature setpoint

§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 ZigbeePct504

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>,