Hallo zusammen, ich habe ein neues Zigbee Gerät: SONOFF SWV-ZFE
Warum bekomme ich in IPS das „property“: „state“ nicht als Statusvariable angeboten? Was kann/muss ich tun?
Zigbee2MQTT version 2.11.0
Zigbee2MQTT IPS Module v5.3.8
Danke euch!
Das ist das Expose JSON bei Zigbee2MQTT:
{
"description": "Zigbee smart water valve",
"exposes": [
{
"access": 5,
"category": "diagnostic",
"description": "Remaining battery in %",
"label": "Battery",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"features": [
{
"access": 7,
"description": "On/off state of the switch",
"label": "State",
"name": "state",
"property": "state",
"type": "binary",
"value_off": "OFF",
"value_on": "ON",
"value_toggle": "TOGGLE"
}
],
"type": "switch"
},
{
"access": 7,
"category": "config",
"description": "Enables/disables physical input on the device",
"label": "Child lock",
"name": "child_lock",
"property": "child_lock",
"type": "binary",
"value_off": "UNLOCK",
"value_on": "LOCK"
},
{
"access": 1,
"description": "Valve abnormal state",
"label": "Valve abnormal state",
"name": "valve_abnormal_state",
"property": "valve_abnormal_state",
"type": "enum",
"values": [
"normal",
"water_shortage",
"water_leakage",
"water_shortage,water_leakage",
"fail_safe",
"water_shortage,fail_safe",
"water_leakage,fail_safe",
"water_shortage,water_leakage,fail_safe"
]
},
{
"access": 7,
"description": "Single irrigation settings",
"features": [
{
"access": 7,
"description": "Irrigation duration",
"label": "Irrigation duration",
"name": "irrigation_duration",
"property": "irrigation_duration",
"type": "numeric",
"unit": "min",
"value_max": 719,
"value_min": 1
},
{
"access": 7,
"description": "Irrigation mode: duration or capacity",
"label": "Irrigation mode",
"name": "irrigation_mode",
"property": "irrigation_mode",
"type": "enum",
"values": [
"duration",
"capacity"
]
},
{
"access": 7,
"description": "Capacity unit",
"label": "Irrigation amount unit",
"name": "irrigation_amount_unit",
"property": "irrigation_amount_unit",
"type": "enum",
"values": [
"US gallon",
"liter"
]
},
{
"access": 7,
"description": "Irrigation volume",
"label": "Irrigation amount",
"name": "irrigation_amount",
"property": "irrigation_amount",
"type": "numeric",
"value_max": 10000,
"value_min": 0
},
{
"access": 7,
"description": "Safety protection timeout",
"label": "Fail safe",
"name": "fail_safe",
"property": "fail_safe",
"type": "numeric",
"unit": "min",
"value_max": 719,
"value_min": 0
}
],
"label": "Manual default settings",
"name": "manual_default_settings",
"property": "manual_default_settings",
"type": "composite"
},
{
"access": 3,
"description": "Set irrigation plan",
"features": [
{
"access": 2,
"description": "Plan index",
"label": "Plan index",
"name": "plan_index",
"property": "plan_index",
"type": "numeric",
"value_max": 5,
"value_min": 0
},
{
"access": 2,
"label": "Enable state",
"name": "enable_state",
"property": "enable_state",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Loop type mode",
"name": "loop_type_mode",
"property": "loop_type_mode",
"type": "enum",
"values": [
"odd_days",
"even_days",
"day_interval",
"weekdays"
]
},
{
"access": 2,
"description": "Only effective when loop_type_mode is day_interval",
"label": "Loop type interval days",
"name": "loop_type_interval_days",
"property": "loop_type_interval_days",
"type": "numeric",
"value_max": 30,
"value_min": 1
},
{
"access": 2,
"description": "Only effective when loop_type_mode is weekdays",
"features": [
{
"access": 2,
"label": "Sunday",
"name": "sunday",
"property": "sunday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Monday",
"name": "monday",
"property": "monday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Tuesday",
"name": "tuesday",
"property": "tuesday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Wednesday",
"name": "wednesday",
"property": "wednesday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Thursday",
"name": "thursday",
"property": "thursday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Friday",
"name": "friday",
"property": "friday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 2,
"label": "Saturday",
"name": "saturday",
"property": "saturday",
"type": "binary",
"value_off": false,
"value_on": true
}
],
"label": "Loop type week days",
"name": "loop_type_week_days",
"property": "loop_type_week_days",
"type": "composite"
},
{
"access": 2,
"description": "Enable date in local YYYY-MM-DD format.",
"label": "Enable date",
"name": "enable_date",
"property": "enable_date",
"type": "text"
},
{
"access": 2,
"description": "Start time in local HH:mm format (24-hour, zero-padded).",
"label": "Start time",
"name": "start_time",
"property": "start_time",
"type": "text"
},
{
"access": 2,
"label": "Irrigation mode",
"name": "irrigation_mode",
"property": "irrigation_mode",
"type": "enum",
"values": [
"duration",
"capacity",
"duration_with_interval"
]
},
{
"access": 2,
"label": "Irrigation total duration",
"name": "irrigation_total_duration",
"property": "irrigation_total_duration",
"type": "numeric",
"unit": "min",
"value_max": 719,
"value_min": 0
},
{
"access": 2,
"label": "Irrigation duration",
"name": "irrigation_duration",
"property": "irrigation_duration",
"type": "numeric",
"unit": "min",
"value_max": 60,
"value_min": 1
},
{
"access": 2,
"label": "Interval duration",
"name": "interval_duration",
"property": "interval_duration",
"type": "numeric",
"unit": "min",
"value_max": 60,
"value_min": 1
},
{
"access": 2,
"label": "Irrigation amount unit",
"name": "irrigation_amount_unit",
"property": "irrigation_amount_unit",
"type": "enum",
"values": [
"US gallon",
"liter"
]
},
{
"access": 2,
"label": "Irrigation amount",
"name": "irrigation_amount",
"property": "irrigation_amount",
"type": "numeric",
"value_max": 10000,
"value_min": 1
},
{
"access": 2,
"label": "Fail safe",
"name": "fail_safe",
"property": "fail_safe",
"type": "numeric",
"unit": "min",
"value_max": 719,
"value_min": 0
},
{
"access": 2,
"description": "Create datetime in ISO format with timezone (e.g. YYYY-MM-DDTHH:mm:ss+08:00)",
"label": "Create datetime",
"name": "create_datetime",
"property": "create_datetime",
"type": "text"
}
],
"label": "Irrigation plan settings",
"name": "irrigation_plan_settings",
"property": "irrigation_plan_settings",
"type": "composite"
},
{
"access": 1,
"description": "Irrigation plan report",
"features": [
{
"access": 1,
"label": "Plan index",
"name": "plan_index",
"property": "plan_index",
"type": "numeric"
},
{
"access": 1,
"label": "Enable state",
"name": "enable_state",
"property": "enable_state",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Loop type mode",
"name": "loop_type_mode",
"property": "loop_type_mode",
"type": "enum",
"values": [
"odd_days",
"even_days",
"day_interval",
"weekdays"
]
},
{
"access": 1,
"description": "Effective when loop_type_mode is day_interval",
"label": "Loop type interval days",
"name": "loop_type_interval_days",
"property": "loop_type_interval_days",
"type": "numeric"
},
{
"access": 1,
"description": "Effective when loop_type_mode is weekdays",
"features": [
{
"access": 1,
"label": "Sunday",
"name": "sunday",
"property": "sunday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Monday",
"name": "monday",
"property": "monday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Tuesday",
"name": "tuesday",
"property": "tuesday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Wednesday",
"name": "wednesday",
"property": "wednesday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Thursday",
"name": "thursday",
"property": "thursday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Friday",
"name": "friday",
"property": "friday",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"label": "Saturday",
"name": "saturday",
"property": "saturday",
"type": "binary",
"value_off": false,
"value_on": true
}
],
"label": "Loop type week days",
"name": "loop_type_week_days",
"property": "loop_type_week_days",
"type": "composite"
},
{
"access": 1,
"description": "Enable date in local YYYY-MM-DD format (local day start)",
"label": "Enable date",
"name": "enable_date",
"property": "enable_date",
"type": "text"
},
{
"access": 1,
"description": "Start time in local HH:mm format (24-hour)",
"label": "Start time",
"name": "start_time",
"property": "start_time",
"type": "text"
},
{
"access": 1,
"label": "Irrigation mode",
"name": "irrigation_mode",
"property": "irrigation_mode",
"type": "enum",
"values": [
"duration",
"capacity",
"duration_with_interval"
]
},
{
"access": 1,
"label": "Irrigation total duration",
"name": "irrigation_total_duration",
"property": "irrigation_total_duration",
"type": "numeric"
},
{
"access": 1,
"label": "Irrigation duration",
"name": "irrigation_duration",
"property": "irrigation_duration",
"type": "numeric"
},
{
"access": 1,
"label": "Interval duration",
"name": "interval_duration",
"property": "interval_duration",
"type": "numeric"
},
{
"access": 1,
"label": "Irrigation amount unit",
"name": "irrigation_amount_unit",
"property": "irrigation_amount_unit",
"type": "enum",
"values": [
"US gallon",
"liter"
]
},
{
"access": 1,
"label": "Irrigation amount",
"name": "irrigation_amount",
"property": "irrigation_amount",
"type": "numeric"
},
{
"access": 1,
"label": "Fail safe",
"name": "fail_safe",
"property": "fail_safe",
"type": "numeric"
},
{
"access": 1,
"description": "Create datetime in ISO format with timezone (e.g. YYYY-MM-DDTHH:mm:ss+08:00)",
"label": "Create datetime",
"name": "create_datetime",
"property": "create_datetime",
"type": "text"
}
],
"label": "Irrigation plan report",
"name": "irrigation_plan_report",
"property": "irrigation_plan_report",
"type": "composite"
},
{
"access": 2,
"description": "Remove irrigation plan",
"features": [
{
"access": 2,
"description": "The index of the irrigation plan to remove",
"label": "Plan index",
"name": "plan_index",
"property": "plan_index",
"type": "numeric",
"value_max": 5,
"value_min": 0
}
],
"label": "Irrigation plan remove",
"name": "irrigation_plan_remove",
"property": "irrigation_plan_remove",
"type": "composite"
},
{
"access": 5,
"description": "Irrigation schedule execution status",
"features": [
{
"access": 1,
"description": "Schedule status",
"label": "Schedule status",
"name": "schedule_status",
"property": "schedule_status",
"type": "enum",
"values": [
"start",
"end",
"running",
"standby"
]
},
{
"access": 1,
"description": "Schedule index",
"label": "Schedule index",
"name": "schedule_index",
"property": "schedule_index",
"type": "numeric"
},
{
"access": 1,
"description": "Schedule type",
"label": "Schedule type",
"name": "schedule_type",
"property": "schedule_type",
"type": "enum",
"values": [
"automatic",
"manual"
]
},
{
"access": 1,
"description": "Irrigation mode",
"label": "Irrigation mode",
"name": "irrigation_mode",
"property": "irrigation_mode",
"type": "enum",
"values": [
"duration",
"capacity",
"duration_with_interval"
]
},
{
"access": 1,
"description": "Schedule start time",
"label": "Start time",
"name": "start_time",
"property": "start_time",
"type": "text"
},
{
"access": 1,
"description": "Expected end time",
"label": "Expected end time",
"name": "expected_end_time",
"property": "expected_end_time",
"type": "text"
},
{
"access": 1,
"description": "Actual end time",
"label": "Actual end time",
"name": "actual_end_time",
"property": "actual_end_time",
"type": "text"
},
{
"access": 1,
"description": "Irrigation amount unit",
"label": "Irrigation amount unit",
"name": "irrigation_amount_unit",
"property": "irrigation_amount_unit",
"type": "enum",
"values": [
"US gallon",
"liter"
]
},
{
"access": 1,
"description": "Expected irrigation amount",
"label": "Expected irrigation amount",
"name": "expected_irrigation_amount",
"property": "expected_irrigation_amount",
"type": "numeric"
},
{
"access": 1,
"description": "Actual irrigation amount",
"label": "Actual irrigation amount",
"name": "actual_irrigation_amount",
"property": "actual_irrigation_amount",
"type": "numeric"
}
],
"label": "Irrigation schedule status",
"name": "irrigation_schedule_status",
"property": "irrigation_schedule_status",
"type": "composite"
},
{
"access": 2,
"description": "Schedule delay end time in ISO format with timezone (e.g. YYYY-MM-DDTHH:mm:ss+08:00), or \"0\" to disable",
"label": "Rain delay",
"name": "rain_delay",
"property": "rain_delay",
"type": "text"
},
{
"access": 1,
"description": "User triggered delay end time.",
"label": "Rain delay end datetime",
"name": "rain_delay_end_datetime",
"property": "rain_delay_end_datetime",
"type": "text"
},
{
"access": 7,
"description": "Monthly watering adjustment multiplier (1.0 = 100%, 2.0 = 200%)",
"features": [
{
"access": 7,
"description": "Adjustment multiplier for january",
"label": "January",
"name": "january",
"property": "january",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for february",
"label": "February",
"name": "february",
"property": "february",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for march",
"label": "March",
"name": "march",
"property": "march",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for april",
"label": "April",
"name": "april",
"property": "april",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for may",
"label": "May",
"name": "may",
"property": "may",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for june",
"label": "June",
"name": "june",
"property": "june",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for july",
"label": "July",
"name": "july",
"property": "july",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for august",
"label": "August",
"name": "august",
"property": "august",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for september",
"label": "September",
"name": "september",
"property": "september",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for october",
"label": "October",
"name": "october",
"property": "october",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for november",
"label": "November",
"name": "november",
"property": "november",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
},
{
"access": 7,
"description": "Adjustment multiplier for december",
"label": "December",
"name": "december",
"property": "december",
"type": "numeric",
"value_max": 2,
"value_min": 0.1,
"value_step": 0.1
}
],
"label": "Seasonal watering adjustment",
"name": "seasonal_watering_adjustment",
"property": "seasonal_watering_adjustment",
"type": "composite"
},
{
"access": 7,
"description": "Valve alarm settings",
"features": [
{
"access": 7,
"description": "Water shortage alarm",
"label": "Enable alarm water shortage",
"name": "enable_alarm_water_shortage",
"property": "enable_alarm_water_shortage",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 7,
"description": "Water leak alarm",
"label": "Enable alarm water leak",
"name": "enable_alarm_water_leak",
"property": "enable_alarm_water_leak",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 7,
"description": "Auto close valve on water shortage",
"label": "Enable water shortage auto close",
"name": "enable_water_shortage_auto_close",
"property": "enable_water_shortage_auto_close",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 7,
"description": "Water shortage trigger alarm duration",
"label": "Alarm water shortage duration",
"name": "alarm_water_shortage_duration",
"property": "alarm_water_shortage_duration",
"type": "numeric",
"unit": "min",
"value_max": 10,
"value_min": 1
},
{
"access": 7,
"description": "Water leak trigger alarm duration",
"label": "Alarm water leak duration",
"name": "alarm_water_leak_duration",
"property": "alarm_water_leak_duration",
"type": "numeric",
"unit": "min",
"value_max": 3,
"value_min": 1
}
],
"label": "Valve alarm settings",
"name": "valve_alarm_settings",
"property": "valve_alarm_settings",
"type": "composite"
},
{
"access": 5,
"description": "Real-time irrigation duration",
"label": "Real time irrigation duration",
"name": "real_time_irrigation_duration",
"property": "real_time_irrigation_duration",
"type": "numeric",
"unit": "min"
},
{
"access": 5,
"description": "The amount of water irrigated in real time",
"label": "Real time irrigation volume",
"name": "real_time_irrigation_volume",
"property": "real_time_irrigation_volume",
"type": "numeric",
"unit": "L"
},
{
"access": 5,
"description": "Hourly irrigation duration",
"label": "Hour irrigation duration",
"name": "hour_irrigation_duration",
"property": "hour_irrigation_duration",
"type": "numeric",
"unit": "min"
},
{
"access": 5,
"description": "Hourly irrigation volume",
"label": "Hour irrigation volume",
"name": "hour_irrigation_volume",
"property": "hour_irrigation_volume",
"type": "numeric",
"unit": "L"
},
{
"access": 1,
"label": "24 hours records",
"name": "24_hours_records",
"property": "24_hours_records",
"type": "text"
},
{
"access": 1,
"label": "30 days records",
"name": "30_days_records",
"property": "30_days_records",
"type": "text"
},
{
"access": 1,
"label": "180 days records",
"name": "180_days_records",
"property": "180_days_records",
"type": "text"
},
{
"access": 3,
"description": "Read irrigation water volume and duration in the past 24 hours, 30 days, and 6 months.",
"features": [
{
"access": 2,
"description": "Reading type",
"label": "Type",
"name": "type",
"property": "type",
"type": "enum",
"values": [
"24_hours",
"30_days",
"6_months"
]
},
{
"access": 2,
"description": "Start time in ISO format with timezone (e.g. YYYY-MM-DDTHH:mm:ss+08:00)",
"label": "Time start",
"name": "time_start",
"property": "time_start",
"type": "text"
},
{
"access": 2,
"description": "End time in ISO format with timezone (e.g. YYYY-MM-DDTHH:mm:ss+08:00)",
"label": "Time end",
"name": "time_end",
"property": "time_end",
"type": "text"
}
],
"label": "Read irrigation history",
"name": "read_swvzf_records",
"property": "read_swvzf_records",
"type": "composite"
},
{
"access": 1,
"category": "diagnostic",
"description": "Link quality (signal strength)",
"label": "Linkquality",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "SWV-ZFE",
"options": [
{
"access": 2,
"description": "State actions will also be published as 'action' when true (default false).",
"label": "State action",
"name": "state_action",
"property": "state_action",
"type": "binary",
"value_off": false,
"value_on": true
}
],
"source": "native",
"supports_ota": true,
"vendor": "SONOFF",
"version": "0.0.0"
}
In IPS wurden auch viele Statusvariablen gebildet: