@Burki24
Hi Burkhard,
bei mir steht nichts mit missing… ich habe die Instanz gelöscht. Dann im Zigbee2MQTT Configurator die Variable neu angelegt, Debug geöffnet und auf Gerätinformation abrufen geklickt.
10.03.2023, 20:18:59 | mapExposesToVariables:: All Exposes | [{"type":"binary","name":"smoke","property":"smoke","access":5,"value_on":true,"value_off":false,"description":"Indicates whether the device detected smoke"},{"type":"numeric","name":"smoke_density","property":"smoke_density","access":5,"description":"Value of smoke concentration"},{"type":"numeric","name":"smoke_density_dbm","property":"smoke_density_dbm","access":1,"unit":"dB\/m","description":"Value of smoke concentration in dB\/m"},{"type":"enum","name":"selftest","property":"selftest","access":2,"values":["Test"],"description":"Starts the self-test process (checking the indicator light and buzzer work properly)"},{"type":"binary","name":"test","property":"test","access":1,"value_on":true,"value_off":false,"description":"Self-test in progress"},{"type":"enum","name":"mute_buzzer","property":"mute_buzzer","access":2,"values":["Mute"],"description":"Mute the buzzer for 80 seconds (buzzer cannot be pre-muted, because this function only works when the alarm is triggered)"},{"type":"binary","name":"mute","property":"mute","access":5,"value_on":true,"value_off":false,"description":"Buzzer muted"},{"type":"binary","name":"heartbeat_indicator","property":"heartbeat_indicator","access":7,"value_on":true,"value_off":false,"description":"When this option is enabled then in the normal monitoring state, the green indicator light flashes every 60 seconds"},{"type":"binary","name":"linkage_alarm","property":"linkage_alarm","access":7,"value_on":true,"value_off":false,"description":"When this option is enabled and a smoke is detected, other detectors with this option enabled will also sound the alarm buzzer"},{"type":"numeric","name":"device_temperature","property":"device_temperature","access":1,"unit":"\u00b0C","description":"Temperature of the device"},{"type":"numeric","name":"battery","property":"battery","access":1,"unit":"%","description":"Remaining battery in %","value_min":0,"value_max":100},{"type":"numeric","name":"voltage","property":"voltage","access":1,"unit":"mV","description":"Voltage of the battery in millivolts"},{"type":"numeric","name":"linkquality","property":"linkquality","access":1,"unit":"lqi","description":"Link quality (signal strength)","value_min":0,"value_max":255}]
In der Konsole habe ich noch den folgenden Fehler:
Blockzitat 10.03.2023, 20:23:02 | FlowHandler | Kann Daten nicht zur Instanz #43699 weiterleiten:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Zigbee2MQTTDevice::RegisterProfileFloat(), 7 passed in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/Zigbee2MQTTHelper.php on line 2616 and exactly 8 expected in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/VariableProfileHelper.php:120
Stack trace:
#0 /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/Zigbee2MQTTHelper.php(2616): Zigbee2MQTTDevice->RegisterProfileFloat(‚Z2M.smoke_densi…‘, ‚Factory‘, ‚‘, ’ dB/m’, 0, 0, 0)
#1 /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/Zigbee2MQTTHelper.php(3692): Zigbee2MQTTDevice->registerVariableProfile(Array)
#2 /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/Zigbee2MQTTHelper.php(489): Zigbee2MQTTDevice->mapExposesToVariables(Array)
#3 /-(3): Zigbee2MQTTDevice->ReceiveData(‚{„DataID“:"{7F7…‘)
#4 {main}
thrown in /var/lib/symcon/modules/.store/info.schnittcher.ips.zigbee2mqtt/libs/VariableProfileHelper.php on line 120
Es werden nur die zwei Variablen angelegt.
Hilft das irgendwie weiter??
Danke schon mal und Grüße
Stephan