planetk / homebridge-netatmo

This is a homebridge plugin for several netatmo devices
Apache License 2.0
108 stars 24 forks source link

Problem with netatmo Plugin in Docker #51

Open toedtling opened 7 years ago

toedtling commented 7 years ago

Hello

Im new here to hombridge. Im try tu use Docker Image with the netamo plugin. Can somone Check my Configuration files?

`

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:33:11:EE:77",
        "port": 51825,
        "pin": "012-34-567"
    },

  "platforms": [
        {
      "platform": "netatmo",
      "deviceTypes": ["weatherstation"],
      "name": "netatmo platform",
      "ttl": 5,
      "auth": {
      "client_id": "5904b6c1ea00a0396a8b56d9",
      "client_secret": "gmNqcsoA49XIY330ZoUmFvoM0WXKXDLfNfypcXymXJZSU",
      "username": "xxx@gmail.com",
      "password": "yyy"
  }

    }

],

    "accessories": [

        {
            "accessory": "Synology",
            "name": "Diskstation",
            "ip": "192.168.178.26",
            "mac": "00:11:32:61:0B:F5",
            "port": "5000",
            "secure": false,
            "account": "admin",
            "password": "passwort",
            "version": 6
        },
    {
        "accessory": "Computer",
        "name": "Yoga3Pro",
        "mac": "10:08:B1:E5:B1:A5",
        "ip": "192.168.178.15"
      }

    ]
}

The Docker Image Stops with inserting the following code in the Config file. Jsonlint says me that the formatting is valid. Without it works

`{
      "platform": "netatmo",
      "deviceTypes": ["weatherstation"],
      "name": "netatmo platform",
      "ttl": 5,
      "auth": {
      "client_id": "5904b6c1ea00a0396a8b56d9",
      "client_secret": "gmNqcsoA49XIY330ZoUmFvoM0WXKXDLfNfypcXymXJZSU",
      "username": "xxx@gmail.com",
      "password": "yyy"
  }

    }
`

I hope someone can help me

Thanks Martin