Homey Community Forum

[App] Twinkly

small

Automate your Twinkly Christmas Lights

App Store Page: Twinkly App for Homey | Homey

Description

Twinkly is the new generation connected LED light strings, controllable via smartphone. The most advanced lighting technology at your fingertips, ready to make your decorations truly magical.

Note: Versions prior to v3.1.0 used an unsupported method of communication which kept interfering with the original Twinkly app. From v3.1.0 on those devices will still work but are now treated as legacy devices. It is highly recommended to pair them anew using the new cloud based driver.

Instructions

  • Make sure you have your Twinkly lights are configured using the Twinkly smartphone app and you have them connected to your home network.
  • (Legacy driver only) Assign a static IP address to your Twinkly lights in your router.
  • (Legacy driver only) Close the Twinkly smartphone app to avoid communication conflicts.
  • Add your Twinkly as device in Homey, it should be discovered in the pairing wizard.

Final Words

I took over the development of this app on 2021-03-02. Thanks a lot to @Phuturist who originally created this app. I will try my best to keep this app alive and stable, and if possible improve it future.

7 Likes

Known Issues

  • Using the legacy driver may disrupt functionality of the original Twinkly App.
    This is a known problem caused by that api. However, I am in contact with Twinkly on this as they are releasing a public api now. If you have issues using the original Twinkly app you can disable this app until you have finished your changes using the original app.

Changelog

v3.1.0 (in development)

  • Added: Support for the official cloud api.

v3.0.6

  • Fixed: Dimming not working on SDKv3 version.
  • Fixed: Potential memory leaks when uninstalling/updating the app. Note: This only fixes the issue for upcoming updates/uninstalls. You might want to consider rebooting your Homey after this update.
  • Few minor under the hood changes to improve performance.

App ownership changed


v3.0.5 - 2021-02-22

  • Update to SDK3 (requires Homey firmware 5.x)
  • Added dimming capability
  • Minor improvements

v1.1.1 - 2019-12-18

Added an action card for switching demo mode on or off.

v1.1.0 - 2019-11-18

  • Autodiscovery has been added to make pairing easier
  • An action card for setting your Twinkly lights to a solid color has been added as extra functionality

v1.0.3 - 2019-02-07

  • FIX: improvements to pairing template for firmware 2.x
  • FIX: code refactoring in driver (replace callbacks with promises)

v1.0.2 - 2019-01-21

FIX: small fix to avoid app crashes when reconnecting after a disconnect

v1.0.1 - 2018-12-02

  • FIX: small improvement that might fix issues for some people

v1.0.0 - 2018-11-25

NEW: initial version

Nice! And just when Twinkly is found at the Black Friday sales. Guess I have to buy one (or a few) :slight_smile:

I’ll let everyone in Homey homies know about your app!

Just bought one. Will try when I get home. :slight_smile:

Wich version did you get? And can you tell me where? I’m looking for the smallest Twinkly version, but the only one I can find is at Intratuin at 50 euro’s (wich isnt’t that expensive, but Black friday discount would be nice haha)

Bought the 175 led. In sweden from kjell.com

when do you think this app is available in the appstore as a beta

Someone else that has problems with connecting to a local network. Have tried everything. Only the direct that works.

When Athom approves the app, that sometimes takes a day and sometimes a week. Out of my hands.

Yes, it’s buggy. Took me a while to get it connected as well. On Android you could try to purge the app settings and cache and try again.

Awesome, was thinking of starting an app for the Twinkly lights myself but am lacking time. Will try after Sinterklaas :slight_smile: Thanks!

Version 1.0.0 is published in the app store. It has been tested with firmware version 2.0.22-mqtt but it seems it does not work properly yet with firmware version 2.0.23-mqtt which is currently in beta. When this hits stable the app will need to be updated. So you might want to stick with 2.0.22-mqtt until the Homey app has been updated.

Got Twinkly Strings (225 leds) connected with static IP and firmware 2.0.22-mqtt but for some reason cannot get it to work with the Homey app, on/off doesnt do anything. It works fine through the Twinkly app.

Different LED strings seem to be using different commands. I need to figure out which LED string uses which command.

Anyone experiencing this issue can help me fix this by doing a CLI install of this Homey app version which contains extra debug logging, This should tell me what is going on. Just run this version from command line and first control the Twinkly with the smartphone app than try to control the Twinkly with my Homey app. The logging should show the status your Twinkly is in (something like off, effect or movie).

Please report your findings here.

1 Like

i do also have the 225 string and it works

Update: It seems to be working suddenly now (strings 225). :slight_smile:

Good to hear, would you consider updating your rating in the app store as well.

Done, thank you :slight_smile: !

Cool!
Just bought the 175 version. Need to test this before Christmas I guess :smile_cat:

v1.0.1 - 2018-12-02

  • FIX: small improvement that might fix issues for some people

Seeying the reactions here and on Github this improvement probably wont have much effect. If the Twinkly app is not working for you make sure you select a predefined effect within the Twinkly smartphone app, then close this smartphone app and pair your Twinkly with Homey. That should make sure you are able to turn in on and off.

I’ve used it for turning my lights on and off, but I’ve had problems using the Twinkly app to change effect. Been on support with Twinkly devs all Christmas trying to figure out what’s going on.
Seems to work fine now after deleting it from Homey…
I kept getting “Unauthorized” “NSErrorFailingURLStringKey”, “NSLocalizedDescription = Unauthorized”.

I’d like it to work with Homey, but for now I’m just cutting the power with a power strip instead.

I also have some problems with effects abruptly stopping and restarting when looping (especially the Glow effect and white LED).