[OBSOLETE] Mi Connector (Xiaomi and Yeelight)

I’m getting this error, device handler i believe

java.lang.NullPointerException: Cannot invoke method _getServerURL() on null object @line 889 (makeCommand)

@fison67 Would it be possible to build for ARMv6 as well as v7? I’m trying to have mi-connector running on a pi zero w but am having a hard time to get it working.

I have issue on reinstalling after my pi sd card failed. I get the following

Standard_init_linux.go:219: exec user process caused: exec format error

I’m using buster do I need to use Jessie?

Scrap this I’ve installed it on my synology and it’s working great.

The only device not working is zhimi.fan.sa1
I’m using test3 as this was the only one before hand that worked on the pi. I get a warn message in logs.

When I try to add manually it comes back and says undefined.

Is there anyway around this?

Is Roborock S7 (aka roborock.vacuum.a15) compatible with Mi Connector?

Regards,
IL

@fison67 is it possible to add viomi robo cleaner to mi connector , they are compatible in MI app.

Considering taking the plunge and resetting my SmartThings hub. The biggest thing that I am worried about losing is the Mi Connector. Just need a little reassurance that I can still install this as I’ve seen all sorts of complaints on Facebook groups in regards to changes with the New App. Looking at recent posts, everything seems to be OK to reinstall?

Yes, no worries. You can reinstall and I assure you that everything will work.

Hey, please are you going to update the raspberry pi version (mi_connector_arm) to 0.0.6.10? It’s still on 0.0.5.

Thanks

does this work with the new M1S hub?

Hi Everyone!

Is there any chacnce that there will be new devices availibility added to this MI connector?
Especially thinking about (Xiaomi, Roidmi, Viomi, … ) robotvacuums, and mostly XIAOMI 360 2K Home Cameras and other smaller devices, like Xiaomi Scales.

Thank you.

I have seen some people connecting the Roborock to ST via Alexa Routines. Would be great to see an edge driver that can talk to the Roborock over LAN.

what use-cases do you see for this? AFAIK support of the vacuum cleaners is rather limited.

I have created the Roborock integration for Google Home, so I can help with Edge driver.

That would be awesome. I haven’t worked with the Roborock yet, but these use case would be great:

  1. Triggering the cleaning cycles based on location mode (Home, Away, Stay).
  2. Trigger cleaning cycle based on switch or scene controller events
  3. Using the full state (vacuum / dock) to trigger events in ST like announcements
  4. Using the stuck state to trigger ST events as well
  5. Using the completion state to trigger ST events
  6. Disabling motion sensor automations while vacuum is running
  7. Send the vacuum back to the dock when arriving home regardless of cleaning state

Doing this all over LAN, rather than cloud, would be a home run.

Thanks for taking a look at this. Much appreciated.

Unfortunately, so far I can’t see any good Lua protocol implementations to start with.
I definitely would not be doing it alone but can join a team.

Please support model humidifier XIAOMI Mijia MJJSQ04DY: deerma.humidifier.jsq3

Log Mi Connector:

2021-11-14 18:04:32 warn This deerma.humidifier.jsq3 is not supported now
2021-11-14 18:04:32 info Device Info >> deerma.humidifier.jsq3 [{life:1324,model:deerma.humidifier.jsq3,token:c0780728a3xxxxxxx,ipflag:1,fw_ver:2.2.0,mcu_fw_ver:0005,miio_ver:0.0.9,hw_ver:RTL8720C,mmfree:54336,mac:xxxx,wifi_fw_ver:WifiVer.N/A,ap:{ssid:xxxx,bssid:xxxxxx,rssi:-41,primary:1},netif:{localIp:192.168.x.x,mask:255.255.255.0,gw:192.168.x.x},uid:xxx}]

Can you add compatibility to Mi Smart Standing Fan 2 (dmaker.fan.p18) please?
Thanks :slight_smile:

has this stopped working now?
Trying to install it but smart apps no longer work with smartthings!

Yes, I think so.
Anyone working on an Edge driver?

For anyone still following this, I’ve been working on Matter-based integration for Xiaomi and Roborock devices using SmartThings Edge drivers, based on the matterbridge project.

It doesn’t depend on the old SmartApps, and SmartThings Matter support seems stable enough for basic functionality. I’ve tested it with Roborock vacuums, but expanding it to other devices like humidifiers or fans should be possible in theory — provided they have Matter or can be bridged.

If anyone’s interested or working on similar drivers, feel free to connect — happy to share experiences or code references.

3 Likes