fison67 / mi_connector Goto Github PK
View Code? Open in Web Editor NEWConnector for Xiaomi Devices with Smartthings, Hubitat
License: MIT License
Connector for Xiaomi Devices with Smartthings, Hubitat
License: MIT License
Hi, I've an issue with my zhimi.airpurifier.m1: now the type is undefined, so I receive ad error: Control >> Error!!! TypeError: Cannot read property 'target' of undefined at /usr/src/app/routes/control.js:12:54
I'm using Raspberry Pi, so the error is on mi-connector-arm
Before the update everything worked fine, is it possibile to fix?
Thank you
Actual version log (I've tried also with the :latest)
Mi Connector Version >> 0.0.3.14
Finded >> But Mi-Connector can't get token from this device!!! id(47119176)
Find Device Manually but nothing token!!! >> 47119176
Old version log:
Finded >> WiFi :zhimi.airpurifier.m1 Addrress=192.168.1.4 ID=47119176, Token=6d1e63eec$
Initialize WiFi Device >> zhimi.airpurifier.m1(47119176) ip=192.168.1.4
Hi,
I was trying to add my Xiaomi devices (camera and vacuum) to SmartThings using this tool. These are the only devices I have on Mi Home. The rest of Xiaomi devices were added to ST via custom DTHs.
However, bad luck for me. Both devices say not supported in the logs page:
2021-01-22 14:40:56 | warn | This dreame.vacuum.mc1808 is not supported now
2021-01-22 14:40:46 | warn | This chuangmi.camera.ipc019 is not supported now
Any plans to add support for it? If I knew how, I would do it myself :)
Thanks.
After open Mi air purifier 2 for a while. It always show status to off while still open
Please add update for Yeelight ceiling 5
Cannot access some xiaomi light page in new smartthings app
Hi,
I'm having issues connecting a lumi.ctrl_ln2.aq1 to mi connect. Here is what appears to happen:
In the Mi Home app (Hub info page) the device is identified as :{"model":"lumi.ctrl_ln2.aq1","did":"lumi.158d00023b265c","name":"Hall Light"}
When this is pulled into the mi connector application, on the page Add device [ST] it comes up as follows:
Then I attempt to register the device, mi connect throws an error. This doesn't happen for any other devices (I also have a lumi.ctrl_neutral2 which works fine).
Any thoughts?
Thank you
PS: Fantastic tool.
NB: The gateway tokens now appear in the "Hub info" page of the Mi Home app once the wireless communication protocol, so no need to try to strip them out of the DB any more.
Hello.
I want to install Mi Connector to my current raspberry pi setup.
I have already installed influxdb database for other projects that I’m running.
Is there a workaround or something that I can to use influxdb with Mi connector instead of MySQL?
Thanks.
I was using this device integration with my ST hub and I was able to control my Air Purifier.
Now I installed the hubitat version of app and air purifier device.
Everything is configured same.
When I run the smart app, I guess , I just have to enter the server IP with port (192.168.254.199:30000)
then I just need to map the device, right ?
But unfortunately , the device pulldown does not show any devices.
I checked the Mi Connector server configuration and it seems the " Smartthings Settings" section is showing correct settings (IP http://192.168.254.240/apps/api/ , and other settings like access token, app id are correct)
Why can't it find my device ?
I just installed the air purifier device.
Should I also install other device types from the repo ? (I guess no, because on ST I did not)
logs only say :
app:1662021-03-19 15:28:02.828 debuginitialize
app:1662021-03-19 15:28:02.827 debugUpdated with settings: [selectedLang:English,address:192.168.254.199:30000, externalAddress:192.168.254.199:30000]
I am experiencing a very strange problem where Sir Purifier automatically changes mode from favorite to auto.
I think I have narrowed it down that when the Roborock goes back to charge, for some reason it switches the mode of the air purifier.
Do you think the SmartThings appnis doing something to change this? Or am I looking in the wrong place?
have a gateway v3 yeelightbulb and motion sensor and door sensor and all show red and will not add manually.
on latest version - ideas?
@fison67 First of all, congrats for this big project called Mi-connector.
So, I've installed on linux, but the mi-connector is not able to detect the type and token. Do you have any tip to solve this problem?
I have one light strip and one colour light. The light strip is fine, discovers in the Mi Connector web app. I've deleted and re-connected the light but it's still the same.
I also tried to get the token from a backup of the Mi Home app, by extracting the database. Both devices were in there, but the token field was empty for both of them.
Is it possible that the Xiaomi is being more secure with the token, and that the latest version of firmware and Mi Home app both keep it secret?
Here's handshake reply output of miio discover with debug on:
thing:miio:87425134 <- Handshake reply: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00> +526ms
thing:miio:83894783 <- Handshake reply: <Buffer c5 6a 4c 97 08 e8 cc 86 11 8c 0e 2f 79 7f 69 5a> +516ms
I tried deleting and re-adding in Mi Home app. I tried resetting the light by powering off/on 5 times. I checked that it's in developer mode.
Hello,
First, thanks for the great project.
I'm trying to add some Bluetooth devices to my smart home.
I have the following sensor:
The mi connector is showing me that I have connect a ble.temperature, I got an ID.
On the ESP32 board, I see that the sensor is sending temperature and humidity, but I cannot make it work on smartthings hub. Which dth do you use? How do you add it?
Let me know if you need other information. Thanks
Robot Vacuum manually added but not added on my devices on ST app.
Followed all instructions using raspberry pi. Manually added device on mi-connector using ip and token. Mi-connector added in smartapps and all device handlers integrated from github.
Restarted docker container and removed and added vacuum a couple of times, still no luck. Please help. Thanks.
I have managed to set this up and it's working correctly with Air Purifier Pro (v7) and Roborock S50. I'm very appreciative of this project. Thank you!
I have seen in the documentation that you have some screenshots of a graph. Can you please tell me where I can find them?
I configure everything step by step the worst part was with getting a token from the device.
But finally, I don't see any new device in the smartthings app
The device is recognized and connected to Mi Connector:
Device handlers were added and published:
Mi connect app was installed:
How can I check what is wrong?
Xiaomi Settings
Type Content
error Get Device State TypeError: deviceMap[id].target.state is not a function Error at Object.module.exports.getDeviceState (/usr/src/app/miio/miio.js:1026:60) at processDeviceStatus (/usr/src/app/routes/websocket.js:169:10) at WebSocket. (/usr/src/app/routes/websocket.js:43:9) at emitOne (events.js:116:13) at WebSocket.emit (events.js:211:7) at Receiver.receiverOnMessage (/usr/src/app/node_modules/ws/lib/websocket.js:715:20) at emitOne (events.js:116:13) at Receiver.emit (events.js:211:7) at Receiver.dataMessage (/usr/src/app/node_modules/ws/lib/receiver.js:414:14) at Receiver.getData (/usr/src/app/node_modules/ws/lib/receiver.js:346:17)
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"on"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"on"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"on"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"on"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"on"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"on"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}]
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48716311","cmd":"power","data":"on"}]
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48716311","cmd":"power","data":"off"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"on"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"on"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"on"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}]
info Requested to control by ST >> rockrobo.vacuum.v1[{"id":"55508490","cmd":"charge"}]
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48716311","cmd":"power","data":"on"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}]
info Requested to control by ST >> rockrobo.vacuum.v1[{"id":"55508490","cmd":"clean"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}]
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48716311","cmd":"power","data":"off"}]
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48716311","cmd":"power","data":"on"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48704499","cmd":"power","data":"off"}]
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: device.matches is not a function
error Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}] Erorr: TypeError: Cannot read property 'indexOf' of undefined
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48734306","cmd":"power","data":"off"}]
info Requested to control by ST >> zimi.powerstrip.v2[{"id":"48716311","cmd":"power","data":"off"}]
info Initialize WiFi Device >> zimi.powerstrip.v2(48734306)
info Initialize WiFi Device >> zimi.powerstrip.v2(48704499)
info
Hi!
I configured everything by your guide in Samsung IDE, but Mi Connector is not showing under MyApps in Smartthings app.
Is there anything else I should configure additionally what is not written in your manual?
Any suggestions?
BR,
Stanislav
Hi,
thank you for a great software. It is exactly what I need. Unfortunately I have some issue with support of zhimi.airpurifier.mb3. I didn't find what circle/triangle etc in the support table means, but I assume it's not fully supported.
After I add the purifier to the connector, it can read the state of the device, but control ends with error on terminal (mi connector output). After some time, I don't get even that (it timeouts on state read).
2020-12-13 04:41:05 [info]: [ ERR ] Polling issue >> Error: Call to device timed out << zhimi.airpurifier.mb3 - miio:308348604 2020-12-13 04:41:10 [info]: [ ERR ] Polling issue >> Error: Call to device timed out << zhimi.airpurifier.mb3 - miio:308348604 2020-12-13 04:41:15 [info]: [ ERR ] Polling issue >> Error: Call to device timed out << zhimi.airpurifier.mb3 - miio:308348604
at Socket._socket.on (/usr/src/app/node_modules/miio/lib/network.js:158:14) at Socket.emit (events.js:180:13) at UDP.onMessage [as onmessage] (dgram.js:659:8) 2020-12-13 04:41:41 [error]: (node:28) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) 2020-12-13 04:41:45 [info]: [ ERR ] Polling issue >> Error: Call to device timed out << zhimi.airpurifier.mb3 - miio:308348604 2020-12-13 04:41:47 [error]: (node:28) UnhandledPromiseRejectionWarning: Error: Call to device timed out at Timeout.retry [as _onTimeout] (/usr/src/app/node_modules/miio/lib/network.js:490:23) at ontimeout (timers.js:466:11) at tryOnTimeout (timers.js:304:5) at Timer.listOnTimeout (timers.js:267:5) 2020-12-13 04:41:47 [error]: (node:28) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
Is the code of the node service available anywhere? I can grab it from the container, but would be nice to work with git repo instead and maybe dockerfile.
Btw, at some point I saw that I was able to control the device, but changes in dth had a different result than anticipated (like full fan speed, instead of low speed etc.)
Hi I have a few mi plug USA version from Walmart USA
I have the token and when I add the device into the system, it gives this error
According rytilahti/python-miio#427 , this is same as other variant of chuangmi.plug
Could you add support for this model?
Thanks
Hello.
Can you please add actions under automations on ST app?
On air purifier, for example:
Currently the device appears only under [if] statement. There are no actions on [then] part.
For example [if] air quality is above {threshold} [then] turn on air purifier at manual mode
DTH 및 스마트앱도 설치를 마쳤습니다.
큐냅 나스에 미커넥터 설치를 했는데..
로그상으로는 이슈가 없는 거 같은데 샤오미 기기를 가져오질 못합니다.
설정 페이지에서 테스트 버튼을 클릭할 경우 Error 가 발생하구요
해결할 방법이 있을까요?
Hi,
Found another device ID that is not supported in your docker image: lumi.ctrl_ln1.aq1
In /usr/src/app/node_modules/miio/lib/devices/gateway/subdevices.js the following entry needs to be added to the module.exports:
63: require('./ctrl_ln1'),
Kind Regards
When I select that device and click “Register”, it pops up a dialog box with “undefined”
It only happen with Xiaomi Wall Swith single and double with no neutral line.
Configuration:
Rpi docker mi-connector-arm: v.0.0.4
mi-connector-apps: v.0.0.46
Xiaomi Wall Switcth DTH: v.0.0.1
Mi-Hub: version 2
Log:
info | Try to register device to ST >> id=158d00031df4b6, type=lumi.ctrl_neutral2 [18/32]
warn | ST Smartapps couldn't add this id=158d00031df4b6, type=lumi.ctrl_neutral2!!!
error | Get Device State TypeError: deviceMap[id].target.state is not a function Error at Object.module.exports.getDeviceState (/usr/src/app/miio/miio.js:1487:55) at /usr/src/app/routes/registerST.js:20:10 at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13) at isAuthenticated (/usr/src/app/routes/dashboard.js:21:12) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at /usr/src/app/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12) at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10) at Function.handle (/usr/src/app/node_modules/express/lib/router/index.js:174:3) at router (/usr/src/app/node_modules/express/lib/router/index.js:47:12) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13)
error | Get Device Total State TypeError: deviceMap[id].target.state is not a function Error at Object.module.exports.getDeviceTotalState (/usr/src/app/miio/miio.js:1470:61) at /usr/src/app/routes/devices.js:48:10 at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at /usr/src/app/node_modules/express/lib/router/index.js:281:22 at param (/usr/src/app/node_modules/express/lib/router/index.js:354:14) at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14) at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:410:3) at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10) at Function.handle (/usr/src/app/node_modules/express/lib/router/index.js:174:3) at router (/usr/src/app/node_modules/express/lib/router/index.js:47:12) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13) at /usr/src/app/node_modules/express/lib/router/index.js:284:7
I cannot seem to get access to the repo for device handlers. I will try to add them manually. Thank you.
After registration device handler and smart app in samsung cloud(steps from manual), i can't connect to Samsund cloud via mi-connector
always receive following message in log:
Get Data from ST is failed....
Lumi gateway has been successfully found and child devices are found too.
But still cant connect to samsung cloud((
Works on synology docker.
I believe this device is not officially supported as per your readme however It adds to ST fine and I can instantly monitor changes using ST DTH. However I can't seem to control the device :( None of the buttons perform any action.
Any idea when this support would be added? Many of my friends and I would very grateful.
I can see only status of device but cannot control it. I try uninstall everything and install again and problem still unsolved. I can control device through openhab normal.
Thank you for your help
Hi
I've had the MiFlora working for some weeks, but about 1-2 months ago, the sensors are not updating in the app. From the management port (i.e. raspberry:30000), I can see that the link to smartthings is working properly (using "test").
The new values are updated in the app, when I restart the docker container.
When I download the app, I get the following log:
2019-07-11 11:25:47 [Mi-Connector] info: Bluetooth - Mi Flora scan
2019-07-11 11:26:08 [Mi-Connector] error: (node:23) UnhandledPromiseRejectionWarning: Error: timeout
at Timeout.setTimeout [as _onTimeout] (/usr/src/app/node_modules/miflora/lib/miflora-device.js:23:20)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:267:5)
2019-07-11 11:26:08 [Mi-Connector] error: (node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3126)
2019-07-11 11:26:08 [Mi-Connector] error: (node:23) UnhandledPromiseRejectionWarning: Error: timeout
at Timeout.setTimeout [as _onTimeout] (/usr/src/app/node_modules/miflora/lib/miflora-device.js:23:20)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:267:5)
2019-07-11 11:26:08 [Mi-Connector] error: (node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3127)
2019-07-11 11:26:08 [Mi-Connector] error: (node:23) UnhandledPromiseRejectionWarning: Error: timeout
at Timeout.setTimeout [as _onTimeout] (/usr/src/app/node_modules/miflora/lib/miflora-device.js:23:20)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:267:5)
2019-07-11 11:26:08 [Mi-Connector] error: (node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3128)
2019-07-11 11:26:16 [Mi-Connector] info: Bluetooth - Mi Temperature scan
Can you help me with instructions on installation of mi-controller as a container in portainer? Thanks.
I'm trying to add Xiaomi Air Purifier 3H. The Mi connector finds the device through search functionality. However, the token value is empty and the logs shows: Mi-Conector find new device(192.168.3.24, No Token) at Auto Mode. But can't get token from this!!!
It looks like there's just no token. Mi connector recognizes the auto mode and it should be able to connect.
Also, the device type is not recognized. It's just empty. I wonder if this is because I'm using the Europe server (my devices can only connect to that one)
Is that possible?
Edit: nevermind
Did everything but can't see lywsd03mmc in mi-connector. Can connect to them on the Linux, Mi-connector is working well, bluetooth is on, DB is connected.
Please help.
Hi, I've just moved all of my Xiaomi devices into a different VLAN. They've all been reconnected and are functioning correctly in Mi Home.
After removing all of the old devices I've manually added them back in (including the new tokens) but all are coming back as
error | Initialize Wi-Fi Device >> Error ip(##.##.##.##), token=(###########################) : Error: Could not connect to device, handshake timeout
My MiConnector instance is sitting in a docker in the 10.1.1.0/24 subnet, the Xiaomi devices are all in 10.1.44.0/24 (VLAN 44). All routing appears to be correct and I can ping the Xiaomi devices from the docker Host.
Any idea what I can do to get cross VLAN connectivity working?
It should be better if the repository includes Dockerfiles
Hi
Thanks for the great software!
I’m having issues with xiaomi mi light strip 2 (recognized as 192.168.1.221 | yeelink.light.strip2)
I managed that it got shown on smartthings as device, however any action is not reflected on the device.
Any thoughts? thanks a lot
Best
Log:
Hi,
I have problem to add Xiaomi Air Purifier 3 (zhimi.airpurifier.mb3) to Mi Connector. Info from log:
Initialize Wi-Fi Device >> Error ip(192.168.0.240), token=(*************************) : Error: Could not connect to device, handshake timeout
Has something changed in new Xiaomi API? There is no problem with Roborock S6 (roborock.vacuum.s6) which is also not on the supported devices list.
홈브릿지나 ha에서 잘 작동중인 게이트웨이가 mi coneector에서 자동발견이 안됩니다. wifi plug는 잘나오고 있습니다. lumi-gateway-v3 입니다.
Hey.
I have issues with zhimi.airpurifier.mb3.
Some functions on DHT not supported by air purifier 3H, like dimmer.
Also I can’t control the device except of turning in On an Off.
Other Functions like fan speed, PM10 dust level doesn't seems to work:/
Any plans for supporting this device?
I cannot get get the token for the device.
I installed the Mi connector on RPI3. and I opened the page on http://192.168.1.2:30000 and search for devices, it show me one device which is the mi Air Condition companion. but there is no tocken.
Hi , I use mi connector whit smarthing hub and xiaomi gateway v3. All my device work well, bluetooth and zigbee, but can't use whit lumi.ctrl_neutral2. I got this error in my log, What im doing wrong whit it ?
Hi, I wonder if this smart plug is supported? I can add it in the Mi Connector dashboard, but it ends up under Not Initialized Xiaomi Devices.
I can't get this running on a pi zero.
Docker installs ok (I tried suggestions on the internet to downgrade docker but connector still won't run) so not sure if this is a docker issue or mi connector container issue as I'm not too familiar with docker. I can get it running on a pi 3 but I only need this to be in my IOT Vlan so can't justify the cost of a pi3/4 just for this app.
Any ideas?
Hi!
I have running Mi Connector on Raspberry pi server. For some reason configured Xiaomi setting to use Gateway address 172.17.0.1. (Docker Gateway??)
Today could not access Mi Connector on server address as I need to input a username and password in a Login Form. Password recovery option does not work. Create new account option does not work.
I can access however logs page:
Any ideas, what username and password to try?
Thanks!
Best regards,
Stanislav
I've manually added my new gateway using IP address and token, but when registering device the checkbox is disabled. I'm using the new gateway: Mi Smart Home Hub (USB powered). Is it supported?
Edit: this is the gateway I'm using - https://www.cnx-software.com/2020/01/02/xiaomi-smart-multi-mode-gateway-supports-zigbee-3-0-wifi-bluetooth-and-bluetooth-mesh/
Maybe it's stupid question, but I haven't bought SmartThings hub yet, so I don't know it it's required to use SmartThings ide etc. In the documentation there is only ide mentioned. So I wonder if I need SmartThings hub?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.