pub struct ZigbeeJsDmcDsensorDzb {
pub illuminance_calibration: f64,
pub illuminance_lux: f64,
pub keep_time: ZigbeeJsDmcDsensorDzbKeeptime,
pub led_enable: bool,
pub linkquality: f64,
pub occupancy: bool,
pub sensitivity: ZigbeeJsDmcDsensorDzbSensitivity,
pub last_seen: Option<LastSeen>,
pub elapsed: Option<u64>,
}
Expand description
javis:JS-MC-SENSOR-ZB zigbee2mqtt link
Fields§
§illuminance_calibration: f64
Illuminance calibration
illuminance_lux: f64
Measured illuminance in lux
keep_time: ZigbeeJsDmcDsensorDzbKeeptime
PIR keep time 0:5s|1:30s|2:60s|3:180s|4:300s|5:600s|6:1200s|7:1800s
led_enable: bool
Zigbee herdsman description: “Enabled LED” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean
linkquality: f64
Link quality (signal strength)
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
sensitivity: ZigbeeJsDmcDsensorDzbSensitivity
§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 ZigbeeJsDmcDsensorDzb
impl<'de> Deserialize<'de> for ZigbeeJsDmcDsensorDzb
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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§
impl Freeze for ZigbeeJsDmcDsensorDzb
impl RefUnwindSafe for ZigbeeJsDmcDsensorDzb
impl Send for ZigbeeJsDmcDsensorDzb
impl Sync for ZigbeeJsDmcDsensorDzb
impl Unpin for ZigbeeJsDmcDsensorDzb
impl UnwindSafe for ZigbeeJsDmcDsensorDzb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more