Mi Connector (Xiaomi and Yeelight)

It’s great!
Thanks.

It’s fixed matching DTH.

Don’t change other DTH.

There is no function to siren on gateway2 now.
I need a time to work.

I let you know after done.

Thanks Bro, I appreciate!
Regards
P.

Sorry Sr, I’ll do so!
Regards
P.

I updated docker image.
Re-download a 0.0.4 version image.
And update a DTH.

You can select a siren type.

Splendid!!! Thanks.
Have you found the Temperature and Humidity Sensor information to add on the Gateway 2? so I can use it to automated the AC.
Regards!
P.

Hi Chals,
I’ve made a test, via webcore, this is the code:

This is the live login
ff3a0144-7b2b-4649-9e54-2959d99be95d 17:49:08: debug powerLoad : 0

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:49:03: debug powerLoad : 1

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:43: debug powerLoad : 0

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:38: debug powerLoad : 4

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:38: debug powerLoad : 4

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:33: debug powerLoad : 3

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:28: debug Request a siren >> 3(0)

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:28: debug powerLoad : 5

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:27: debug Request a siren >> 3(0)

ff3a0144-7b2b-4649-9e54-2959d99be95d 17:48:27: debug Request a siren >> 3(0)

This is the Device log
2019-09-05 5:49:48.270 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:49:48 AC Cocina last checkin is 2019-09-05 17:49:48 true
2019-09-05 5:49:48.259 PM ART
hace instantes
DEVICE power 0 AC Cocina power is 0 true
2019-09-05 5:49:43.307 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:49:43 AC Cocina last checkin is 2019-09-05 17:49:43 true
2019-09-05 5:49:43.288 PM ART
hace instantes
DEVICE power 1 AC Cocina power is 1 true
2019-09-05 5:49:08.350 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:49:08 AC Cocina last checkin is 2019-09-05 17:49:08 true
2019-09-05 5:49:08.331 PM ART
hace instantes
DEVICE power 0 AC Cocina power is 0 true
2019-09-05 5:49:03.322 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:49:03 AC Cocina last checkin is 2019-09-05 17:49:03 true
2019-09-05 5:49:03.310 PM ART
hace instantes
DEVICE power 1 AC Cocina power is 1 true
2019-09-05 5:48:43.285 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:48:43 AC Cocina last checkin is 2019-09-05 17:48:43 true
2019-09-05 5:48:43.178 PM ART
hace instantes
DEVICE power 0 AC Cocina power is 0 true
2019-09-05 5:48:38.304 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:48:38 AC Cocina last checkin is 2019-09-05 17:48:38 true
2019-09-05 5:48:38.280 PM ART
hace instantes
DEVICE power 4 AC Cocina power is 4 true
2019-09-05 5:48:33.246 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:48:33 AC Cocina last checkin is 2019-09-05 17:48:33 true
2019-09-05 5:48:33.222 PM ART
hace instantes
DEVICE power 3 AC Cocina power is 3 true
2019-09-05 5:48:28.031 PM ART
hace instantes
COMMAND both both command was sent to AC Cocina true
2019-09-05 5:48:28.020 PM ART
hace instantes
DEVICE lastCheckin 2019-09-05 17:48:28 AC Cocina last checkin is 2019-09-05 17:48:28 true
2019-09-05 5:48:28.007 PM ART
hace instantes
DEVICE power 5 AC Cocina power is 5 true
2019-09-05 5:48:28.001 PM ART
hace instantes
APP_COMMAND both webCoRE Piston #1 sent both command to AC Cocina true
2019-09-05 5:48:27.990 PM ART
hace instantes
COMMAND offSiren offSiren command was sent to AC Cocina true
2019-09-05 5:48:27.980 PM ART
hace instantes
APP_COMMAND offSiren webCoRE Piston #1 sent offSiren command to AC Cocina true
2019-09-05 5:48:27.972 PM ART
hace instantes
COMMAND siren siren command was sent to AC Cocina true
2019-09-05 5:48:27.921 PM ART
hace instantes
APP_COMMAND siren webCoRE Piston #1 sent siren command to AC Cocina true

This is the device config:
Label AC Cocina
Type Xiaomi Gateway2
Version Draft
Device Network Id mi-connector-259137020
Status ACTIVE
Hub SmartThings Hub
Date Created 2019-08-13 7:12 PM ART
Last Updated 2019-09-05 5:43 PM ART
Data No data found for device
Current States * switch: on


alarm enum 3
mode enum Air Conditioner
volume number 100

I’ve installed the last docker version, using this command:
pi@raspberrypi:~ $ sudo docker pull fison67/mi-connector-arm:latest

And run this command to restart docker:
pi@raspberrypi:~ $ sudo docker restart mi-connector-arm
mi-connector-arm

What I’m doing wrong? Please help!
Regards
P.

Hi,

I’ve read here regarding test2 version, where can I find it? for some reason the APP token and URL doesn’t load in my MI connector GUI

Please help me out…

I’ve followed the steps but for some reason I cannot control my Xioami devices via Mi-connector (yeelight celling 3 and Xioami-Philipls dwonlights)

Please let me know what am I doing wrong.

  1. Map the SmartAPP to my Mi-Connector server IP

  2. Copied the config info from the SmartApp to the Mi-Connector server GUI

  3. opened the GUI and verifying connection to DB

  4. adding new devices via GUI (IP and Token)

  5. Smartthings app updated with the new device in some devices I can see the last on / off status but cannot control them and on other devices I don’t see the status.

I’ve tried to restart the docker many time, tried to install the docker few times also nothing seems to be working…

hope you guys will be able to help me.

Hi Chals, Are you still with us?
Holidays?
Give us some news, please!
Regards
P.

I’m having issues moving this program from an older SMB system to either a pi or a pine64. Every attempt has ended with the ports not being available. When I do a docker ps -a, mi-connector doesn’t have any ports associated with it. Am I doing something wrong?

In Webcore, I’m trying to use the clean() command, but it doesn’t do anything. Any ideas why that might not work?

I’m having the same issue… somewhere I’ve read that we need to use the test version but I cannot confirm it…

Hi everyone, been trying to get the dimmer rotate feature to work through smart things with the Xiaomi cube. Want it so if I rotate clockwise it increases the brightness and if I rotate the cube anti-clockwise it dims the brightness. This is how the cube works by default with Yeelight bulbs. I’ve tried to map it through web core but it only recognises button 8 for rotate, although in the device itself the number of degrees rotated is recorded? I can set it up to either decrease or increase via button 8 but not through the direction being rotated so I’ve just set it to increase for now.

What is wrong?
Siren?

Install a 0.0.4 version.
You can see it on smartthings app.
Click smartapp -> mi connector -> config menu

When you can’t control device on ST

Take a look a logs smartthings ide live log & mi connector log.
If there is control message or not

Hi Chals,
Both, Siren and Strobe, It’s do nothing and as I show you on debug page do Powner On
Regards
P.

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.