Nanoleaf Aurora API Key

Does anyone have the Nanoleaf Aurora component working in hassio?
I can’t find a place describing how to get the API key from my panel. Can someone guide me?

Cheers!

1 Like

Eventually got it thanks to this german site: https://www.technikkram.net/2017/05/nanoleaf-aurora-via-api-zugriff-per-homematic-steuern

3 Likes

Thanks for the link! Appreciate it. Helped me to get my API Key :slight_smile:

np! Glad I could save you the time finding it… :wink:

1 Like

how did you get this working in hassio?

Yeah so, I didn’t…
But got it working with IFTTT and you need the API key for that…

I got the key fine. But I’m getting an error when ha boots that mentions make sure all dependencies are installed. Am I missing something? I put the aurora.py in custome comepenets light

2017-12-14 22:33:30 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.light.aurora. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/loader.py", line 142, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/light/aurora.py", line 1, in <module>
    from nanoleaf import Aurora
ModuleNotFoundError: No module named 'nanoleaf'
2017-12-14 22:33:30 ERROR (MainThread) [homeassistant.loader] Unable to find component light.aurora

I got it. I insalled nanoleaf inside docker and it showed up

@Darbos that’s great! :+1:

Thanks! This thing is sweet. Have you found a way to sync hue lights with it?

Nope. As said before I use IFTTT to control it and a script to change the scenes occasionally. So I just turn it on or off depending on my computer as trigger and time as condition…
Also, I don’t own Phillips Hue lights…

Thanks for the link, the python stuff wasn’t working out for me!