fbeek / pimatic-dwd

Pimatic Plugin for displaying data from "Deutscher Wetter Dienst"
GNU General Public License v2.0
2 stars 0 forks source link

Client error: Uncaught TypeError: Unable to process binding #3

Open thost96 opened 6 years ago

thost96 commented 6 years ago

Hi, if i add a DwdInfoDisplayDevice to the mobile frontend page i get the following error and the gui hangs up:

Client error: Uncaught TypeError: Unable to process binding "if: function (){return !$root.isGroupCollapsed($data,{id:'$ungrouped'}) }"
Message: Unable to process binding "template: function (){return { name:$root.getItemTemplate,foreach:$data.getUngroupedDevices(),afterRender:$data.afterRenderDevice} }"
Message: Unable to process binding "if: function (){return jsonDataWarnings().length == 0 }"
Message: Cannot read property 'length' of undefined
fbeek commented 6 years ago

Hi, can you send me your plugin config? Have you used a correct zone Code?

thost96 commented 6 years ago

Hi, sorry for my late response. Here is my config:

 {
      "zone": "103252000",
      "echo": {
        "additionalNames": []
      },
      "id": "dwd-test",
      "name": "DWD Test",
      "class": "DwdInfoDisplayDevice"
    }

I copied the zone id from the plugin readme.