Samantha-uk / one

One - A monorepo. Home of Zigzag.
17 stars 17 forks source link

I'm only seeing XYZ coordinates #1

Closed gieljnssns closed 3 years ago

gieljnssns commented 3 years ago

Describe the bug A clear and concise description of what the bug is. I'm only seeing a white background with XYZ coordinates

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen. I wanted to see my zha network Screenshots If applicable, add screenshots to help explain your problem.

Schermafbeelding 2021-01-05 om 07 48 26

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here. Config: custom_panel.yaml

  - name: custom-panel-zigzag
    sidebar_title: Zigzag
    sidebar_icon: mdi:zigbee
    url_path: zigzag
    module_url: /local/zigzag/zigzag-panel.esm.js
    trust_external_script: true
    config:
      who: world

      zigzag:
        plugin-path: "/local/zigzag/plugins"
        plugin-data:
          type: "file"
          filepath: "/local/zigzag/devices.json"

        plugin-layout:
          type: "d3"

        plugin-render:
          type: "three"

www map: Schermafbeelding 2021-01-05 om 07 58 24

Console errors:

Schermafbeelding 2021-01-05 om 07 54 13

  | fetchData | @ | plugin-data-file.ts:43
-- | -- | -- | --
  | start | @ | zigzag-wc.esm.js:10121
  | _startGrapher | @ | zigzag-wc.esm.js:11114
  | firstUpdated | @ | zigzag-wc.esm.js:11069
  | async function (async) |   |  
  | firstUpdated | @ | zigzag-wc.esm.js:11068
  | firstUpdated | @ | zigzag-panel.ts:38
  | async function (async) |   |  
  | firstUpdated | @ | zigzag-panel.ts:13
  | performUpdate | @ | zigzag-wc.esm.js:2168
  | _enqueueUpdate | @ | zigzag-wc.esm.js:2104
  | async function (async) |   |  
  | _enqueueUpdate | @ | zigzag-wc.esm.js:2098
  | requestUpdateInternal | @ | zigzag-wc.esm.js:2070
  | initialize | @ | zigzag-wc.esm.js:1922
  | initialize | @ | zigzag-wc.esm.js:2629
  | UpdatingElement | @ | zigzag-wc.esm.js:1686
  | LitElement | @ | zigzag-wc.esm.js:2561
  | ZigzagWC | @ | zigzag-wc.esm.js:11052
  | ZigzagPanel | @ | lit-element.js:67
  | (anonymous) | @ | chunk.fd676b7….js:1
  | (anonymous) | @ | chunk.fd676b7….js:1
  | Promise.then (async) |   |  
  | value | @ | chunk.fd676b7….js:1
  | value | @ | chunk.fd676b7….js:1
  | performUpdate | @ | app.e45b0549.js:10297
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | async function (async) |   |  
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | requestUpdateInternal | @ | app.e45b0549.js:10297
  | set | @ | app.e45b0549.js:10297
  | value | @ | app.e45b0549.js:43637
  | value | @ | app.e45b0549.js:39363
  | performUpdate | @ | app.e45b0549.js:10297
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | async function (async) |   |  
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | requestUpdateInternal | @ | app.e45b0549.js:10297
  | set | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | update | @ | app.e45b0549.js:10297
  | __commitTemplateResult | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | a | @ | app.e45b0549.js:10297
  | H.render | @ | app.e45b0549.js:10297
  | update | @ | app.e45b0549.js:10297
  | performUpdate | @ | app.e45b0549.js:10297
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | async function (async) |   |  
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | requestUpdateInternal | @ | app.e45b0549.js:10297
  | set | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | update | @ | app.e45b0549.js:10297
  | __commitTemplateResult | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | update | @ | app.e45b0549.js:10297
  | __commitTemplateResult | @ | app.e45b0549.js:10297
  | commit | @ | app.e45b0549.js:10297
  | a | @ | app.e45b0549.js:10297
  | H.render | @ | app.e45b0549.js:10297
  | update | @ | app.e45b0549.js:10297
  | performUpdate | @ | app.e45b0549.js:10297
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | async function (async) |   |  
  | _enqueueUpdate | @ | app.e45b0549.js:10297
  | requestUpdateInternal | @ | app.e45b0549.js:10297
  | set | @ | app.e45b0549.js:10297
  | value | @ | app.e45b0549.js:41607
  | (anonymous) | @ | app.e45b0549.js:41607
  | s | @ | core.87e3602e.js:1
  | (anonymous) | @ | core.87e3602e.js:1
  | Promise.then (async) |   |  
  | i | @ | core.87e3602e.js:1
  | d | @ | core.87e3602e.js:1
  | (anonymous) | @ | core.87e3602e.js:1
  | fireEvent | @ | core.87e3602e.js:1
  | setSocket | @ | core.87e3602e.js:1
  | (anonymous) | @ | core.87e3602e.js:1
  | async function (async) |   |  
  | (anonymous) | @ | core.87e3602e.js:1
  | setTimeout (async) |   |  
  | n | @ | core.87e3602e.js:1
  | _handleClose | @ | core.87e3602e.js:1
  | async function (async) |   |  
  | _handleClose | @ | core.87e3602e.js:1
  | (anonymous) | @ | core.87e3602e.js:1
LEJOUI commented 3 years ago

try:

zigzag:
plugin-path: "/local/zigzag/plugins"
plugin-data:
  type: "zha"
gieljnssns commented 3 years ago

Thanks, that did the trick....