Binding Request: Nanoleaf Aurora (LED Design Triangle)

I am just getting error and not pannel IDs in log. Am I doing something wrong? First it was just empy and now this error.
Also keep saiing “ColorTemp changed from 1200 to 0.00000000” but no color change at this time …

2020-03-11 21:25:51.882 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

==> /var/log/openhab2/events.log <==

2020-03-11 21:25:51.886 [vent.ItemStateChangedEvent] - TRoomNanoleaf**ColorTemp changed from 0.00000000 to 1200**

2020-03-11 21:25:51.894 [vent.ItemStateChangedEvent] - TRoomNanoleaf**ColorTemp changed from 1200 to 0.00000000**

==> /var/log/openhab2/openhab.log <==

2020-03-11 21:25:51.900 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : **OpenAPI request did not get any result back**

==> /var/log/openhab2/events.log <==

2020-03-11 21:25:51.907 [me.event.ThingUpdatedEvent] - Thing 'nanoleaf:controller:troomLightpanels12' has been updated.

==> /var/log/openhab2/openhab.log <==

2020-03-11 21:25:51.914 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.927 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.940 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.949 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.957 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.965 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.973 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.983 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.990 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:51.998 [WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

2020-03-11 21:25:52.000 [INFO ] [al.handler.NanoleafControllerHandler] - Panel layout and ids for controller nanoleaf:controller:troomLightpanels12

First of all, these are warnings, not errors. I am actually thinking to remove those logs by decreasing the log level to debug eventually…

The warning means that in case you are trying to set a color the nanoleaf wants to have a static color switched on before allowing to do that which doesn’t necessarily is an issue unless color setting via a panelColor or color channel doesn’t work.

So

  • which version of the bundle are you using?
  • Do you have squares or triangles?
  • Do you experience any problem? Does anything NOT work for you?

Stefan

-binding-nanoleaf - 2.5.2 - i upgraded Openhab like 3 weeks ago and use included version
-Triangles, FW 3.3.3
-controller stop responding when no access to internet (works when i allow connections to internet) so i had to reset it but now all works again. Also twice changed API key without touching anything, that was wird. So just that logs is there and not showing IDs …

yes maybe is not necessary show IDs every minute in log.

True is now triangles show Effect mode

So you are not having issues but only show that you noticed that in the log?

That rather looks like a networking issue. The binding itself doesn’t require internet but the nanoleaf may do.

Yes. I was expecting see IDs as described in docu and i see only this messages.
Yes I agree, problems with controller are not priblems with your binding.

U have idea why it can not connect to api and get IDs, but at same time can control triangles - on/off, colors, scenes over binging (trinagles api)?

I haven’t implemented to show the id layout for triangles because they can be structured in a way on the wall that I have no idea how I should show them in the log. So this is only shown for the squares. This actually mentioned in the Readme but maybe not clear enough

Don’t worry: the binding comes with some helpful support in the background (this works only well for the canvas device!)

I have now rewritten that part to make it more clear.

Oh ok, so sorry for post and thank you for detailed info. Tomas

Hi all, the touch feature of the binding (V 2.5.2) isn’t working for me on my openhabian system (Nanoleaf Canvas FW 1.6.2).

[WARN ] [nternal.handler.NanoleafPanelHandler] - Panel data could not be retrieved as no data was returned (static type missing?) : OpenAPI request did not get any result back

Does anyone experience the same?

Yes, you should be at least on 2.5.4. I had encountered a few issues which I had to fix eventually and released them over 2.5.3 and 2.5.4.

(I am on firmware 1.6.2 as well)

Hope that helps
Stefan

For me, the “Thing ‘nanoleaf:controller:XXXXXXXXXX’ has been updated.” message among other related messages setting the state and color shows up over and over every ~10ms or so, clogging up the whole system and eventually not working. The update interval is set to 60 seconds and the pairing happened successfully as well. Not sure what’s going on, my thought is that the 60-second interval is not being honored, or the controller is getting connected/updated constantly over and over again. I don’t see it going offline or anything in between the messages, though. I’ve pasted only a small portion of the logs below, but this happens every few milliseconds as you can see.

2020-12-12 12:08:15.053 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:XXXXXXXXXXXX’ has been updated.

2020-12-12 12:08:15.067 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:XXXXXXXXXXXX’ has been updated.

2020-12-12 12:08:15.074 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_effect changed from NULL to Solid

2020-12-12 12:08:15.076 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_color changed from NULL to 26,35,100

2020-12-12 12:08:15.079 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_power changed from NULL to ON

2020-12-12 12:08:15.090 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:XXXXXXXXXXXX’ has been updated.

2020-12-12 12:08:15.099 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_power changed from NULL to ON

2020-12-12 12:08:15.102 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_effect changed from NULL to Solid

2020-12-12 12:08:15.104 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_color changed from NULL to 26,35,100

2020-12-12 12:08:15.121 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:XXXXXXXXXXXX’ has been updated.

2020-12-12 12:08:15.128 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_effect changed from NULL to Solid

2020-12-12 12:08:15.130 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_color changed from NULL to 26,35,100

2020-12-12 12:08:15.138 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:XXXXXXXXXXXX’ has been updated.

2020-12-12 12:08:15.142 [vent.ItemStateChangedEvent] - nanoleaf_controller_XXXXXXXXXXXX_effect changed from NULL to Solid

I checked it quickly on my side and from what I see it is at least not a general issue as it is only coming up every other minute.

I haven’t touched / looked at the code for quite some time, so from the top of my head I don’t know what could be the reason. As I am currently under quite some workload, it might take some time before I can come back to you…

What is weird that it says that effect is changed from NULL to solid and power from null to on over and over again.

Can you go to Configuration → Bindings → Nanoleaf Binding and see if it says something like “(v150320)” to tell me the version you are running?

cheers
Stefan

Thanks for your reply.

v150320; installed from within the paper UI.

It is as if the controller thing is being “updated” over and over again, causing it to ask for the state each time (so it goes from NULL to [state] each time).

As I mentioned I would say that the log isn’t coming from the binding but rather from openhab.

… but we could try out raising the log level to debug or even trace on the binding which might give us a hint around the logs you see (be sure to switch it off quickly because it provides quite a lot of information).

Also:

  • How did you add the nanoleaf controller? by autodiscovery or via a thing file?
  • What exactly type of nanoleaf device do you have? (nanoleaf has lately started to sell new devices which I don’t have and may behave differently)

Apologies for late response.

I fixed it by adding it manually (via files) as a thing first, then installing the binding. It seems that in my case the issue occurs when installing the binding first. All good on that front now.

Currently, I see the following in the log every refreshInterval:
[me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:MyLightPanels’ has been updated.

Not sure why the thing itself gets updated every refresh interval, rather than updating only the state. Not a huge deal apart from filling up the log every minute, but I don’t know if there are any other side effects.

Thanks for your reply - I get only updates for the controller so often (note there are two different in the list).

2021-01-05 23:04:42.924 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:D81E7A7E4XXX’ has been updated.
2021-01-05 23:05:06.035 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:F0EXXX9351AF’ has been updated.
2021-01-05 23:05:43.098 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:D81E7A7E424E’ has been updated.
2021-01-05 23:06:06.296 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:F0ED4F9351AF’ has been updated.
2021-01-05 23:06:43.299 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:D81E7A7E424E’ has been updated.
2021-01-05 23:07:06.485 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:F0ED4F9351AF’ has been updated.
2021-01-05 23:07:43.495 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:D81E7A7E424E’ has been updated.
2021-01-05 23:08:06.733 [me.event.ThingUpdatedEvent] - Thing ‘nanoleaf:controller:F0ED4F9351AF’ has been updated.