[Modul] Zigbee2MQTT Version 5.x

Kann jetzt schon sagen, nachdem Vergleich, liegt an der Einrichtung der Instanzen. @Stefan71 : Lösche bitte Spot04 und lasse ihn neu anlegen. Dann sollte alles korrekt sein. Da hat sich was überlagert bei den Exposes. Ich tippe mal auf Altlasten. Die erscheinen dann immer wieder im Debug, obwohl sie nicht gesendet werden. Schaue ich mir nochmal an. ein expose temperature__tc gibt es in Z2M zum Beispiel überhaupt nicht. Wer weiß aus welcher beta unseres Moduls das mal entstanden ist.

LG

Burkhard

Kann ja auch aus externen Konverter in Z2M oder irgendeiner Test Version von Z2M stammen, oder?

Eher nein, da zum BEispiel aenergy__minute_ts niemals aus Z2M kommen kann (Doppelter Unterstrich war bei uns im Modul, kommt nicht von Z2M aber es gibt weder aenergy__minute_ts noch energy__minute_ts noch aenergy_minute_ts und auch kein energy_minute_ts bei Z2M.Nichtmal ein einfaches energy_minute gibt es als Expose

Von daher liegt das Problem nicht bei Z2M.

Z2M_Debug_929001953101.json (48,8 KB)

Danke, aber hast Du, wie oben angefragt, schon mal die Instanz gelöscht und neu angelernt?

LG

Burkhard

Das Payload im Debug enthält diese Werte aber. Oder, genauer, sie wurden irgendwann einmal von dieser Instanz empfangen.

"aenergy": {
            "total": 2570875.509,
            "by_minute": [
                2652.405,
                2615.678,
                2616.573
            ],
            "minute_ts": 1775484480
        }

Somit ist es „erstmal“ korrekt, dass das Module diese Variablen angelegt hat.
Warum warum ist dieses Payload von diesem Topic empfangen worden? :man_shrugging:

Guten Morgen,
habe jetzt mal eine Lampe gelöscht und wieder anlegen lassen über den Z2M Konfigurator.

Das ist das Debug nach dem ich die Lampe neu angelegt habe:
00_Z2M_Debug_929001953101.json (30,2 KB)

Diese Variablen werden angelegt:

Wenn ich auf „Gerätedaten abrufen“ gehe, werden die Variablen nicht aktualisiert, die Daten kommen erst nach ca. 5 bis 6 Minuten. Die restlichen Variablen werden dann angelegt, was vorher nicht passiert ist. Da musste ich im Testcenter in der Instanz erst was schalten und dann wurde erst die Variable „Farbmodus“ angelegt.

Was mir auch noch aufgefallen ist bei einem Spot. Da werden 2 Variablen nicht angelegt. Einmal Update: Fortschritt und Update: Verbleibend.

Das ist normal, solange keine Daten dafür empfangen werden, wird nix angelegt.

1 „Gefällt mir“

Weißt du ob man manuell ein Update wieder anstoßen kann, wenn auch schon die neuste Firmware drauf ist? Bei einem Spot steht bei Fortschritt 58%, aber Firmware ist die neuste.

Ich habe folgenden Effekt. Ich setze auf die Farb-Variable …

.. per RequestAction die Farbe.

Im Log von Z2M kommen 5 Einträge an (2x und 3x identisch)

[5.6.2026, 14:35:14] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0-AG/Terrasse/Lampe/Leuchtkugel', payload '{"brightness":175,"color":{"h":0,"hue":0,"x":0.4968,"y":0.472},"color_mode":"xy","color_power_on_behavior":"previous","color_temp":374,"do_not_disturb":false,"last_seen":1780662914108,"linkquality":36,"state":"ON"}'
[5.6.2026, 14:35:14] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0-AG/Terrasse/Lampe/Leuchtkugel', payload '{"brightness":175,"color":{"h":0,"hue":0,"x":0.4968,"y":0.472},"color_mode":"xy","color_power_on_behavior":"previous","color_temp":374,"do_not_disturb":false,"last_seen":1780662914223,"linkquality":36,"state":"ON"}'
[5.6.2026, 14:35:14] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0-AG/Terrasse/Lampe/Leuchtkugel', payload '{"brightness":201,"color":{"h":0,"hue":0,"x":0.4691,"y":0.4955},"color_mode":"xy","color_power_on_behavior":"previous","color_temp":318,"do_not_disturb":false,"last_seen":1780662914223,"linkquality":36,"state":"ON"}'
[5.6.2026, 14:35:14] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0-AG/Terrasse/Lampe/Leuchtkugel', payload '{"brightness":201,"color":{"h":0,"hue":0,"x":0.4691,"y":0.4955},"color_mode":"xy","color_power_on_behavior":"previous","color_temp":318,"do_not_disturb":false,"last_seen":1780662914403,"linkquality":36,"state":"ON"}'
[5.6.2026, 14:35:25] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0-AG/Terrasse/Lampe/Leuchtkugel', payload '{"brightness":201,"color":{"h":0,"hue":0,"x":0.4691,"y":0.4955},"color_mode":"xy","color_power_on_behavior":"previous","color_temp":318,"do_not_disturb":false,"last_seen":1780662926113,"linkquality":36,"state":"ON"}'

Was zu einem sichbaren unangenehmen Flackern führt? Ist das erklärbar? Mache ich was falsch?

Habe auch ins Debug der Instanz geschaut, aber da kommen 100er Meldung durchgerauscht bei einem RequestAction :frowning:

Gruß Heiko

Das Z2M Log hilft so nicht, weil das ja Änderungen sind, welche Z2M versendet.

Du kannst doch in der Debug Ansicht der Instanz das Limit abschalten und dann einen Filter auf SendData machen.
Dann siehst du was die Instanz wirklich an Z2M sendet.

1 „Gefällt mir“

Ich habe gerade auf die Z2M 2.11.0 aktualisiert und habe jetzt beim Zähler Nous D4Z control via MQTT | Zigbee2MQTT Fehler, so 3-x pro Sekunde. Alles andere scheint zu laufen, Release, Beta und Test verhalten sich gleich.

...FlowHandler          | Kann Daten nicht zur Instanz #29438 weiterleiten: 
Fatal error: Uncaught TypeError: Zigbee2MQTT\ModulBase::processSpecialVariable(): Argument #1 ($key) must be of type string, int given, called in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/ModulBase.php on line 1625 and defined in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/ModulBase.php:2522
Stack trace:
#0 /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/ModulBase.php(1625): Zigbee2MQTT\ModulBase->processSpecialVariable(0, 8)
#1 /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/ModulBase.php(691): Zigbee2MQTT\ModulBase->processPayload(Array)
#2 /-(3): Zigbee2MQTT\ModulBase->ReceiveData('{"DataID":"{7F7...')
#3 {main}
  thrown in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/ModulBase.php on line 2522

Z2M_Debug_D4Z.json (94,0 KB)

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:

Meiner kam die Tage auch an, aber noch keine Zeit gehabt ihn einzubinden! Bin gespannt …

Ein kurzer Blick ins Debug offenbart hier Werte, welche ich nicht nachvollziehen kann:

"LastPayload": {
      "0": 9,
      "1": 3,
      "2": 0,
      "3": 1,
      "4": 23,
      "5": 0,
      "6": 0,
      "7": 39,
      "ac_frequency": 49.99,
....

Was auch immer da in den Index 0 bis 7 geliefert wird :man_shrugging:
Würde ich wohl eher als Z2M Bug/Fehler sehen.

Der Fehler im Modul kommt dann leider durch eine vor über 20 Jahren getroffene Entscheidung bei PHP, dass ein String Key eines JSON-Objektes, wenn es eine String-Zahl (numeric String) ist, zu einen integer konvertiert wird… Und dann explodiert leider was.

Ich hoffe die neue Beta umgeht das Problem. Testen kann ich das gerade nicht.

Aus der Instanz die Debug JSON runterladen und hier bereit stellen.

Danke, gab tatsächlich ein Update, dass löst aber leider mein Problem nicht.

Im Z2M Frontend sieht das auch alles normal aus, inkl. der neuen Werte.

Wie meinst du das?
Aktuelle Beta vom Modul installiert?
Dann bitte noch mal die Fehlermeldung

Wenn ich unter Expertenfunktion “Geräteinformationen abrufen” klicke, kommt:

Notice: Zigbee2MQTT antwortet nicht auf Topic /SymconExtension/request/getDeviceInfo/Wasserhahn in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/MQTTHelper.php on line 80
in /- on line 73

Z2M_Debug (1).json (57,8 KB)