raepple / nanoleaf-binding

openHAB binding for the Nanoleaf Light Panels
4 stars 0 forks source link

Control reacts just once #1

Closed stevegroom closed 1 year ago

stevegroom commented 5 years ago

After a reboot of OH2, the Nanoleaf binding reacts just once. All other attempts show a 'predicted' entry in the OH2 log

2019-02-23 09:22:21.608 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Power' received command ON
2019-02-23 09:22:21.618 [nt.ItemStatePredictedEvent] - Aurora5054E1_Power predicted to become OFF
2019-02-23 09:22:22.530 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Power' received command ON
2019-02-23 09:22:22.541 [nt.ItemStatePredictedEvent] - Aurora5054E1_Power predicted to become OFF
2019-02-23 09:22:25.730 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Color' received command 169,2,75
2019-02-23 09:22:25.743 [nt.ItemStatePredictedEvent] - Aurora5054E1_Color predicted to become 13,100,26

This is on a R Pi 3B+ running the latest OS2 unstable release. The Nanoleaf jar file was added to the bindings and the discovery and pairing worked without any issue.

Steve Groom

raepple commented 5 years ago

Hi Steve, which branch did you use? The most up-to-date branch is bridge, which is in sync with the code on the pull request.

For further testing, I'd suggest using the latest JAR from here.

To properly uninstall the old version and install the new version, I'd suggest the following steps:

For further information, please see the README file.

stevegroom commented 5 years ago

Hello Martin, I was using Raspbian openHAB 2.5.0\~S1525-1 (Build #1525) now updated to openHAB 2.5.0\~S1535-1 (Build #1535)

I then followed the above steps. This time the control is updating the nanoleaf panel and reacting right away. :-)

2019-02-25 20:45:01.774 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Color' received command 240,100,95
2019-02-25 20:45:01.781 [nt.ItemStatePredictedEvent] - Aurora5054E1_Color predicted to become 240,100,95
2019-02-25 20:45:01.793 [vent.ItemStateChangedEvent] - Aurora5054E1_Color changed from 333,100,95 to 240,100,95
2019-02-25 20:45:02.230 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Color' received command 240,100,95
2019-02-25 20:45:02.233 [nt.ItemStatePredictedEvent] - Aurora5054E1_Color predicted to become 240,100,95
2019-02-25 20:45:04.424 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Power' received command OFF
2019-02-25 20:45:04.437 [nt.ItemStatePredictedEvent] - Aurora5054E1_Power predicted to become OFF
2019-02-25 20:45:04.447 [vent.ItemStateChangedEvent] - Aurora5054E1_Power changed from ON to OFF
2019-02-25 20:45:06.470 [ome.event.ItemCommandEvent] - Item 'Aurora5054E1_Power' received command ON
2019-02-25 20:45:06.473 [nt.ItemStatePredictedEvent] - Aurora5054E1_Power predicted to become ON
2019-02-25 20:45:06.478 [vent.ItemStateChangedEvent] - Aurora5054E1_Power changed from OFF to ON
2019-02-25 20:45:14.123 [vent.ItemStateChangedEvent] - Aurora5054E1_Effect changed from *Solid* to *Dynamic*
2019-02-25 20:45:14.148 [vent.ItemStateChangedEvent] - Aurora5054E1_ColorMode changed from hs to effects

Thank you, I'll start testing over the next few days.

regards Steve

p.s. SAP Cloud Platform?

raepple commented 5 years ago

Hi Steve,

great - thanks for supporting with further tests.

And yes, SAP Cloud Platform ;-) Nestle, right? It's a small world!

Best regards Martin

stevegroom commented 5 years ago

Yes Nestlé :-)

stefan-hoehn commented 4 years ago

@stevegroom Do you mind closing the issue?

stefan-hoehn commented 1 year ago

I would assume that this problem isn't an issue anymore. Closing.