Sunricher SG9092 away mode

Hello,

Sur le thermostat sunricher SG9092, il manque la possibilité d’activiter/desactiver le mode away (hors gel), ce qui est bien pratique, il est pourtant dans la partie expose sur l’ui de zigbee2mqtt, apres analyse du debug il faut ajouter une action away_mode::ON et away_mode::OFF, et un etat info autre away_mode.
@Loic tu peux ajouter ces infos a l’occasion ?

D’avance merci

Bonjour
Tout est automatique normalement il n’y a pas de conf donc non je ne peut pas l’ajouter. Par contre avec a minima le json brute de l’équipement je peux peut être comprendre pourquoi

Voici

{
    "date_code": "NULL",
    "definition": {
        "description": "Touch thermostat",
        "exposes": [
            {
                "access": 5,
                "description": "Current temperature measured from the floor sensor",
                "label": "Outdoor temperature",
                "name": "outdoor_temperature",
                "property": "outdoor_temperature",
                "type": "numeric",
                "unit": "\u00b0C"
            },
            {
                "features": [
                    {
                        "access": 7,
                        "description": "Temperature setpoint",
                        "label": "Occupied heating setpoint",
                        "name": "occupied_heating_setpoint",
                        "property": "occupied_heating_setpoint",
                        "type": "numeric",
                        "unit": "\u00b0C",
                        "value_max": 40,
                        "value_min": 0,
                        "value_step": 0.1
                    },
                    {
                        "access": 7,
                        "description": "Temperature setpoint",
                        "label": "Unoccupied heating setpoint",
                        "name": "unoccupied_heating_setpoint",
                        "property": "unoccupied_heating_setpoint",
                        "type": "numeric",
                        "unit": "\u00b0C",
                        "value_max": 40,
                        "value_min": 0,
                        "value_step": 0.1
                    },
                    {
                        "access": 5,
                        "description": "Current temperature measured on the device",
                        "label": "Local temperature",
                        "name": "local_temperature",
                        "property": "local_temperature",
                        "type": "numeric",
                        "unit": "\u00b0C"
                    },
                    {
                        "access": 7,
                        "description": "Offset to add\/subtract to the local temperature",
                        "label": "Local temperature calibration",
                        "name": "local_temperature_calibration",
                        "property": "local_temperature_calibration",
                        "type": "numeric",
                        "unit": "\u00b0C",
                        "value_max": 3,
                        "value_min": -3,
                        "value_step": 0.1
                    },
                    {
                        "access": 7,
                        "description": "Mode of this device",
                        "label": "System mode",
                        "name": "system_mode",
                        "property": "system_mode",
                        "type": "enum",
                        "values": [
                            "off",
                            "auto",
                            "heat"
                        ]
                    },
                    {
                        "access": 5,
                        "description": "The current running state",
                        "label": "Running state",
                        "name": "running_state",
                        "property": "running_state",
                        "type": "enum",
                        "values": [
                            "idle",
                            "heat"
                        ]
                    }
                ],
                "type": "climate"
            },
            {
                "access": 7,
                "description": "Enable\/disable away mode",
                "label": "Away mode",
                "name": "away_mode",
                "property": "away_mode",
                "type": "binary",
                "value_off": "OFF",
                "value_on": "ON"
            },
            {
                "access": 7,
                "description": "Enables\/disables physical input on the device",
                "label": "Child lock",
                "name": "child_lock",
                "property": "child_lock",
                "type": "binary",
                "value_off": "LOCK",
                "value_on": "UNLOCK"
            },
            {
                "access": 1,
                "category": "diagnostic",
                "description": "Instantaneous measured power",
                "label": "Power",
                "name": "power",
                "property": "power",
                "type": "numeric",
                "unit": "W"
            },
            {
                "access": 1,
                "category": "diagnostic",
                "description": "Instantaneous measured electrical current",
                "label": "Current",
                "name": "current",
                "property": "current",
                "type": "numeric",
                "unit": "A"
            },
            {
                "access": 1,
                "category": "diagnostic",
                "description": "Measured electrical potential value",
                "label": "Voltage",
                "name": "voltage",
                "property": "voltage",
                "type": "numeric",
                "unit": "V"
            },
            {
                "access": 1,
                "description": "Sum of consumed energy",
                "label": "Energy",
                "name": "energy",
                "property": "energy",
                "type": "numeric",
                "unit": "kWh"
            },
            {
                "access": 7,
                "description": "OLED brightness when operating the buttons.  Default: Medium.",
                "label": "Lcd brightness",
                "name": "lcd_brightness",
                "property": "lcd_brightness",
                "type": "enum",
                "values": [
                    "low",
                    "mid",
                    "high"
                ]
            },
            {
                "access": 7,
                "description": "Key beep volume and vibration level.  Default: Low.",
                "label": "Button vibration level",
                "name": "button_vibration_level",
                "property": "button_vibration_level",
                "type": "enum",
                "values": [
                    "off",
                    "low",
                    "high"
                ]
            },
            {
                "access": 7,
                "description": "Type of the external floor sensor.  Default: NTC 10K\/25.",
                "label": "Floor sensor type",
                "name": "floor_sensor_type",
                "property": "floor_sensor_type",
                "type": "enum",
                "values": [
                    "10k",
                    "15k",
                    "50k",
                    "100k",
                    "12k"
                ]
            },
            {
                "access": 7,
                "description": "The sensor used for heat control.  Default: Room Sensor.",
                "label": "Sensor",
                "name": "sensor",
                "property": "sensor",
                "type": "enum",
                "values": [
                    "air",
                    "floor",
                    "both"
                ]
            },
            {
                "access": 7,
                "description": "The mode after a power reset.  Default: Previous Mode.",
                "label": "Powerup status",
                "name": "powerup_status",
                "property": "powerup_status",
                "type": "enum",
                "values": [
                    "default",
                    "last_status"
                ]
            },
            {
                "access": 7,
                "description": "The tempearatue calibration for the external floor sensor, between -3 and 3 in 0.1\u00b0C.  Default: 0.",
                "label": "Floor sensor calibration",
                "name": "floor_sensor_calibration",
                "property": "floor_sensor_calibration",
                "type": "numeric",
                "unit": "\u00b0C",
                "value_max": 3,
                "value_min": -3,
                "value_step": 0.1
            },
            {
                "access": 7,
                "description": "The duration of Dry Mode, between 5 and 100 minutes.  Default: 5.",
                "label": "Dry time",
                "name": "dry_time",
                "property": "dry_time",
                "type": "numeric",
                "unit": "min",
                "value_max": 100,
                "value_min": 5
            },
            {
                "access": 7,
                "description": "The mode after Dry Mode.  Default: Auto.",
                "label": "Mode after dry",
                "name": "mode_after_dry",
                "property": "mode_after_dry",
                "type": "enum",
                "values": [
                    "off",
                    "manual",
                    "auto",
                    "away"
                ]
            },
            {
                "access": 7,
                "description": "The temperature on the display.  Default: Room Temperature.",
                "label": "Temperature display",
                "name": "temperature_display",
                "property": "temperature_display",
                "type": "enum",
                "values": [
                    "room",
                    "floor"
                ]
            },
            {
                "access": 7,
                "description": "The threshold to detect window open, between 0.0 and 8.0 in 0.5 \u00b0C.  Default: 0 (disabled).",
                "label": "Window open check",
                "name": "window_open_check",
                "property": "window_open_check",
                "type": "numeric",
                "unit": "\u00b0C",
                "value_max": 8,
                "value_min": 0,
                "value_step": 0.5
            },
            {
                "access": 7,
                "description": "Hysteresis setting, between 0.5 and 2 in 0.1 \u00b0C.  Default: 0.5.",
                "label": "Hysterersis",
                "name": "hysterersis",
                "property": "hysterersis",
                "type": "numeric",
                "unit": "\u00b0C",
                "value_max": 2,
                "value_min": 0.5,
                "value_step": 0.1
            },
            {
                "access": 7,
                "label": "Display auto off enabled",
                "name": "display_auto_off_enabled",
                "property": "display_auto_off_enabled",
                "type": "enum",
                "values": [
                    "disabled",
                    "enabled"
                ]
            },
            {
                "access": 7,
                "description": "Room temperature alarm threshold, between 20 and 60 in \u00b0C.  0 means disabled.  Default: 45.",
                "label": "Alarm airtemp overvalue",
                "name": "alarm_airtemp_overvalue",
                "property": "alarm_airtemp_overvalue",
                "type": "numeric",
                "unit": "\u00b0C",
                "value_max": 60,
                "value_min": 20
            },
            {
                "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": "SR-ZG9092A",
        "options": [
            {
                "access": 2,
                "description": "Calibrates the power value (percentual offset), takes into effect on next report of device.",
                "label": "Power calibration",
                "name": "power_calibration",
                "property": "power_calibration",
                "type": "numeric"
            },
            {
                "access": 2,
                "description": "Number of digits after decimal point for power, takes into effect on next report of device. This option can only decrease the precision, not increase it.",
                "label": "Power precision",
                "name": "power_precision",
                "property": "power_precision",
                "type": "numeric",
                "value_max": 3,
                "value_min": 0
            },
            {
                "access": 2,
                "description": "Calibrates the current value (percentual offset), takes into effect on next report of device.",
                "label": "Current calibration",
                "name": "current_calibration",
                "property": "current_calibration",
                "type": "numeric"
            },
            {
                "access": 2,
                "description": "Number of digits after decimal point for current, takes into effect on next report of device. This option can only decrease the precision, not increase it.",
                "label": "Current precision",
                "name": "current_precision",
                "property": "current_precision",
                "type": "numeric",
                "value_max": 3,
                "value_min": 0
            },
            {
                "access": 2,
                "description": "Calibrates the voltage value (percentual offset), takes into effect on next report of device.",
                "label": "Voltage calibration",
                "name": "voltage_calibration",
                "property": "voltage_calibration",
                "type": "numeric"
            },
            {
                "access": 2,
                "description": "Number of digits after decimal point for voltage, takes into effect on next report of device. This option can only decrease the precision, not increase it.",
                "label": "Voltage precision",
                "name": "voltage_precision",
                "property": "voltage_precision",
                "type": "numeric",
                "value_max": 3,
                "value_min": 0
            },
            {
                "access": 2,
                "description": "Calibrates the energy value (percentual offset), takes into effect on next report of device.",
                "label": "Energy calibration",
                "name": "energy_calibration",
                "property": "energy_calibration",
                "type": "numeric"
            },
            {
                "access": 2,
                "description": "Number of digits after decimal point for energy, takes into effect on next report of device. This option can only decrease the precision, not increase it.",
                "label": "Energy precision",
                "name": "energy_precision",
                "property": "energy_precision",
                "type": "numeric",
                "value_max": 3,
                "value_min": 0
            },
            {
                "access": 2,
                "description": "Controls the temperature unit of the thermostat (default celsius).",
                "label": "Thermostat unit",
                "name": "thermostat_unit",
                "property": "thermostat_unit",
                "type": "enum",
                "values": [
                    "celsius",
                    "fahrenheit"
                ]
            }
        ],
        "supports_ota": false,
        "vendor": "Sunricher"
    },
    "disabled": false,
    "endpoints": {
        "1": {
            "bindings": [
                {
                    "cluster": "genBasic",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "genIdentify",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "hvacThermostat",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "seMetering",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "haElectricalMeasurement",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "genAlarms",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "msOccupancySensing",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "genTime",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                },
                {
                    "cluster": "hvacUserInterfaceCfg",
                    "target": {
                        "endpoint": 1,
                        "ieee_address": "0x00212effff09df6e",
                        "type": "endpoint"
                    }
                }
            ],
            "clusters": {
                "input": [
                    "genBasic",
                    "genIdentify",
                    "genGroups",
                    "genScenes",
                    "genAlarms",
                    "genTime",
                    "hvacThermostat",
                    "hvacUserInterfaceCfg",
                    "seMetering",
                    "haElectricalMeasurement"
                ],
                "output": [
                    "genIdentify",
                    "msOccupancySensing"
                ]
            },
            "configured_reportings": [
                {
                    "attribute": "localTemp",
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 10
                },
                {
                    "attribute": "occupiedHeatingSetpoint",
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 10
                },
                {
                    "attribute": "unoccupiedHeatingSetpoint",
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 10
                },
                {
                    "attribute": "keypadLockout",
                    "cluster": "hvacUserInterfaceCfg",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 10,
                    "reportable_change": null
                },
                {
                    "attribute": "occupancy",
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": "activePower",
                    "cluster": "haElectricalMeasurement",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 30,
                    "reportable_change": 10
                },
                {
                    "attribute": "rmsCurrent",
                    "cluster": "haElectricalMeasurement",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 30,
                    "reportable_change": 50
                },
                {
                    "attribute": "rmsVoltage",
                    "cluster": "haElectricalMeasurement",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 30,
                    "reportable_change": 20
                },
                {
                    "attribute": "currentSummDelivered",
                    "cluster": "seMetering",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 5,
                    "reportable_change": [
                        1,
                        1
                    ]
                },
                {
                    "attribute": 4096,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4097,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4098,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4099,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4100,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4101,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                },
                {
                    "attribute": 4102,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                },
                {
                    "attribute": 4103,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4104,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 4105,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                },
                {
                    "attribute": 4106,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                },
                {
                    "attribute": 4107,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                },
                {
                    "attribute": 8193,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": 0
                },
                {
                    "attribute": 8194,
                    "cluster": "hvacThermostat",
                    "maximum_report_interval": 3600,
                    "minimum_report_interval": 0,
                    "reportable_change": null
                }
            ],
            "scenes": []
        },
        "2": {
            "bindings": [],
            "clusters": {
                "input": [
                    "genBasic",
                    "genIdentify"
                ],
                "output": [
                    "genIdentify",
                    "genOta"
                ]
            },
            "configured_reportings": [],
            "scenes": []
        },
        "242": {
            "bindings": [],
            "clusters": {
                "input": [],
                "output": [
                    "greenPower"
                ]
            },
            "configured_reportings": [],
            "scenes": []
        }
    },
    "friendly_name": "Rez_Salon_Thermostat",
    "ieee_address": "0x1fff000000000082",
    "interview_completed": true,
    "interviewing": false,
    "manufacturer": "Sunricher",
    "model_id": "ZG9092",
    "network_address": 28687,
    "power_source": "Mains (single phase)",
    "software_build_id": "6.9.1.0_r4",
    "supported": true,
    "type": "Router"
}

Les infos sont ici:

{
                "access": 7,
                "description": "Enable\/disable away mode",
                "label": "Away mode",
                "name": "away_mode",
                "property": "away_mode",
                "type": "binary",
                "value_off": "OFF",
                "value_on": "ON"
            },

Bonjour,
Pourtant ca devrait deja se creer, il faudrait regarder les logs en debug lors d’une synchronisation car je ne vois pas pourquoi ca ne marcherais pas.

Il faudrait aussi faire les tests sur la beta pour etre sur que ce n’est pas un bug de la stable