1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Falsche Anordnung nanoleaf

Discussion in 'Software Support' started by Lumumba76, 5 June 2020.

  1. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    133 is the canvas and 130 is the aurora
     
  2. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    Lets tackle both problem areas individually:

    1. For your canvas layout, you need to manually remove the leds from the 7X8 layout where your TV sits.

    More background on layouting you find here:
    https://docs.hyperion-project.org/en/user/advanced/Advanced.html#led-layout

    As it is Sunday, it prepared one for you as a bonus:

    Paste the following text into the "Generated/Current LED Configuration" section (i.e. replace the existing text)

    Code:
    [
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0.4286,
        "hmax": 0.5714,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0,
        "vmax": 0.125
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0.4286,
        "hmax": 0.5714,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.125,
        "vmax": 0.25
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0.4286,
        "hmax": 0.5714,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.25,
        "vmax": 0.375
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0.4286,
        "hmax": 0.5714,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.375,
        "vmax": 0.5
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.5,
        "vmax": 0.625
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.5,
        "vmax": 0.625
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.5,
        "vmax": 0.625
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.5,
        "vmax": 0.625
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.5,
        "vmax": 0.625
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.625,
        "vmax": 0.75
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.625,
        "vmax": 0.75
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.625,
        "vmax": 0.75
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.625,
        "vmax": 0.75
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.625,
        "vmax": 0.75
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0.4286,
        "hmax": 0.5714,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.75,
        "vmax": 0.875
      },
      {
        "hmin": 0,
        "hmax": 0.1429,
        "vmin": 0.875,
        "vmax": 1
      },
      {
        "hmin": 0.1429,
        "hmax": 0.2857,
        "vmin": 0.875,
        "vmax": 1
      },
      {
        "hmin": 0.2857,
        "hmax": 0.4286,
        "vmin": 0.875,
        "vmax": 1
      },
      {
        "hmin": 0.4286,
        "hmax": 0.5714,
        "vmin": 0.875,
        "vmax": 1
      },
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0.875,
        "vmax": 1
      },
      {
        "hmin": 0.7143,
        "hmax": 0.8571,
        "vmin": 0.875,
        "vmax": 1
      },
      {
        "hmin": 0.8571,
        "hmax": 1,
        "vmin": 0.875,
        "vmax": 1
      }
    ]
    Press "Update Preview" and you should see:

    upload_2020-8-30_10-0-37.png


    Next "Save Layout"

    It may be that the device is still not working (see 1b below).
    Please check the log for errors and report back.
     
    • Like Like x 1
  3. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    1b: I am still confused that you have 52 panels, while I report only 51.
    Do you have multiple controllers for extra power? I might miss to identify them correctly, as I only have a one controller setup-up.

    Could you execute the following command in your browser and share the response:

    http://192.168.68.133:16021/api/v1/JSgcKuW27Kbp7uRXEs6s5TmdYTP4PvCP/
     
  4. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    2. Aurora

    It looks like you configured the Light Panels (Aurora) via the LED Controller and saved settings.
    -> The LedDevice now fails, as you have less panels than the default layout configuration (this is the error you see in the log).

    Then you updated the LED Layout.
    This does not re-trigger that the device is started again (this is a known issue).

    Either Disable/Enable the device from "Remote Control" or best restart hyperion.
    After that your Aurora should be ok.
    Otherwise have a look a the logs again (or share the output, if you cannot resolve it yourself).
     
  5. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    Your are awesome! I will test this afternoon. It is actually 51 panels but I have 52, in your picture the 51st panel fell off so I need to reattach it. There are 3 controllers for power on that array.

    Ia amdoing this remote for a friend I am in Texas he is in California so I am going by the counts he gives me on the panels. He said there were 18 panels in the aurora but I did see it was reporting 26 so I tried to change it but I did not do restarts in between. I will double check the amount and report back.
     
  6. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    Here is the output of the link you sent
    Code:
    {"name":"Canvas 98C4","serialNo":"S19114C0427","manufacturer":"Nanoleaf","firmwareVersion":"1.6.2","hardwareVersion":"2.0-4","model":"NL29","cloudHash":{},"discovery":{},"effects":{"effectsList":["Alien Sky","Bedtime","Carnival","Checkers","Chill Vibes Bedroom","Color Burst","Deep Abyss","Falling Whites","Fireworks and Firecrackers","Flowing Purple","Inner Peace","Lakers","Northern Lights","Paint Splatter","Pat Cho Weave","Pulse Pop Beats","Radial Sound Bar","Relaxing colors","Rhythmic Northern Lights","Romantic","Sound Bar","Splashing Water","Streaking Notes","Summer vibes","ck7845moon"],"select":"*Dynamic*"},"firmwareUpgrade":{},"panelLayout":{"globalOrientation":{"value":0,"max":360,"min":0},"layout":{"numPanels":51,"sideLength":100,"positionData":[{"panelId":46755,"x":300,"y":300,"o":0,"shapeType":3},{"panelId":64596,"x":200,"y":300,"o":270,"shapeType":2},{"panelId":11678,"x":200,"y":200,"o":540,"shapeType":2},{"panelId":8099,"x":200,"y":100,"o":630,"shapeType":2},{"panelId":13248,"x":100,"y":100,"o":720,"shapeType":2},{"panelId":45790,"x":100,"y":0,"o":720,"shapeType":4},{"panelId":18236,"x":200,"y":0,"o":990,"shapeType":2},{"panelId":40516,"x":300,"y":0,"o":1080,"shapeType":2},{"panelId":16844,"x":400,"y":0,"o":1080,"shapeType":2},{"panelId":11582,"x":400,"y":100,"o":1170,"shapeType":2},{"panelId":17016,"x":400,"y":200,"o":1440,"shapeType":2},{"panelId":20377,"x":400,"y":300,"o":1530,"shapeType":2},{"panelId":62761,"x":400,"y":400,"o":1800,"shapeType":2},{"panelId":57026,"x":400,"y":500,"o":1800,"shapeType":2},{"panelId":45651,"x":400,"y":600,"o":1890,"shapeType":2},{"panelId":62967,"x":400,"y":700,"o":1890,"shapeType":2},{"panelId":2913,"x":500,"y":400,"o":2070,"shapeType":2},{"panelId":24250,"x":500,"y":500,"o":2340,"shapeType":2},{"panelId":45191,"x":500,"y":600,"o":2430,"shapeType":2},{"panelId":8447,"x":500,"y":700,"o":2430,"shapeType":2},{"panelId":17949,"x":500,"y":0,"o":1080,"shapeType":2},{"panelId":15336,"x":600,"y":0,"o":1080,"shapeType":2},{"panelId":25563,"x":600,"y":100,"o":1080,"shapeType":2},{"panelId":18012,"x":600,"y":200,"o":1170,"shapeType":2},{"panelId":7992,"x":600,"y":300,"o":1170,"shapeType":2},{"panelId":9046,"x":600,"y":400,"o":1440,"shapeType":2},{"panelId":52301,"x":600,"y":500,"o":1530,"shapeType":2},{"panelId":35887,"x":600,"y":600,"o":1530,"shapeType":2},{"panelId":15147,"x":600,"y":700,"o":1800,"shapeType":2},{"panelId":3898,"x":0,"y":0,"o":720,"shapeType":2},{"panelId":11236,"x":0,"y":100,"o":720,"shapeType":4},{"panelId":28803,"x":0,"y":200,"o":720,"shapeType":2},{"panelId":42970,"x":0,"y":300,"o":720,"shapeType":2},{"panelId":30896,"x":0,"y":400,"o":810,"shapeType":2},{"panelId":4353,"x":0,"y":500,"o":1080,"shapeType":2},{"panelId":56743,"x":0,"y":600,"o":1170,"shapeType":2},{"panelId":42039,"x":0,"y":700,"o":1440,"shapeType":2},{"panelId":60525,"x":100,"y":200,"o":720,"shapeType":2},{"panelId":50612,"x":100,"y":300,"o":810,"shapeType":2},{"panelId":55453,"x":100,"y":400,"o":810,"shapeType":2},{"panelId":46443,"x":100,"y":500,"o":810,"shapeType":2},{"panelId":45690,"x":100,"y":600,"o":810,"shapeType":2},{"panelId":13242,"x":100,"y":700,"o":1080,"shapeType":2},{"panelId":52028,"x":200,"y":400,"o":270,"shapeType":2},{"panelId":41259,"x":200,"y":500,"o":270,"shapeType":2},{"panelId":456,"x":200,"y":600,"o":270,"shapeType":2},{"panelId":39921,"x":200,"y":700,"o":270,"shapeType":2},{"panelId":21083,"x":300,"y":400,"o":90,"shapeType":2},{"panelId":1896,"x":300,"y":500,"o":360,"shapeType":2},{"panelId":11119,"x":300,"y":600,"o":450,"shapeType":2},{"panelId":48998,"x":300,"y":700,"o":720,"shapeType":2}]}},"schedules":{},"state":{"brightness":{"value":47,"max":100,"min":0},"colorMode":"effect","ct":{"value":5000,"max":6500,"min":1200},"hue":{"value":0,"max":360,"min":0},"on":{"value":true},"sat":{"value":0,"max":100,"min":0}}}
     
    Last edited by a moderator: 30 August 2020
  7. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    No need to reattach it.
    Please consider that the counting starts at 0 (not 1). Therefore the last Panelnumber is 51 (not 52) on the visual.

    -> the configuration covers 52 panels already.
     
    Last edited: 30 August 2020
  8. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    You friend is right, the aurora has 18 panels. This is also shown in the log:
    Code:
    (LedDeviceNanoleaf.cpp:305:initLedsConfiguration()) PanelLedCount : 18
    The 26 Led number comes from the layout. This is why I said, fix the layout and then restart.
    The Number on LEDs configured via the layout must be <= the physical number of panels.
     
  9. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    I did input 18, I did a matrix of 9 horizontal and 2 vertical.
     
  10. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    Yes, then it should work after restart, as outlined above.
     
  11. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    Could you please recheck the number of canvas panels, please?

    The nanoleaf device itself reports that it has 51 panels not 52.
    Code:
          "layout":{
    
             "numPanels":51,
             "sideLength":100,
             "positionData":[
    How many does the Nanoleaf app see?
     
  12. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    Ok I will report back later when I can get in contact with him. Thank you again for your help.
     
  13. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    That's what I was trying to explain the last one on the wall starting from 0 fell off it needs to be reattached. Panel 51, there are 52 panels but the last one fell off the wall and is not connected.
     
  14. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    Ah ok. Sorry, I did not got it at once...

    Then just remove the last entry from the list and then you should be ok.
    Code:
      {
        "hmin": 0.5714,
        "hmax": 0.7143,
        "vmin": 0,
        "vmax": 0.125
      },
     
  15. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    So I talked to him and found out the layout is actually 51 total panels he has a 52nd but is not using it as it doesnt fit in the square design.

    I tired editing your file to match his layout but I couldnt get it right it seems some of the leds you typed up might be out of order. His actual layout is like this:

    upload_2020-8-30_12-55-31.png

    with the blacks being the missing ones, I was able to delete 47 and 40 but when I tried to delete 33 it actually deleted 30 so I am not sure I understand how it is laid out. do you use some generator for this or is there a calculation I just cant wrap my head around how you got all those decimals lined up so well :)
     

    Attached Files:

  16. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    The auroras did start working after a reboot although the effects dont display like they do on the canvases not sure if thats just how its supposed to be though.
     
  17. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    Hey,

    just configure a 7x8 Matrix.

    In the "Generated/Current LED Configuration" textbox you see the values.
    Copy those values in a text editor.
    Remove the entries for the black-boxes (i.e. item # 31,33,38,49,47).
    Copy the updated layout and paste it into the "Generated/Current LED Configuration" textbox
    Press the "Update Preview" button
    You should see the updated layout on the right
    Save Layout

    Note:You need to do all changes at once. This is why I suggest editing in a text editor.
     
    • Like Like x 1
  18. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    this makes perfect sense...
     
  19. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    204
    Hardware:
    RPi3, 32/64bit
    Sorry, this explanation is a bit vague....
    Key is that the layout matches your physical layout. Otherwise you might see panel lighting at different positions.

    You might want to use the Led Visualization preview, to verify your setup
    Here is a sample of my Canvas layout. Plus running the "Rainbow swirl" effect

    upload_2020-8-30_20-18-56.png
     
    • Like Like x 1
  20. jes1417

    jes1417 New Member

    Messages:
    25
    Hardware:
    RPi3, 32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    got the canvas layout working its the auroras that light up weirdly

    upload_2020-8-30_13-25-58.png
     
    • Like Like x 1