[APP][Pro] Lightwave Smart Series (generation 2) (Release 3.1.6, Test 3.1.8)

This app will only work with the Link Plus and devices that connect to it, so NOT remotes or wireless switches etc. For those you still need the original Lightwave app.

This app will connect via your Lightwave account using their official API. You will need to obtain the Bearer and Refresh tokens from your Lightwave phone or web app and enter these into the app settings page.

2.0.1

  • Fixed error code of -1 showing as the current power. Added support for LW929"

2.0.2

  • Removed markdown and version log from readme.txt"

2.0.3

  • Added support for LW821 and L82 plus changed id field for compatibility with the L82

2.0.4

  • Fixed missing getData in the socket device, added "homeyCommunityTopicId" and "homepage", added device name to webhook data log

2.0.5

  • Fixed typo in settings page that prevented logging being switched on

2.0.6

  • Fixed error when getting the current dim value when a light is switched on

3.0.0

  • Updated to SDK 3 and webhook for Homey cloud compatibility

3.1.0

  • Now using smaller, faster http library.
  • Slowed down device initialisation so LW rate limit is not exceed.
  • Added option to send diagnostic log.

3.1.1

  • Removed cloud compatibility so it can be published.

3.1.2

  • Changed store images and description.

3.1.3

  • Reduced start up time.

3.1.4

  • Added retry to failed initialising devices.

3.1.5

  • Fix failure to complete device init caused by last update.

3.1.6

  • Add support for MK3 dimmer.

3.1.7

  • Add support for L70 Motion sensor.

3.1.8

  • Add support for L40 Smart Plug-in.
2 Likes

If anyone wants to side load to test or start using it the source is here:

Thanks bvdbos for pointing this out to me :+1:

Edit: I have now fixed the spelling error in the git title so samert should be smart :grin:

1 Like

The app has now been published in the app store. Currently version 0.2.0 beta. I would be grateful for any feed back.

1 Like

I’ve not had any problems reported with the app so far so I have requested it is published as 1.0.0 release. I have added a support for the energy meter and the door contact in that version.

I have now got the webhooks version working so once the current beta is moved to release I will submit this to beta. Then if there’s any problems with the webhooks users can switch back.
The webhooks are fast to respond for me so it was worth the time.

2 Likes

I had an issue connecting a L21EU, it doesn’t find it when installing and the box below is filled with text:

@Adrian_Rockall …

Ah, only just seen this so I will add it in when I get home.

1 Like

The beta, using webhooks, has now been published.

I have moved the beta to stable as I have had no problems reported by those using the beta. I have been using it for several weeks now without any issues.

I have also requested a new beta to be published that adds support for the newer EU devices.

Hope this all goes well for everyone but please let me know if there are any issues.

1.0.4 beta now published.
This adds support for the latest “EU” devices. Unfortunately, I don’t have any of those so maybe someone could let me know if they work or not ( Bigbrother_Jason maybe).

Will install right away!

1 Like

Ive installed and put it in teo flows. Seems to work great. The dimmer I added is duplicated in the Home app so I removed the Lightwave bridge from The Home app in the phone and that also worked. No issues in 24hours

1 Like

Thanks for letting me know. I will push the beta to release.

I have just submitted 1.0.5 beta.

This shows power usage for dimmers.
Unfortunately, existing dimmers will need to be removed and added back in to see the extra capabilities. Then flows that depend on those dimmers will have o be repaired.

A new beta has been published (1.0.8) with the following changes:

  • Updated bridge methods for better queuing of transactions.
  • Updated the settings page so the log is on a separate tab.
  • Added an option to switch logging off.
  • Log data panel is now refreshed when new data arrives.
  • Changed WebHook function to filter on a different parameter.
1 Like

It appears the LW have stopped posting updates to the Webhook. As far as I can see the Homey Webhook feature is working fine so I have submitted a support request to LW to try and find out why.

As a workaround I have requested a new version to be published that has an option to revert back to polling for values.
The full update log is:

  • Added option to select Polling instead of Webhooks in case LW stops sending notifications.
  • Added option to specify polling interval.
  • Updated the settings page so the Unsupported Devices panel is on a separate tab.
  • Added the Homey ID as a parameter to the webhook URI so the address looks different for each Homey.
  • Changed Webhook function to filter on the Homey ID instead of the LW Location ID.

Hopefully LW will get the Webhook working again as it is very easy to overload the LW server with requests when polling.

The new beta app (v1.0.9) is now published. I wish LW were as responsive as Athom, presented yesterday evening and approved this afternoon.
Hopefully LW will fix their events (Webhook) soon as it is far better than polling when it was working.

LW have still not fixed the webhooks.
So new beta version is available that improves the polling performance by using the LW batch call.
I have also changed the webhook to an endpoint so if LW ever fix their events it might be more efficient.

Looks like LW have fixed their Webhook / Event system. So I have published version 1.1.0 of my app which now works with the latest LW API and responds to state changes almost instantly without constant polling being required.
This version uses Homey end points instead of Homey webhooks so each Homey has a unique URL for the LW Event callback.

1 Like

I have posted an update to the store. I am still trying to get used to the new submission process and a new rule is no change log in the read me. Instead we have to add changes to a new one line change log feature and it didn’t record the information I submitted with 2.0.1 that was rejected because it still had the change log information in the read me.
So to be clear the new version fixes an issue where -1 is reported for power if the request fails. Also added support for the Home / Away remote.