philipslight icon indicating copy to clipboard operation
philipslight copied to clipboard

Ceiling Light server response time

Open DARKFiB3R opened this issue 2 years ago • 8 comments

I'm in the UK, but I (have to?) use the China server for my ceiling light.

Some times it is very slow to respond, so much so, that Alexa anounces that it hasn't responded at all, but then it does turn on/off afterwards anyway.

Is there anything I can do to improve the response time?

Thanks.

DARKFiB3R avatar Dec 23 '21 22:12 DARKFiB3R

  1. If you don't use the Mi Home / yeelight app you could try to block the internet access for your cloud devices. If the connection gets dropped very early the device is a bit faster.
  2. If you want to gain more speed: Flash the device with ESPHome / alternative firmware. But keep in mind: The remote control isn't supported and you have to control your lamp via HA always.

syssi avatar Dec 24 '21 07:12 syssi

How do I do option 1, block that device in my router?

Is there a 3rd party remote I could use with ESPHome? I have a Harmony elite remote. It would be nice to be able to use that.

Is removing the PCB and replacing it with some sort of zigbee module an option?

Thanks for your advice. Have a nice Christmas.

DARKFiB3R avatar Dec 24 '21 17:12 DARKFiB3R

Option 1: Yes.

As soon the ESPHome node is connected to your HA instance you could use any supported remote. If you are looking for a standalone solution: I don't know.

I don't recommend to replace the WiFi controller by a ZigBee module. It's hard to replicate all features of the device (f.e. the night light mode).

syssi avatar Dec 25 '21 08:12 syssi

Merry Christmas! 🎄

syssi avatar Dec 25 '21 08:12 syssi

So I gave the lights a static IP, and then blocked them.

The Xiaomi app says they are offline.

Unfortunately they are still intermittently slow to respond.

So... ESPHome. I don't see a repository for my ceiling light. Can you point me in the right direction?

Thanks and Happy New Year 😁

DARKFiB3R avatar Dec 31 '21 15:12 DARKFiB3R

Which device do you own? Please use miiocli device info to retrieve the model identifier and may be some hint about the used mcu.

syssi avatar Dec 31 '21 16:12 syssi

I've never used miiocli before, and not sure how.

I did use Xiaomi Cloud Tokens Extractor.

platform: xiaomi_miio_philipslight model: philips.light.ceiling

Edit: So I've tried to install python-miio, but I'm getting errors. Made sure Visual C++ was up to date, but I'm thinking that's not right. Downloaded Visual Studio Installer, but not sure what is needed from there, if anything.

Is it ok post logs here? I think I'm making a mess of things.

DARKFiB3R avatar Dec 31 '21 18:12 DARKFiB3R

It's easier to use a linux host. Please boot some Ubuntu machine or SSH to some raspberry pi and use this command to install python-miio:

pip3 install python-miio

If pip3 isn't available please install the missing package:

apt-get install python3-pip

syssi avatar Jan 01 '22 10:01 syssi