homebridge-netatmo funktioniert nicht

  • Hallo!


    Ich habe gestern das homebridge-netatmo plugin installiert. Soweit funktioniert noch alles.

    Sobald ich jedoch die config.json anpasse und die Plattform (so wie auf https://www.npmjs.com/package/homebridge-netatmo) eintrage, führt das dazu dass meine ganze homebridge nicht mehr erreichbar ist.

    Laut jsonlint passt die config, siehe spoiler.

    Wenn ich die netatmo plattform aus der config.json herauslösche, funktioniert alles wieder so wie vorher.


    homebridge 0.4.38, npm 5.6.0, node js 8.9.4


    Raspberry Pi 3 (Raspbian Buster) - Homebridge 1.3.3; Node.js 14.16; Npm 7.6.3

  • Ein Blick ins log ist möglicherweise hilfreich. Auskunft erteilt entweder


    sudo systemctl restart homebridge; sudo journalctl -fau homebridge oder

    sudo /etc/init.d/homebridge restart; tail -f /var/log/daemon.log oder

    sudo /etc/init.d/homebridge restart; tail -f /var/log/syslog


    Je nachdem wie du deine Homebridge konfiguriert hast. Falls du nur ins log schauen willst, ohne die Homebridge neu zu starten, dann verwende nur den Teil nach dem Semikolon. Abbruch der Anzeige mit ctrl-c (strg-c).


    Stefan

  • Hey,


    Hast du schon den Client Key und Client Secret ? Beides ist erforderlich, um das Plugin zum Laufen zu bekommen.

    Retrieve client id and secret

    1. Register at http://dev.netatmo.com as a developer
    2. After successful registration create your own app by using the menu entry "CREATE AN APP"
    3. On the following page, enter a name for your app. Any name can be chosen. All other fields of the form (like callback url, etc.) can be left blank.
    4. After successfully submitting the form the overview page of your app should show client id and secret.