Xiaomi Illuminance Sensor gibt Helligkeitswert nicht aus

Node-RED als CCU3/RaspberryMatic Addon, WebApp, HomeKit, ...

Moderator: Co-Administratoren

Antworten
SaMaJaMa
Beiträge: 2
Registriert: 04.03.2021, 20:33
System: CCU

Xiaomi Illuminance Sensor gibt Helligkeitswert nicht aus

Beitrag von SaMaJaMa » 05.03.2021, 14:03

Hallo liebes Forum,
ich bin neu bei ReadMatic/Node red und auch Programmieren ist nicht mein Fachgebiet. Ich möchte mich aber gern in die Sache einarbeiten, um meine bestehenden Homematic Installationen mit Zigbeegeräten zu erweitern.

Aktuell habe ich das Problem, dass ich beim Xiaomi Illuminance Sensor (Xiaomi GZCGQ01LM) keinen Helligkeitswert bekomme und noch nie bekommen habe. Anlernen war kein Problem. Auch nach mehreren Stunden Internetrecherche, habe ich keine Lösung gefunden. Ich habe alle Updates installiert und alle Geräte mehrmals neu gestartet, ohne Erfolg. Ich habe bisher erst eine Zigbee-Steckdose angelernt, aber die funktioniert.

Ich nutze eine CCU3 mit Redmatic und Zigbeestick CC2531.

Welche Infos wären noch hilfreich oder ist das Problem so ausreichend beschrieben? Ich bin über jede Hilfe dankbar!
Gruß
Markus
Dateianhänge
redmatic.2021-03-05T11_53_14.312Z.log
(122.2 KiB) 11-mal heruntergeladen
5AEA3FDC-686F-4922-8F56-41F23589990F.jpeg
Wenn ich die Converter Node mit der debug n Node verbinde, wird mir eben dieses angezeigt
4DB61741-9FFD-44E1-A3E7-70E5B2129CAF.jpeg
Bei der Event node werden Werte angezeigt, aber eben nicht die Helligkeit

Dschido
Beiträge: 23
Registriert: 18.12.2018, 22:27
Wohnort: Nürnberg
Hat sich bedankt: 3 Mal
Danksagung erhalten: 2 Mal

Re: Xiaomi Illuminance Sensor gibt Helligkeitswert nicht aus

Beitrag von Dschido » 07.03.2021, 11:35

Hallo Markus

Nach den Debug Ausgaben wird der Sensor von Deinem Zigbee Converter nicht unterstützt.
Hier gibt es Infos https://www.zigbee2mqtt.io/devices/GZCG ... -gzcgq01lm

Beim event wäre interessant was im payload und in data steht. Evtl. Kann man damit was anfangen.

Da es ein aktuelles update mit aktuelleren zigbee Converter gibt. Könnte es auch damit schon klappen.

Gruß
Guido

SaMaJaMa
Beiträge: 2
Registriert: 04.03.2021, 20:33
System: CCU

Re: Xiaomi Illuminance Sensor gibt Helligkeitswert nicht aus

Beitrag von SaMaJaMa » 07.03.2021, 14:50

Hallo Guido,
vielen Dank für deine Antwort und die Tipps. Ich habe die Updates noch mal überprüft und festgestellt, dass das für den node-red-contrib-zigbee fehlgeschlagen ist. Unten die Lok Datei. Das hat mich dann doch etwas entmutigt, da ich bei den ganzen Fehlermeldungen nur Bahnhof verstehe und ich mir gerade nicht sicher bin, ob die gesamte Aktion nicht eine Hausnummer zu groß ist mit meinen Kenntnissen.

Naja, aber jetzt werde ich nicht gleich den Kopf in den Sand stecken. Für mich wäre hilfreich zu wissen, ob ich mich durch die einzelnen Fehlermeldungen kämpfen muss oder ob es so eine Rundumsorglos-Datei gibt, die mir die ganzen veralteten Sachen, fehlenden Dateien und sonstigen Probleme behebt :D

Es würde mich freuen, wenn mich hier noch mal jemand unterstützt.

Vielen Dank schon mal
Gruß Markus


21-03-07T12:53:21.918Z installieren : node-red-contrib-zigbee 0.20.3

2021-03-07T12:53:22.005Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-zigbee@0.20.3
2021-03-07T12:53:32.405Z [err] npm
2021-03-07T12:53:32.406Z [err]
2021-03-07T12:53:32.407Z [err] WARN deprecated vis@4.21.0: Please consider using https://github.com/visjs
2021-03-07T12:54:23.487Z [out]
2021-03-07T12:54:23.487Z [out] > @serialport/bindings@9.0.4 install /usr/local/addons/redmatic/var/node_modules/node-red-contrib-zigbee/node_modules/@serialport/bindings
2021-03-07T12:54:23.487Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-03-07T12:54:23.487Z [out]
2021-03-07T12:54:24.821Z [err] prebuild-install
2021-03-07T12:54:24.821Z [err] WARN install No prebuilt binaries found (target=14.15.1 runtime=node arch=arm libc= platform=linux)
2021-03-07T12:54:25.616Z [err] gyp
2021-03-07T12:54:25.617Z [err]
2021-03-07T12:54:25.617Z [err] ERR! find Python
2021-03-07T12:54:25.617Z [err] gyp ERR!
2021-03-07T12:54:25.617Z [err] find Python Python is not set from command line or npm configuration
2021-03-07T12:54:25.617Z [err] gyp ERR!
2021-03-07T12:54:25.618Z [err] find Python Python is not set from environment variable PYTHON
2021-03-07T12:54:25.618Z [err] gyp ERR! find Python
2021-03-07T12:54:25.618Z [err] checking if "python" can be used
2021-03-07T12:54:25.618Z [err] gyp ERR! find Python - "python" is not in PATH or produced an error
2021-03-07T12:54:25.618Z [err] gyp ERR! find Python checking if "python2" can be used
2021-03-07T12:54:25.618Z [err] gyp
2021-03-07T12:54:25.619Z [err] ERR! find Python - "python2" is not in PATH or produced an error
2021-03-07T12:54:25.619Z [err] gyp
2021-03-07T12:54:25.619Z [err] ERR! find Python checking if "python3" can be used
2021-03-07T12:54:25.619Z [err] gyp ERR! find Python - "python3" is not in PATH or produced an error
2021-03-07T12:54:25.619Z [err] gyp ERR! find Python
2021-03-07T12:54:25.619Z [err] gyp ERR!
2021-03-07T12:54:25.620Z [err] find Python **********************************************************
2021-03-07T12:54:25.620Z [err] gyp ERR! find Python You need to install the latest version of Python.
2021-03-07T12:54:25.620Z [err] gyp
2021-03-07T12:54:25.620Z [err] ERR! find Python Node-gyp should be able to find and use Python. If not,
2021-03-07T12:54:25.620Z [err] gyp ERR! find Python you can try one of the following options:
2021-03-07T12:54:25.620Z [err] gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
2021-03-07T12:54:25.620Z [err] gyp ERR!
2021-03-07T12:54:25.621Z [err] find Python (accepted by both node-gyp and npm)
2021-03-07T12:54:25.621Z [err] gyp ERR! find Python - Set the environment variable PYTHON
2021-03-07T12:54:25.621Z [err] gyp ERR! find Python - Set the npm configuration variable python:
2021-03-07T12:54:25.621Z [err] gyp ERR!
2021-03-07T12:54:25.621Z [err] find Python npm config set python "/path/to/pythonexecutable"
2021-03-07T12:54:25.621Z [err] gyp ERR! find Python For more information consult the documentation at:
2021-03-07T12:54:25.621Z [err] gyp
2021-03-07T12:54:25.622Z [err] ERR! find Python https://github.com/nodejs/node-gyp#installation
2021-03-07T12:54:25.622Z [err] gyp ERR! find Python
2021-03-07T12:54:25.622Z [err] **********************************************************
2021-03-07T12:54:25.622Z [err] gyp ERR! find Python
2021-03-07T12:54:25.624Z [err] gyp
2021-03-07T12:54:25.625Z [err] ERR! configure error
2021-03-07T12:54:25.626Z [err] gyp
2021-03-07T12:54:25.626Z [err] ERR! stack Error: Could not find any Python installation to use
2021-03-07T12:54:25.626Z [err] gyp ERR! stack at PythonFinder.fail (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47)
2021-03-07T12:54:25.626Z [err] gyp
2021-03-07T12:54:25.627Z [err] ERR! stack at PythonFinder.runChecks (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
2021-03-07T12:54:25.627Z [err] gyp ERR! stack at PythonFinder.<anonymous> (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
2021-03-07T12:54:25.627Z [err] gyp
2021-03-07T12:54:25.627Z [err] ERR! stack at PythonFinder.execFileCallback (/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16)
2021-03-07T12:54:25.627Z [err] gyp ERR! stack at exithandler (child_process.js:315:5)
2021-03-07T12:54:25.627Z [err] gyp
2021-03-07T12:54:25.627Z [err] ERR! stack at ChildProcess.errorhandler (child_process.js:327:5)
2021-03-07T12:54:25.627Z [err] gyp ERR! stack at ChildProcess.emit (events.js:315:20)
2021-03-07T12:54:25.627Z [err] gyp
2021-03-07T12:54:25.628Z [err] ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2021-03-07T12:54:25.628Z [err] gyp ERR! stack at onErrorNT (internal/child_process.js:465:16)
2021-03-07T12:54:25.628Z [err] gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21)
2021-03-07T12:54:25.629Z [err] gyp
2021-03-07T12:54:25.630Z [err] ERR! System Linux 4.14.34
2021-03-07T12:54:25.630Z [err] gyp ERR!
2021-03-07T12:54:25.630Z [err] command "/usr/local/addons/redmatic/bin/node" "/usr/local/addons/redmatic/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-03-07T12:54:25.630Z [err] gyp ERR! cwd /usr/local/addons/redmatic/var/node_modules/node-red-contrib-zigbee/node_modules/@serialport/bindings
2021-03-07T12:54:25.630Z [err] gyp
2021-03-07T12:54:25.630Z [err] ERR! node -v v14.15.1
2021-03-07T12:54:25.630Z [err] gyp ERR! node-gyp -v
2021-03-07T12:54:25.631Z [err] v5.1.0
2021-03-07T12:54:25.631Z [err] gyp ERR! not ok
2021-03-07T12:54:30.157Z [err] npm
2021-03-07T12:54:30.158Z [err]
2021-03-07T12:54:30.159Z [err] WARN enoent ENOENT: no such file or directory, open '/usr/local/addons/redmatic/var/node_modules/node-red-contrib-xiaomi-sensors/package.json'
2021-03-07T12:54:30.201Z [err] npm
2021-03-07T12:54:30.202Z [err] WARN node-red-project@0.0.1 No repository field.
2021-03-07T12:54:30.245Z [err] npm
2021-03-07T12:54:30.246Z [err] WARN node-red-project@0.0.1 No license field.
2021-03-07T12:54:30.247Z [err]
2021-03-07T12:54:30.334Z [err] npm
2021-03-07T12:54:30.334Z [err]
2021-03-07T12:54:30.335Z [err] ERR! code ELIFECYCLE
2021-03-07T12:54:30.335Z [err] npm ERR! errno 1
2021-03-07T12:54:30.358Z [err] npm
2021-03-07T12:54:30.358Z [err] ERR! @serialport/bindings@9.0.4 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
2021-03-07T12:54:30.358Z [err] npm ERR! Exit status 1
2021-03-07T12:54:30.358Z [err] npm ERR!
2021-03-07T12:54:30.358Z [err] npm ERR!
2021-03-07T12:54:30.359Z [err] Failed at the @serialport/bindings@9.0.4 install script.
2021-03-07T12:54:30.359Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-03-07T12:54:30.616Z [err]
2021-03-07T12:54:30.617Z [err] npm ERR! A complete log of this run can be found in:
2021-03-07T12:54:30.617Z [err] npm ERR! /usr/local/addons/redmatic/var/npm-cache/_logs/2021-03-07T12_54_30_403Z-debug.log
2021-03-07T12:54:30.660Z rc=1

Dschido
Beiträge: 23
Registriert: 18.12.2018, 22:27
Wohnort: Nürnberg
Hat sich bedankt: 3 Mal
Danksagung erhalten: 2 Mal

Re: Xiaomi Illuminance Sensor gibt Helligkeitswert nicht aus

Beitrag von Dschido » 07.03.2021, 15:13

Nein, du musst redmatic updaten. Die Zigbee Node wird da mit ausgeliefert.

Antworten

Zurück zu „RedMatic“