Beiträge von nsch

    Die Bewegungserkennung läuft wirklich gut mit der Version 2.6.4! Danke für den Tipp!


    Was aber mit dieser und auch mit der aktuellen Version irgendwie überhaupt nicht funktioniert ist die Liste der Anrufer und abgehenden Anrufe. Ich habe das in der Fritzbox aktiviert aber die Liste in Homekit bleibt leer. Ich bin genau nach der Anleitung vorgegangen, aber es kommt einfach nichts.

    Weiß dafür jemand eine Lösung?

    Du meinst Callmonitor? Wird doch per Telegram gesendet und nicht im HomeKit angezeigt.

    Die Mac-Adresse von welchem Gerät ist sie?

    Wo ist denn deine Konfigurationsdatei?

    /etc/mosquitto/conf.d/mosquitto.conf


    ? mosquitto.service - Mosquitto MQTT Broker daemon

    Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled)

    Active: active (running) since Mon 2018-11-05 13:51:48 CET; 5s ago

    Process: 29090 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/conf.d/mosquitto.conf -d (code=exited, status=0/SUCCESS)

    Main PID: 29091 (mosquitto)

    CGroup: /system.slice/mosquitto.service

    ??29091 /usr/sbin/mosquitto -c /etc/mosquitto/conf.d/mosquitto.conf -d


    Nov 05 13:51:48 raspberrypi systemd[1]: Started Mosquitto MQTT Broker daemon.


    jetzt ist die Angabe richtig.

    Es bedeutet: nutze die configurations-Datei, deren Namen hier folgt.


    Stefan

    Also bei mir läuft es nicht mit: -c /etc/mosquitto/conf.d/mosquitto.conf -d

    nur wenn ich es so mache: ExecStart=/usr/sbin/mosquitto -v


    ? mosquitto.service - Mosquitto MQTT Broker daemon

    Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled)

    Active: failed (Result: start-limit) since Mon 2018-11-05 12:11:09 CET; 9s ago

    Process: 28888 ExecStart=/usr/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -d (code=exited, status=3)


    Nov 05 12:11:09 raspberrypi mosquitto[28888]: Error: Unable to open configuration file.

    Nov 05 12:11:09 raspberrypi systemd[1]: mosquitto.service: control process exited, code=exited status=3

    Nov 05 12:11:09 raspberrypi systemd[1]: Failed to start Mosquitto MQTT Broker daemon.

    Nov 05 12:11:09 raspberrypi systemd[1]: Unit mosquitto.service entered failed state.

    Nov 05 12:11:09 raspberrypi systemd[1]: mosquitto.service holdoff time over, scheduling restart.

    Nov 05 12:11:09 raspberrypi systemd[1]: Stopping Mosquitto MQTT Broker daemon...

    noch eine Frage hätte ich...


    Wieso connected er nicht beim ersten Anlauf?


    Nov 01 21:08:44 raspberrypi homebridge[581]: [11/1/2018, 9:08:44 PM] [MQTT Bridge] on.offline <to analyze>

    Nov 01 21:08:44 raspberrypi homebridge[581]: [11/1/2018, 9:08:44 PM] [MQTT Bridge] on.close <to analyze>

    Nov 01 21:08:45 raspberrypi homebridge[581]: [11/1/2018, 9:08:45 PM] [MQTT Bridge] on.reconnect <to analyze>

    Nov 01 21:08:45 raspberrypi homebridge[581]: [11/1/2018, 9:08:45 PM] [MQTT Bridge] on.close <to analyze>

    Nov 01 21:08:46 raspberrypi homebridge[581]: [11/1/2018, 9:08:46 PM] [MQTT Bridge] on.reconnect <to analyze>

    Nov 01 21:08:46 raspberrypi homebridge[581]: [11/1/2018, 9:08:46 PM] [MQTT Bridge] on.close <to analyze>

    Nov 01 21:08:47 raspberrypi homebridge[581]: [11/1/2018, 9:08:47 PM] [MQTT Bridge] on.reconnect <to analyze>

    Nov 01 21:08:47 raspberrypi homebridge[581]: [11/1/2018, 9:08:47 PM] [MQTT Bridge] connected (url = mqtt://192.168.178.99)

    Datei stammt aus dieser Anleitung: [Anleitung] Sonoff RF + Funkschalter in HomeKit


    Shelleingabe:

    pi@raspberrypi:~ $ sudo /usr/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -d

    Error: Unable to open config file /usr/local/etc/mosquitto/mosquitto.conf


    Error found at /usr/local/etc/mosquitto/mosquitto.conf:0.

    Error: Unable to open configuration file.


    Kann ich auch löschen? /usr/local/etc/mosquitto/mosquitto.conf


    Danke & Gruß

    so jetzt läuft es wieder...


    ? mosquitto.service - Mosquitto MQTT Broker daemon

    Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled)

    Active: activating (start) since Thu 2018-11-01 16:04:55 CET; 1min 36s ago

    Control: 516 (mosquitto)

    CGroup: /system.slice/mosquitto.service

    ??516 /usr/sbin/mosquitto -v

    ich würde denken, er kann

    /etc/mosquitto/mosquitto.conf nicht lesen.

    :)

    ? mosquitto.service - Mosquitto MQTT Broker daemon

    Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled)

    Active: activating (auto-restart) (Result: exit-code) since Thu 2018-11-01 15:19:22 CET; 64ms ago

    Process: 28875 ExecStart=/usr/sbin/mosquitto -c (code=exited, status=3)


    Nov 01 15:19:22 raspberrypi systemd[1]: Failed to start Mosquitto MQTT Broker daemon.

    Nov 01 15:19:22 raspberrypi systemd[1]: Unit mosquitto.service entered failed state.

    Etwas stimmt an meiner Anpassung immer noch nicht:


    ? mosquitto.service - Mosquitto MQTT Broker daemon

    Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled)

    Active: activating (auto-restart) (Result: exit-code) since Thu 2018-11-01 14:40:06 CET; 1s ago

    Process: 25189 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf -d (code=exited, status=3)


    Nov 01 14:40:06 raspberrypi mosquitto[25189]: Error: Unable to open configuration file.

    Nov 01 14:40:06 raspberrypi systemd[1]: mosquitto.service: control process exited, code=exited status=3

    Nov 01 14:40:06 raspberrypi systemd[1]: Failed to start Mosquitto MQTT Broker daemon.

    Nov 01 14:40:06 raspberrypi systemd[1]: Unit mosquitto.service entered failed state.

    Hi Stefan,


    vielen Dank für Deine schnelle Antwort.


    Das sudo habe ich mal eingefügt weil ich es besser nicht wusste.


    Problem liegt beim Pfad.


    mosquito liegt hier:

    /usr/sbin/mosquitto


    Ist dieser Befehl dann richtig? was führt mosquitto.conf aus?


    ExecStart=/usr/sbin/mosquitto/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -d


    Danke vorab.


    Nikolai

    Hallo zusammen,


    kann mir jemand sagen warum mein mosquito service nicht mehr ausgeführt wird?


    pi@raspberrypi:~ $ sudo systemctl status mosquitto.service

    ? mosquitto.service - Mosquitto MQTT Broker daemon

    Loaded: loaded (/etc/systemd/system/mosquitto.service; enabled)

    Active: activating (auto-restart) (Result: exit-code) since Thu 2018-11-01 11:31:13 CET; 649ms ago

    Process: 8903 ExecStart=/usr/local/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -d (code=exited, status=203/EXEC)


    Nov 01 11:31:13 raspberrypi systemd[1]: Failed to start Mosquitto MQTT Broker daemon.

    Nov 01 11:31:13 raspberrypi systemd[1]: Unit mosquitto.service entered failed state.


    Warning: Unit file changed on disk, 'systemctl daemon-reload' recommended.


    Hier noch die Config von meinem Service:


    [Unit]

    Description=Mosquitto MQTT Broker daemon

    After=network.target

    Requires=network.target


    [Service]

    Type=forking

    RemainAfterExit=no

    StartLimitInterval=0

    PIDFile=/var/run/mosquitto.pid

    # Note: The following paths may be different on your system.

    ExecStart=/usr/local/sbin/sudo mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -d

    ExecReload=/bin/kill -HUP $MAINPID

    Restart=on-failure

    RestartSec=2


    [Install]

    WantedBy=multi-user.target

    Gute Abend zusammen,


    was mache ich hier falsch?


    Oct 31 21:32:35 raspberrypi homebridge[597]: [10/31/2018, 9:32:35 PM] [MQTT Bridge] on.reconnect <to analyze>

    Oct 31 21:32:35 raspberrypi homebridge[597]: [10/31/2018, 9:32:35 PM] [MQTT Bridge] on.close <to analyze>


    Kann mir jemand helfen?