Beiträge von Kohle_81

    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?

    Es kommt weiterhin folgende meldung:


    sudo systemctl daemon-reload

    pi@raspberrypi:~ $ sudo systemctl enable homebridge



    Synchronizing state for homebridge.service with sysvinit using update-rc.d...

    Executing /usr/sbin/update-rc.d homebridge defaults

    Executing /usr/sbin/update-rc.d homebridge enable

    Failed to execute operation: Bad message

    Bei der zweiten Zeile foogendes:



    [Unit]

    Description=Node.js HomeKit

    Server

    After=syslog.target

    network-online.target

    [Service]

    Type=simple

    User=homebridge

    EnvironmentFile=/etc/default/homebridge

    ExecStart=/usr/local/bin/homebridge

    $HOMEBRIDGE_OPTS

    Restart=on-failure

    RestartSec=10

    KillMode=process

    [Install]

    WantedBy=multi-user.target

    Im ersten Befehl wird das angezeigt:


    Defaults / Configuration options

    # for homebridge The following

    # settings tells homebridge where to

    # find the config.json file and

    # where to persist the data (i.e.

    # pairing and others)

    HOMEBRIDGE_OPTS=-U /var/homebridge

    # If you uncomment the following

    # line, homebridge will log more You

    # can display this via systemd's

    # journalctl: journalctl -f -u

    # homebridge

    # DEBUG=*

    Ich habe people erst seit einigen Tagen am laufen und bin bis jetzt echt zufrieden.

    Sobald ich heim komme dauert es nur wenige Sekunden, bis es mein iphone oder das meiner frau als anwesend erkennt.


    Nachdem ich das Haus verlasse geht der Status zuverlässig nach 5 min. auf abwesend, was ich völlig ausreichend bzw. sinnvoll finde.

    Folgender Status wird ausgegeben:


    sudo systemctl status homebridge -l

    ? homebridge.service - Node.js HomeKit

    Loaded: error (Reason: Bad message)

    Active: inactive (dead)


    Okt 11 22:40:29 raspberrypi systemd[1]: [/etc/systemd/system/homebridge.service:3] Missing '='.

    Okt 11 22:40:29 raspberrypi systemd[1]: [/etc/systemd/system/homebridge.service:3] Missing '='.

    Ich habe gerade die einzelnen Schritte durchgeführt. Es ist beim der vorletzten zeile folgende Meldung erschienen:


    sudo systemctl enable homebridge

    Synchronizing state for homebridge.service with sysvinit using update-rc.d...

    Executing /usr/sbin/update-rc.d homebridge defaults

    Executing /usr/sbin/update-rc.d homebridge enable

    Failed to execute operation: Bad message



    Wenn ich homebridge starten will kommt folgendes:


    sudo systemctl restart homebridge

    Failed to restart homebridge.service: Unit homebridge.service failed to load: Bad message. See system logs and 'systemctl status homebridge.service' for details.

    pi@raspberrypi:~ $ systemctl status homebridge.service

    ? homebridge.service - Node.js HomeKit

    Loaded: error (Reason: Bad message)

    Active: inactive (dead)



    Was kann ich tun, um die Modifikation fertigstellen zu können?


    Oder kann ich alles irgendwie rückgängig machen? Habe mir keine Sicherung gemacht ???

    Das lass ich natürlich gelten mit der anzahl der geräte ?


    Dann habe ich es falsch verstanden, ich dachte weil es dir jetzt so bescheiden ergangen ist wäre dein Frust so groß.....

    Maz und Nastra


    Ich bin jetzt inzwischen soweit, dass ich „nur“ noch den 2. user in der config anlegen muss.


    Ich bin im Vergleich zu euch beiden ja blutiger Anfänger, was das Thema homebridge angeht.


    Ich denke, dass bei Nastra eher nur die hardware oder evtl. das installierte image diese probleme verursacht.


    Ich hatte das Glück, dass alles wie am Schnürchen vonstatten ging. Als ich mal die Logik kapiert habe.


    Eigentlich sind es nach dem Aufstecken des Moduls nur noch den RasPi wieder zu starten, dann die Software runterzu laden, das Programm deconz zu starten.


    Anschließend kann man sich schon anmelden und erste Geräte einbinden.


    Hier bin ich gerade, jetzt muss ich nur noch wie bei der Hue-bridge einen 2. user generieren lassen und diesen noch in der config eingeben.


    Dann gilt es zu warten bis hoffentlich meine Xiaomi-Sensoren eintreffen.


    Hier hat mir @Krocko netterweise auch schon verraten wie es funktioniert. Gateway auf „öffnen“ schalten, die sensoren resetten und diese werden dann erkannt und fertig ist die einbindung.