[OBSOLETE] Mi Connector (Xiaomi and Yeelight)

I managed to connect my two yeelight bulbs and strip, but not the bulbs V2. Is there any updating at the docker to do? how you do it? thank you

What is version you installed mi connector docker?

And let me know not working device type name of dashboard on the web.

where can I find the version?
“yeelink.light.color2”, appears only on “device list”, added manually with the token, but does not appear on “dashboard”, nor on “add device (ST)”

I mean docker version.

[yeelink.light.color2] is not supported now.
only yeelink.light.color1.

I will add it next version 0.0.3.

Current version is 0.0.2.

ok, where do I see the version I installed?

Raspbery pi
command >> docker images
docker ps -a

I have added and tested Xiaomi ceiling lamp.
It’s working but I haven’t tested Xiaomi philips ceiling lamp.

Would you like to test Xiaomi philips ceiling lamp on mi connector
if you are ok?

Docker version : test-lamp
Smart app : https://github.com/fison67/mi_connector/blob/fison67-test-1/smartapps/fison67/mi-connector.src/mi-connector.groovy
DTH : https://github.com/fison67/mi_connector/blob/fison67-test-1/devicetypes/fison67/xiaomi-philips-light-ceiling/xiaomi-philips-light-ceiling.groovy

This is GREAT!! I’ve been looking for something like this for a long time.

I will be able to test this with some devices that are not yet tested. I will keep you posted.

Is there any plans to support the flowerpot, or flora sensor?
What about the IR sensor?

Again Great work!

And the mi Candela, would that work with this?

Flowerpot? flora sensor is not using wifi, maybe bluetooth.

That’s why NAS can’t use it, only do with raspbey pi.

And I need source code as Python miio or nodejs miio.
If that code supports the product, I can add it on Mi Connector.

I have a plan to add an IR remote.

Hi @fison67, great work!
I have a zhimi.airpurifier.m1, so it isn’t tested.
I’ve installed the application on a Raspberry Pi, the values are shown correctly, but the commands aren’t triggered.
On the Smartthing console they come (as setModeAuto >> 47119176 or Off >> 47119176) but nothing happens. How can I verify that it’s wrong?
Thank you!

1 Like

Hi
Let me know the docker log.
You can find it in config folder.

@fison67 solved, my bad! On the M1 version it works perfectly!

Hi
sorry this might be a silly question but does this support Xiaomi MI Gateway V2

I haven’t tested Gateway V2.
But maybe it work

Hello. I tested new docker image and new DTH, but it doesn’t work.
Here it is the log file: https://www.dropbox.com/s/1rxk41cjdcxlvv4/fison67-mi-connector2%20(5).html?dl=0
Also I bought Xiaomi Mi Robot Vacuum 2 ( roborock.vacuum.s5) and it doesn’t work too. I tested with both docker image. It appears in Smartthings but always in state “initiating”.

This is your log.

Initialize WiFi Device >> roborock.vacuum.s5(82XXXX23) ip=10.0.XX.10
Finded >> But Mi-Connector can’t get token from this device!!! id(56XXXX72)

Mi connector was finding roborock but couldn’t get a token automatically.
That’s why it’s not working.

You have to get a token yourself from android or iPhone.
And then just add device with [IP & Token] on the web page/

Check it out later:
2018-06-13 07:23:11 stdout info: Initialize >> Device Ip(10.0.24.10), Token=(4a6XXXXXXXXXXXXXXXXXXXXXXXXX366a) {“label”:“Mi-Connector”,“timestamp”:“2018-06-13T07:23:11.633Z”}
2018-06-13 07:23:12 stdout info: Initialize WiFi Device >> roborock.vacuum.s5(82XXXX23) ip=10.0.XX.10

@fison67 I have a request for you: may you remove the symbols “°” and “%” from the value field and keeping it only on the desc? Otherwise the third-party applications don’t work properly with this data.
Thank you

Barbara

You mean that remove the symbols in DTH?
Let me know what DTH save value with symbols.
Thanks.