[APP] Yeelights LAN

I can reproduce and will look into it.

1 Like

Fixed with release 3.0.17.

1 Like

:+1: :+1: :+1:
Seems to be working again fine, thank you so much !

Seems like i’m facing a similar problem:

My Yeelight’s were all working great until a sudden moment my Homey started giving errors:

Cannot read properties of null (reading ā€˜union_id’)

I changed all lights from the china server to the EU server…which fixed the problem for 2 weeks. Anyone has a fix for this timeout? The lights work fine using the Yeelight’s own app.

Maybe search the diag, luckily my Yeelights still working fine with this integration.

Could you explain that a bit more?

I only got very limited network knowledge and I’m not a homey/app developer :grin:

Sorry, share diag. code from the app together with the description, so if Phuturist will be filling to check what is going on, he will reply.

Ah ok,

I created the diag report.

Code:
9015c86b-88dd-48f6-83ef-ec5cff73624f

You are using the Yeelights app from Athom which communicates over cloud. This topic is for the Yeelights LAN app, which is a different app. You should report your issue with Athom support.

2 Likes

Thanks,
will do :slight_smile:

Hello Phuturist,

First of all, I would like to thank you for your two great apps for the XIAOMI connection and also YEELIGHT.

Unfortunately, it is currently the case that YEELIGHT and Xiaomi continue to switch off the LAN function of YL. The attempt to get a developer activation of the LAN function via the YL forum seems to fail, and not only for me.

Hence my humble question. Wouldn’t it be a great way to address the YL Lights directly via the token instead of via the LAN enable? You do this very successfully with your Xiaomi app. The advantage would be direct LAN access without having to go via the Xiaomi cloud. Would that be an idea? Maybe this belongs better in the forum of the Xiaomi app?

I would be pleased about reactions.

Best regards.

I’m only aware this was done for one or perhaps a couple of models.

As I don’t use it myself it would just mean a lot of my free time. You’d better find someone else I guess. The least you could do is submit a feature request in the Xiaomi repo and try and get more support for it. That might motivate me a bit more to spend my free time.

Thank you very much for the quick answer. The effort is certainly too great if you don’t benefit from it yourself.

Then I will probably stick with a mix of LAN via your app and cloud connection via Athom.

So far it was sufficient just to install older app Yeelight, eg. by finding it as APK, enable LAN and then it works unless disabled. If they will make it enforced and if our Yeelights will be still working, we can still consider switching to GitHub - syssi/esphome-yeelight-ceiling-light: ESPHome custom firmware for some Yeelight Ceiling Lights - a pity it would results in this app not being compatible anymore.

Thank you for your tip. With the APK version 3.2.59 from Apkmirror, I was able to enable LAN control on all my newer YLs. However, the LAN app does not find the new YL. Probably because they already exist in parallel via the cloud app! I will test again later.

Hi @Phuturist ,I’m trying to add yeelink.light.strip2 - ā€œXiaomi Yeelight Lightstrip Plusā€ , current official app still allows LAN control, seems it’s the same as ā€œstripeā€, which is already supported… tried app restart, Homey restart, Yeelight firmware update and still can’t found it as new device when adding to Yeelight LAN app. But I have another yeelink.light.strip2 already added (as per official app), just I’m not sure it was the same one…can I anyhow investigate myself ?

Diag : 08ba5396-f67d-46d1-9a9d-fbf92a49f2c7

Thank you.

update strange - I reconnected to another AP (even though I have already many Yeelights connected on that particular AP) and suddenly it has been found… Athom issue again ?

Doubt it but could be. The app just picks up UDP broadcasts on the network. If a device is not shown during pairing it’s either one of these.

  • UDP broadcast not send (something with LAN control)
  • UDP broadcast not received (something with network configuration)

I havent heard of any issues before where Homey’s firmware messed up with this.

1 Like

Hello, I have an issue with my Pendant lamp (the ones that have a CCT downlight and RGBW ambience uplight). As of a week or so, the ambience lights seem to want to turn full red instead of amber orange hue. It’s very tricky to find the correct card to use, cause if I choose Set color to = orange, it will also enable the downlight at full blast which is very annoying.
Any idea which card I should use? Set Saturation seems to enable only the colored up light which is good - but will randomly turn it red instead of the preset orange.

Nothing changed in the Yeelight app. Sounds like a hardware issue with your light.

Thanks. That’s worrying… am I supposed to be able to use the set color card without triggering the main light?