smartboxchannel / SONOFF-SNZB-02-Temperature-and-humidity-sensor

An alternative firmware version for the SONOFF SNZB-02 temperature and humidity sensor. Adjustable sleep interval via zigbee network, thermostat and hydrostat functionality, standard temperature and humidity clusters, binding support.
79 stars 18 forks source link

Can’t set levels or enables as UNSUPPORTED_ATTRIBUTE #8

Open Mother-Goose opened 1 year ago

Mother-Goose commented 1 year ago

I am getting errors stating UNKNOWN_ATTRIBUTE in Zigbee2mqtt when trying to set any of the temperature or humidity high / low levels or to switch on or off the enable_temperature or enable_humidity.

the log entries when I try to do this are as follows. 2023-08-25 13:00:34Publish 'set' 'high_humidity' to '0x00124b0022e93d4e' failed: 'Error: Write 0x00124b0022e93d4e/1 msRelativeHumidity({"545":{"value":83,"type":33}}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

The attributes display as null in z2m state view. Battery did work but doesn’t now after re joining the network.

{ "humidity": 71.44, "linkquality": 224, "report_delay": 1, "temperature": 24.31, "battery": null, "enable_humidity": null, "enable_temperature": null, "high_humidity": null, "high_temperature": null, "low_humidity": null, "low_temperature": null }

Any ideas?

zibous commented 1 year ago

Same Problem here:

{
    "battery": 100,
    "humidity": 71.88,
    "last_seen": "2023-09-09T10:26:53+02:00",
    "linkquality": 255,
    "report_delay": 5,
    "temperature": 23.19,
    "voltage": 3000,
    "device": {
        "applicationVersion": 5,
        "dateCode": "20201026",
        "friendlyName": "weather-SNZB02-02",
        "hardwareVersion": 1,
        "ieeeAddr": "0x00124b00226b5a3a",
        "manufacturerID": 0,
        "manufacturerName": "efektalab.com",
        "model": "SNZB-02_EFEKTA",
        "networkAddress": 43279,
        "powerSource": "Battery",
        "softwareBuildID": "08/09/2022 19:42",
        "stackVersion": 4,
        "type": "EndDevice",
        "zclVersion": 1
    },
    "enable_humidity": null,
    "enable_temperature": null,
    "high_humidity": null,
    "high_temperature": null,
    "low_humidity": null,
    "low_temperature": null
}
Error 2023-09-09 10:54:08Publish 'set' 'enable_temperature' to 'weather-SNZB02-02' failed: 'Error: Write 0x00124b00226b5a3a/1 msTemperatureMeasurement({"544":{"value":1,"type":16}}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (62))'

Bildschirmfoto 2023-09-09 um 10 49 21

Bildschirmfoto 2023-09-09 um 10 49 36

Bildschirmfoto 2023-09-09 um 10 52 17