[nanoleaf] Nanoleaf Aurora binding (just started development, collecting requirements)

My inner child wants shiny new things, my inner child obtains veeeeery shiny new things. And now, my inner child is sad that his shiny new Nanoleaf starter set cannot easily be controlled via openHAB.

So I set out to write a new binding. I think it will take me another week to produce something useful, then I would add links to this post here.

In the meantime, I would like to collect user requirements here. The ideas I came up while developing are:

  • Switch panels on / off
  • change effects (maybe by setting the value of a channel to the effect name?)
  • Load panel configuration from the controller

I would be most happy if you guys who already are using the Nanoleafs for longer than me would chime in with ideas. Also, if someone has more than the 9 starter panels, or even already the square panels, Iā€™d love to hear from you guysā€¦

2 Likes

empty placeholder post to add download links and so onā€¦

Hello !

Iā€™ve got a setup with 18 panels at the moment.
Main feature request are Switch ON/OFF, Change effects and dim brightness panel.
Maybe a Color Channel to set the whole panel color.

I will be happy to help if I can !

Oh, nice. Iā€™d love to see the ā€œcontrollerInfoā€ call output from your setup. Can you run a curl call or use postman? If so, could you send me (via PM) the output of:

curl --location --request GET "http://192.168.x.x:16021/api/v1/...your-token-here..."

You might want to replace the ā€œserialNoā€ attribute with some dummy text if you want :smile:

I bought two starter packs and combined most of the panels under one controller. Still looking for a use for the remaining panels and controller.

The only features I can see myself using would be

  • On/Off
  • Adjust Brightness
  • Adjust color
  • Change the preset/ effect
1 Like

I have a set still in the boxā€¦canā€™t wait to see what happens here.

I own a combo of one starter pack and one extension pack of three panels, for a total of 12 triangles. Currently a rule turns them on at a given time (cron-style rule) or by beginning of dawn (defined by astro binding). So my current usage is quite limited. The features I can see myself using would be

  • On/Off
  • Adjust Brightness
  • Adjust color
  • Select predefined presets
  • Change the preset/ effect

Hope that helps.
Greetings Kai

Sorry for the delay, this is the command output :

{"name":"Nanoleaf Light Panels 52:4e:92","serialNo":"#######","manufacturer":"Nanoleaf","firmwareVersion":"3.0.5","model":"NL22","state":{"on":{"value":false},"brightness":{"value":64,"max":100,"min":0},"hue":{"value":40,"max":360,"min":0},"sat":{"value":36,"max":100,"min":0},"ct":{"value":4000,"max":6500,"min":1200},"colorMode":"effects"},"effects":{"select":"Ocean","effectsList":["Color Burst","Flames","Forest","France Fifa","Inner Peace","Juicey Juice","Mint","Nemo","Northern Lights","Ocean","Pride Rainbow","Rain","Romantic","Snowfall","Triluminox Energy Crystal","Vibrant Sunrise","Vintage Modern","moonlight"]},"panelLayout":{"layout":{"numPanels":18,"sideLength":150,"positionData":[{"panelId":94,"x":74,"y":303,"o":300},{"panelId":207,"x":-224,"y":562,"o":60},{"panelId":87,"x":74,"y":562,"o":300},{"panelId":85,"x":0,"y":433,"o":180},{"panelId":53,"x":0,"y":519,"o":120},{"panelId":51,"x":149,"y":519,"o":120},{"panelId":167,"x":-149,"y":519,"o":0},{"panelId":114,"x":-74,"y":562,"o":60},{"panelId":183,"x":74,"y":389,"o":0},{"panelId":45,"x":0,"y":259,"o":120},{"panelId":34,"x":0,"y":173,"o":180},{"panelId":24,"x":-74,"y":129,"o":120},{"panelId":39,"x":-74,"y":43,"o":180},{"panelId":130,"x":74,"y":649,"o":240},{"panelId":1,"x":149,"y":692,"o":300},{"panelId":171,"x":-224,"y":649,"o":240},{"panelId":153,"x":149,"y":779,"o":240},{"panelId":122,"x":224,"y":822,"o":60}]},"globalOrientation":{"value":0,"max":360,"min":0}},"rhythm":{"rhythmConnected":false,"rhythmActive":null,"rhythmId":null,"hardwareVersion":null,"firmwareVersion":null,"auxAvailable":null,"rhythmMode":null,"rhythmPos":null}}

Best regards

I am interested in this binding as I intend to integrate nanoleaf canvas in my new home.
One very nice feature (if feasible) would be to trigger other actions when touching one of the canvas panels, as they are touch sensitive.
It would be great to use them as ā€žbuttonsā€œ maybe even dependent on the color they actually show acting as different virtual switches.

So lets say in the entrance area of my home some of the panels are used to e.g.

a) activate alarm system (changing color when alarm system activates or blinking during armament)
b) emergency button (if you are threatened at the door) when touched, triggering a pre-alert warning
c) checkout of inhabitants (each kid has its own panel to press when leaving home/coming home)

That would allow so many things if the API provides such kind of functionality.

What do you think?

BR

Uwe

Youā€™ve got some great ideas thereā€¦

Almost enough to get me to buy some canvas panelsā€¦

But not quite enough to convince me to get the kids to go with themā€¦

Training the kids will be the hard part (however if there is benefit for them when they check out/check in they might be supportive :wink:

I signed in to the dev forum of nanoleaf and found out that the API indeed supports to receive event notifications (per panel) for one tap or double tap. So in principle my idea should work with openHAB even without a binding but having this all available in a binding would be superb and the price of the panels now becoming also switches seems then ok to me.

Also for disabled or elder people I guess that illuminared/colored panels providing visible information/feedback and easy touch actions would be helpful.

1 Like

That is actually a great idea. I have to keep that in mind for my grandmother.

I canā€™t thank you enough! It works flawlessly! I love it!
Improvemts:

  • strange behaviour when setting a colour with Colorpicker in sitemap
  • just installed it. maybe Iā€™ll add things later but currently I am happy af!

Thanks!

Thank you Felix for your feedback! Please note that the most current version of the binding can be found here. Curious to see if you still see the strange behaviour with the Colorpicker with this version.

I have also a development version which fixes a bug when there is no Rhythm module connected to the Nanoleaf Light Panels, and adds experimental support for the Nanoleaf Canvas device.

Still waiting for @terriblefox (Binding Request: Nanoleaf Aurora (LED Design Triangle) to test it with his device ;-), to prepare a new pull request.

1 Like

Hey there=)

I just spent some more time with the binding and I love it!

This doesnā€™t happen anymore. I think it was just glitched once. works perfectly on pc and mobile.

It works flawlessly on my Nanoleaf Aurora, I canā€™t think of any improvements^^
Great work there!:heart_eyes:

Thank you for developing this!

I just installed the 2.5.0-SNAPSHOT jar and basic control works right out of the box. The addon site mentions that I can also add the single panels as things via auto discovery once the auth token was entered. Iā€™d love to do that, since I want to use a few selected panels for notifications :slight_smile:

However when I hit discovery, no panels are found. I could probably enter them manually, but how do I get the ids?

Iā€™m on openhab 2.4 stable

PS: Iā€™m also confused ā€¦ why is the power button a drop down box in paper ui->control? Usually they are those little left-right flip switches. The thing looks the same as my other power switches.

This would be so coolšŸ˜

I can control it with homebridge just fine. But Iā€™d love to have it in openhab for the more advanced stuff. Think a weather forecast in the morning with the next days or ours color coded on the panels :slight_smile:

Hi Daniel,

with a successfully paired controller, the individual panels should be correctly discovered by starting another scan for the Nanoleaf binding.

If this does not work for you, can you check your openhab log file for any error messages? You may also want to set the log level to INFO with

log:set DEBUG org.openhab.binding.nanoleaf

to see more details.

Thanks and regards
Martin