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

Finished Nanoleaf Aurora for Hyperion

Discussion in 'Development' started by Ansel Zandegran, 4 February 2018.

  1. Ansel Zandegran

    Ansel Zandegran New Member

    Messages:
    2
    Hardware:
    RPi1/Zero, RPi2, +Arduino, +nodeMCU/ESP8266
    I have made aurora integration for Nanoleaf Aurora.. I know that development on the original hyperion is stopped in favour of new hyperion (hyperion-ng). I don't know whether an exception will be made.
    Here is the pull request any way https://github.com/hyperion-project/hyperion/pull/777

    Here is the config
    ```// DEVICE CONFIGURATION
    "device" :
    {
    "name" : "UDP",
    "type" : "aurora",
    "output" : "192.168.0.212",
    "key" : "QGitEGXKPpzndanzo1GwXgrdhxUTSuGq",
    "colorOrder" : "rgb"
    }
    ```

    Get auth key for your aurora using http://zandegran.com/aurora/

    Other options for Auth key:
    instructions in
    http://forum.nanoleaf.me/docs/openapi via Rest or
    https://github.com/software-2/nanoleaf

    PS: https://github.com/Danimal4326/hyperion/commit/d1ee432ba3e48749900cf0083278dbe1e65891ee If building on macOS
     
    Last edited: 7 November 2018
    • Like Like x 4
  2. DerPicknicker

    DerPicknicker New Member

    Messages:
    23
    Hardware:
    RPi1/Zero, RPi3, +Arduino, +nodeMCU/ESP8266
    Hey,

    Could you explaine If the nanoleaf Canvas is supported and Could you say Something about the Performance?
     
  3. soliver84

    soliver84 Member

    Messages:
    31
    Hardware:
    RPi3, 32/64bit, +PhilipsHue
    das ist cool, ich möchte das ausnutzen, wie funktioniert es?
     
  4. Lord-Grey

    Lord-Grey New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit
    Nanoleaf Canvas is supported by Hyperion.ng
     
  5. Anthrax

    Anthrax Member

    Messages:
    35
    Thanx to @Lord-Grey my Nanoleafs are working brilliantly!

    And speaking of performance - have a look for yourself:



    ;-)

    Gruß
    Anthrax
     
  6. milhouse

    milhouse New Member

    Messages:
    20
    Hardware:
    RPi3
    Can you provide just a bit more detail on getting the nanoleaf aurora to work with hyperion.ng? I compiled it and it seemed to be working correctly, but I didn't have nanoleaf in the list of device types. Is there a manual step to creating the device with the config text in the first post?

    Thanks-
    milhouse
     
  7. Anthrax

    Anthrax Member

    Messages:
    35
    Hi @milhouse,

    which version from what repo did you build? Nanoleaf/aurora has been in the device list for quite some time now - at leas for hyperion.ng.
    For the time being I was only able to run my Nanoleaf Canvas with Lord-Greys hyperion.ng fork:
    https://github.com/Lord-Grey/hyperion.ng

    This is due to the newer nanoleaf firmware which only supports an newer API than what was in the master hyperion.ng repo.

    ciao
    Anthrax

    PS: you will need to have the Nanoleafs set up and configured within your network first and than get yourself the ip adress and developer token like OP described.
     
    • Like Like x 1
  8. Lord-Grey

    Lord-Grey New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit
    Hi @milhouse

    you should find the nanoleaf-device as per picture below. The code currently supports Light-Panels (Aurora), as well as Canvas.
    The configuration steps are as @Anthrax outlined.

    Token is a must, IP-adress can be discoverd automatically, if left empty.
    Note: This is not always working, as Nanoleaf seems sometimes not to react on the SSDP-Discover request in time.

    In case you have Light-Panels (Aurora), and it is not working, you may want to update the firmware to the latest version.
    Nanoleaf did an update to the protocoll in June. FW 3.2.0 was tested with @Anthrax successfully.

    In case you get stuck, do not hestiate to share further details....

    upload_2019-11-9_12-12-11.png
     

    Attached Files:

  9. milhouse

    milhouse New Member

    Messages:
    20
    Hardware:
    RPi3
    Thanks, both. I've got everything set up correctly near as I can tell, but no luck turning on the lights so still stuck and wondering what the LED layout looks like.
    Version 1.0.0
    Build master (GitHub-b51e67a/5e55962-1568748826) Git Remote: https://github.com/hyperion-project/hyperion.ng.git
    Build date Oct 8 2019 19:26:46
    I know it's working because I can go to the Remote Control module and turn the Hue lights to a solid color, for example.

    I set up a second instance for my nanoleaf panels, everything looks peachy. Using the same API key I use in smartthings, so pretty sure the key is good. Firmware 3.2.0.

    upload_2019-11-10_20-18-20.png

    What I expected was that the LED Layout tab would at least have the right number of LEDs which would be an indicator that it was connecting and getting the LED list. But it shows 26 LEDs for some reason instead of 20.

    upload_2019-11-10_20-21-57.png

    What's your LED Layout look like? Any other ideas to troubleshoot?

    Thanks again-
    milhouse
     
  10. Lord-Grey

    Lord-Grey New Member

    Messages:
    7
    Hardware:
    RPi3, 32/64bit
    Hi @milhouse
    the current hyperion.ng master branch does not include the latest fix which ensures that Aurora FW 3.2.0 will work (due to the fact that nanoleaf changed the protocoll).
    You either need to wait until the PR has beend merged, or as an interim, you test with the code from my repository https://github.com/Lord-Grey/hyperion.ng.

    "What I expected was that the LED Layout tab would at least have the right number of LEDs which would be an indicator that it was connecting and getting the LED list."
    That is also my expectation, but hyperion does currently not get this automatically updated after a device resolved the number of Led.
    In case nanoleaf gets more Led configured than in place, it will not start the device. You should see this as an Error in the log.

    To circument this, I would suggest you define a number of Leds equal or less your physical ones and restart hyperion.ng.
    Then it shoudl work on the right codebase.

    In case of further problems, please switch "Debug" logs on and share your log file.
     
  11. milhouse

    milhouse New Member

    Messages:
    20
    Hardware:
    RPi3
    Excellent, thanks for your help. It looks like the PR is still being discussed, so I I might try compiling from your fork for now when I get some time. Unless the merge seems imminent. My German is a little weak, so it's hard to follow the discussion. :)