Ich habe es bei 15 min. belassen. Klappt eigentlich ganz gut und zuverlässig. Ich denke ich werde bei den Personen das ganze auf 20 min. erhöhen.
Beiträge von Dennis_BE
-
-
Eve von Elgato
-
Danke det und @grover. Laüft nun
-
Nutzt du dazu die Xiaomi Aqara Door Kontakte?
Welches Plugin nutzt du dafür?
-
Ich habe zum Bespiel auch meine Mutter,Schwiegermutter, Schwester und meinen Tv an das People Plugin gekoppelt.
Wenn ich oder meine Frau mal nicht da sind und die anderen Personen auf meine Zwillinge (4 Jahre) aufpassen dann soll ja nicht das Licht aus gehen.
Deswegen arbeite ich nicht mit den einzelnen Sensoren.
Z.b
Wenn AnyOne Ja und Bedingung Nach Sonnenuntergang dann Aktiviere Abendlicht.
-
Alles anzeigen
Hmm. In /usr/local hat nur root Schreibrechte. Das ist der Grund warum ich in meinen Anleitungen node nach /opt installiere. Jedenfalls kannst Du als workaround folgendes machen:
chmod u+rwx /usr/local/lib/node_modules
Damit bekommen alle angemeldeten Nutzer Schreibrechte im node_modules Verzeichnis.
Danach npm install.
Auch das hat nicht geklappt.
Egal ist bald Wochenende. Wenn ein Update da ist spiele ich es dann so ein.
Danke @grover für deine Hilfe.
-
Macht es Sinn den anyone User drin zu haben?
Ich meine ja.
Ich nutze Anyone und NoOne als Auslöser.
-
Gibt es für alles was irgendwie auslöst eine Log? Ich glaube nicht.
Ist euch was bekannt ob es dafür was gibt?
Was ich suche ist Quasi eine Log die mir sagt um welche Uhrzeit was ausgelöst hat.
-
Wie schaut den deine Config aus?
-
-
Wollte eben mal einen weiteren Schalter für Alarm einfügen aber mir wird in Eve nichts angezeigt.
Falsche Klammern gesetzt?
Code
Alles anzeigen{ "bridge": { "name": "Homebridge", "username": "Cxxxx", "port": 51826, "pin": "031-4xxx" }, "accessories": [{ "accessory": "Suncalc", "location": { "lat": 50.5840512, "lng": 8.5840512 }, "offset": { "sunriseEnd": 30, "sunsetStart": -30 }, "name": "Suncalc" }, { "accessory": "MagicHome", "name": "LED Strip", "ip": "192.168.178.89", "setup": "RGBW", "purewhite": false, "singleChannel": false }, { "accessory": "DelaySwitch", "name": "Timer", "delay": 90000 }, { "accessory": "DelaySwitch", "name": "Timer2", "delay": 90000 }, { "accessory": "Notification", "name": "door_unlocked", "ifttt_api_key": "xxxx", "ifttt_event": "door_unlocked", "ifttt_message": "door_unlocked", "ifttt_mute_notification_interval_in_sec": 90000 }, { "accessory": "Notification", "name": "door_locked", "ifttt_api_key": "xxxx", "ifttt_event": "door_locked", "ifttt_message": "door_locked", "ifttt_mute_notification_interval_in_sec": 90000 }, { "accessory": "PiTemperature", "name": "PI Temperatur" } ], "platforms": [{ "platform": "Fritz!Box", "name": "My FritzBox", "username": "raspberry", "password": "xxxx", "url": "http://fritz.box", "interval": 60, "options": { "strictSSL": false } }, { "platform": "config", "name": "Config", "port": 8080, "log": "/var/log/homebridge.log" }, { "platform": "Calendar", "calendars": [{ "name": "Abfallkalender", "url": "xxxxx", "pollingInterval": 5, "offset": "-8h", "sensors": [ "LKG Restabfall", "LKG Gelbe Tonne", "LKG Altpapier", "LKG Bioabfall" ] }, { "name": "Homekit", "url": "xxxxx", "pollingInterval": 5, "sensors": [ "CalSensor1", "CalSensor2" ] } ] }, { "platform": "WeatherStation", "name": "Wetter", "interval": "4", "key": "592f69f5df17fc58", "location": "pws:IHESSENG6", "forecast": "none" }, { "platform": "IFTTT", "name": "IFTTT", "makerkey": "xxxxx", "accessories": [{ "name": "Accessory 1", "buttons": [{ "caption": "IFTTT Push Licht Küche", "triggerOn": "Alarm1On", "triggerOff": "Alarm1Off", "delayOn": 4, "delayOff": 3, "stateful": true }, { "caption": "Alarm2", "triggerOn": "Alarm2On", "triggerOff": "Alarm2Off", "delayOff": 1 }, { "caption": "IFTTT Push Licht", "trigger": "Alarm3", "delayOn": 5 }, { "caption": "Alarm4", "trigger": "Alarm4" } ] }, { "name": "Accessory 2", "buttons": [{ "caption": "Alarm2-1", "trigger": "Alarm2-1" }, { "caption": "Alarm2-2", "trigger": "Alarm2-2" }, { "caption": "Alarm2-3", "trigger": "Alarm2-3" }, { "caption": "Alarm2-4", "trigger": "Alarm2-4" } ] } ] }, { "platform": "NukiBridge", "bridge_url": "xxxx", "webhook_port": "51827", "api_token": "xxxx", "request_timeout_lockstate": 5000, "request_timeout_lockaction": 30000, "cache_directory": "./.node-persist/storage", "webhook_server_ip_or_name": "192.168.178.32", "lock_state_mode": "1", "add_maintainance_buttons": false, "locks": [{ "id": "xxxx", "usesDoorLatch": true, "name": "Haustür", "priority": 1 }] }, { "platform": "People", "threshold": 15, "ayoneSensor": true, "nooneSensor": true, "webhookPort": 51828, "cacheDirectory": "./.node-persist/storage", "pingInterval": 10000, "ignoreReEnterExitSeconds": 0, "people": [{ "name": "xxx", "target": "192.168.178.22", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.29", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.47", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.55", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxxx", "target": "192.168.178.28", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.85", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.48", "threshold": 10, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.36", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 } ] }, { "platform": "Hue", "name": "Hue", "host": "192.168.178.24", "users": { "xxxx": "xxx" }, "sensors": false, "excludeSensorTypes": [ "Daylight", "CLIP", "Geofence" ], "lights": true, "nativeHomeKitLights": true, "nativeHomeKitSensors": false }, { "platform": "AutomationSwitches", "switches": [{ "type": "automation", "name": "Erinnerung", "period": 900, "autoOff": true, "stored": false }, { "type": "automation", "name": "AutoOff", "period": 900, "autoOff": true, "stored": false }, { "type": "slider", "name": "Slider", "stored": true, "default": 5, "minValue": 1, "maxValue": 10 }, { "type": "security", "name": "Home", "default": "unarmed", "stored": true, "zones": [ "Alarm" ] } ] }, { "platform": "DACP", "devices": [{ "name": "Remote Raspberry", "pairing": "xxx", "serviceName": "xxxx", "features": { "no-volume-controls": true } }] }, { "platform": "CallMonitor", "devices": [{ "name": "Fritz!Box 6490", "address": "192.168.178.1", "port": "1012", "outgoingName": "Ausgehender Anruf", "incomingName": "Eingehender Anruf" }] }, { "platform": "Telegram", "bots": [{ "name": "Telegram Bot", "token": "xx", "chat": "xxx", "error": "Something broken. I'm shutting down.", "notifications": { "Haustür": { "mode": "Markdown", "randomize": true, "messages": [ "*Haustür könnte noch offen sein!*", "_Haustür ist noch offen!_", "Haustür hat nicht Abgeschlossen!" ], "Alarm": { "mode": "Markdown", "randomize": true, "messages": [ "_Bewegung erkannt_", "_Alarm_" ] } } } }] } ] } -
55PUS6452/12 Baujahr 2017
-
-
Puh die ganzen Farben der App erdrücken mich jetzt schon ?
Teile diese Meinung mit dir. Zu Bunt. Schicht weiß sollte es sein.
-
Danke das du mir so Hilfst @grover
Ist aber wirklich zum Schreien.
Code
Alles anzeigennpm install -g github:grover/homebridge-calendar npm WARN deprecated [email protected]: Use uuid module instead npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/homebridge-calendar npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/homebridge-calendar/node_modules npm WARN [email protected] had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions. npm ERR! path /usr/local/lib/node_modules/homebridge-calendar npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/homebridge-calendar' npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib/node_modules/homebridge-calendar' npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules/homebridge-calendar\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib/node_modules/homebridge-calendar' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-02-27T20_43_36_016Z-debug.log -
Es fehlt das -g bei npm install.
Mehr Passiert nicht.


-
-
Das checke ich wie?
-
Klappt bei mir nicht.
Pythonpi@raspberrypi:~ $ curl -O https://raw.githubusercontent.com/suborb/philips_android_tv/master/philips.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4428 100 4428 0 0 10831 0 --:--:-- --:--:-- --:--:-- 10852 pi@raspberrypi:~ $ python ./philips.py --host 192.168.178.48 pair Traceback (most recent call last): File "./philips.py", line 9, in <module> from Crypto.Hash import SHA, HMAC ImportError: No module named Crypto.Hash -
Alles anzeigen
Kommt darauf an, wie Du es installiert hast. Rein praktisch solltest Du es normal per rm löschen können. In meinem Fall:
Der Trick dabei ist aber noch alle .npm und .node-gyp Verzeichnisse auf der gesamten Platte zu löschen:
Und alle hier gefundenen Verzeichnisse ebenfalls per rm -r löschen. Danach node normal installieren und nie und nimmer Pakete per sudo npm installieren

Zunächst Danke @grover
Hab ich gemacht aber wieder kommt eine Fehlermeldung.Ich denke ich warte auf das Update am Wochenende.
Code
Alles anzeigenpi@raspberrypi:~ $ npm install github:grover/homebridge-calendar npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm ERR! path /home/pi/node_modules/npm/node_modules/dezalgo npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/node_modules/npm/node_modules/dezalgo' -> '/home/pi/node_modules/npm/node_modules/.dezalgo.DELETE' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-02-27T19_42_47_491Z-debug.log