Beiträge von Kohle_81

    Ich benötige nochmals Hilfe beim Anlegen des zweiten Users im hue-plugin.


    Bis jetzt bin ich wie folgt vorgegangen ohne Erfolg:


    -sudo systemctl stop homebridge


    Dann habe ich in der bestehenden config mit Komma getrennt eine zweite Zeile USER“...“ : „....“ eingetragen.


    Danach habe ich das raspbee modul unlocked geschalten und anschließend homebridge eingegeben, auch mal sudo homebridge.


    Ich weiß noch dass bei der hue bridge ne meldung kam, bitte pairing knopf drücken, und dann wurde ein user generiert.


    Funktioniert hier bei mir nicht. Hier mal meine bisherige config:


    {

    "platform": "Hue",

    "name": "Hue",

    "host": "192.168.192.37",

    "users": {

    "001788FFFE28C123": "xxxxxxxxxxxxxxxxxx"

    },

    "lights": true,

    "philipslights": false,

    "sensors": false,

    "excludeSensorTypes": [

    "Daylight",

    "CLIP",

    "Geofence"

    ]

    }



    Die xxxxxx habe ich natürlich nur als Platzhalter hier verwendet.

    Muss ich für die Erkennung des dresden moduls noch mehr eingeben?


    Die hue-bridge hat natürlich ne andere ip - siehe oben - das modul hat ja die ip des raspis.


    Ich komm nicht weiter....


    Schoen wäre es, wenn mir jemand step bei step erklären könnte, wie ich vorzugehen habe.

    Ich bin selbst auch noch kein Experte, aber evtl. könnte es daran liegen, dass die installation ohne sudo der Grund dafür ist?


    Wenn ich eine Meldung wg. Rechte bei der installation eines plugins bekomme, gehe ich über diesen Befehl:


    sudo chown -R $USER /usr/local && npm install homebridge-Pluginname -g

    Nastra


    Hier mal mein log:


    sudo cat /var/log/syslog | grep homebridge

    Oct 14 08:27:01 raspberrypi homebridge[573]: [2017-10-14 08:27:01] Changed occupancy state for 192.168.192.24 to false. Last successful ping 2017-10-14T08:21:52+02:00 , last webhook none .

    Oct 14 08:27:43 raspberrypi homebridge[573]: [2017-10-14 08:27:43] Changed occupancy state for 192.168.192.24 to true. Last successful ping 2017-10-14T08:27:43+02:00 , last webhook none .

    Oct 14 08:53:21 raspberrypi homebridge[573]: [2017-10-14 08:53:21] Changed occupancy state for 192.168.192.24 to false. Last successful ping 2017-10-14T08:48:12+02:00 , last webhook none .

    Oct 14 11:19:29 raspberrypi homebridge[573]: [2017-10-14 11:19:29] Changed occupancy state for 192.168.192.24 to true. Last successful ping 2017-10-14T11:19:29+02:00 , last webhook none .



    Ich nutze übrigens auch nicht das image von det, sondern habe alles manuell aufgesetzt.

    Habe das Update gestern auch gemacht und heute morgen mal ins Log geschaut, die HB stürzt mit der alpha2 Version genauso wie alle anderen Versionen nach der 0.1.1 ca. jede Stunde einmal ab.


    Hast du mal bei dir die Logs geprüft ob es bei dir auch auftritt und du es durch den Autostart der HB garnicht mitbekommst?

    Ich kann das ausschließen nei mir. Ich habe das harmony updste gleich nach bekanntgabe hier im forum aufgespielt. Autostart habe ich überhaupt erst seit 2 tagen am laufen.


    det ist mein zeuge ??


    Von dahee habe ich regelmäßige abstürze ausgeschlossen.


    Mit welchem Befehl kann ich diese Log-Abfrage nochmals machen?

    In der App wird auf den ersten Blick nur die Temperatur angezeigt. Die Luftfeuchtigkeit wird schon auch durchgereicht, aber nicht auf den ersten Blick ersichtlich.

    Maz


    Wenn das mit den einstellungen sich dann nicht mehr abmeldet ist das natürlich super.

    Die Abwesenheit nach 30 min. erst zu erkennen ist für mich jetzt nicht so dramatisch, dann werden evtl. in Regeln eingebundene Geräte erst später geschalten. Hauptsache es wird geschhalten ?


    Anwesenheit wird ja weiterhin gleich erkannt, da wollt ich jetzt keine 30 min. warten bis z.b. das licht angeht ??

    wo hast die 5min eingestellt? und du hast dann keine Probleme wenn du zuhause bist, dass dann dein Handy sich bei People an und abmeldet?

    ich habe treshold 30min. darunter geht nichts leider.

    Ich hab folgende einstellungen:

    {

    "platform": "People",

    "threshold": 5,

    "anyoneSensor": true,

    "nooneSensor": true,

    "webhookPort": 51828,

    "pingInterval": 9000,

    "ignoreReEnterExitSeconds": 0,



    Ich hab jetzt immer mein iphone unter der lupe gehabt, dies wird dann dauerhaft als „anwesend“ erkannt.

    Tatsächlich wird das iphone meiner Frau ab und zu als „abwesend“ ausgewiesen. Wenn ich dann aber die Home-App beende und neu starte, springt es gleich wieder auf „anwesend“.


    Hängt das am „treshold“? Muss da mal testen.


    Ich habe natürlich noch keine Regeln für people drin, ist aber ein wichtiger Aspekt Maz danke für diesen Hinweis ?

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] WebHook: Started server on port '51828'.

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] Initializing VorwerkVacuumRobot platform...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing Hue platform...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] homebridge-hue v0.5.7, node v6.10.0, homebridge v0.4.22

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] Loading 0 accessories...

    Oct 12 22:38:15 raspberrypi dhcpcd[436]: eth0: no IPv6 Routers available

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] Changed occupancy state for 192.168.192.56 to true. Last successful ping 2017-10-12T22:38:15+02:00 , last webhook none .

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] Changed occupancy state for 192.168.192.24 to true. Last successful ping 2017-10-12T22:38:15+02:00 , last webhook none .

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Philips hue: warning: api version 1.21.0

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Philips hue: BSB002 bridge v1709131301, api v1.21.0

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Philips hue: 6 accessories

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing platform accessory 'Philips hue'...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Philips hue: 3 services

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing platform accessory 'Lichter Wohnwand'...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing platform accessory 'Unterschrank'...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing platform accessory 'Freie Steckdose'...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing platform accessory 'Sofa'...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] [Hue] Initializing platform accessory 'Gartenspot'...

    Oct 12 22:38:15 raspberrypi homebridge[554]: [2017-10-12 22:38:15] Found robot #1: Kohlers VR200

    Oct 12 22:38:16 raspberrypi homebridge[554]: [2017-10-12 22:38:16] Initializing platform accessory 'Kohlers VR200'...

    Oct 12 22:38:16 raspberrypi homebridge[554]: Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    Oct 12 22:38:16 raspberrypi homebridge[554]: ??????????????

    Oct 12 22:38:16 raspberrypi homebridge[554]: ? 031-45-154 ?

    Oct 12 22:38:16 raspberrypi homebridge[554]: ??????????????

    Oct 12 22:38:16 raspberrypi homebridge[554]: [2017-10-12 22:38:16] Homebridge is running on port 51826.

    Oct 12 22:38:16 raspberrypi homebridge[554]: [2017-10-12 22:38:16] [Harmony Hub] Fetching Logitech Harmony activities...

    Oct 12 22:38:37 raspberrypi systemd[690]: Time has been changed

    Oct 12 22:38:37 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:39:07 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:38:37 raspberrypi systemd[1]: Time has been changed

    Oct 12 22:38:37 raspberrypi homebridge[554]: [2017-10-12 22:38:37] [Harmony Hub] Found activities:

    Oct 12 22:38:37 raspberrypi homebridge[554]: Samsung

    Oct 12 22:38:37 raspberrypi homebridge[554]: Radio

    Oct 12 22:38:37 raspberrypi homebridge[554]: Receiver

    Oct 12 22:38:37 raspberrypi homebridge[554]: Nachtruhe

    Oct 12 22:38:37 raspberrypi homebridge[554]: Fernsehen

    Oct 12 22:38:37 raspberrypi homebridge[554]: PowerOff

    Oct 12 22:38:37 raspberrypi homebridge[554]: BlueRay

    Oct 12 22:38:37 raspberrypi homebridge[554]: NickiRadio

    Oct 12 22:38:37 raspberrypi homebridge[554]: Mac anschalten

    Oct 12 22:38:37 raspberrypi homebridge[554]: CD-Player

    Oct 12 22:38:37 raspberrypi homebridge[554]: Heimkino

    Oct 12 22:39:44 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:40:14 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:39:52 raspberrypi systemd[1]: Starting Session c3 of user pi.

    Oct 12 22:39:52 raspberrypi systemd[1]: Started Session c3 of user pi.

    Oct 12 22:41:06 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:41:36 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:42:05 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:42:35 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:51:06 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:51:36 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:52:02 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:52:32 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:53:03 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:53:33 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:53:40 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories...

    Oct 12 22:53:40 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:54:10 2017 [try http://www.rsyslog.com/e/2007 ]

    Oct 12 22:53:40 raspberrypi systemd[1]: Started Cleanup of Temporary Directories.

    Oct 12 22:54:39 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Thu Oct 12 22:55:09 2017 [try http://www.rsyslog.com/e/2007 ]

    det


    Ich habe den Inhalt nochmals komplett gelöscht und sauber am mac eingefügt.


    Ich konnte nun die schritte ab

    sudo systemctl daemon-reload


    sauber ohne Fehlermeldung abarbeiten.


    Homebridge läuft auch wieder.


    Hierfür und für deine geduldigen Anleitungen vielen Dank.


    Ich komme noch nicht ganz zurecht, was manchmal mit „was steht im log“ gemeint ist.


    Kann ich noch irgendwie überprüfen, ob homebridge mit systemd sauber läuft?