I followed all the instructions and successfully added my “zhimi.airpurifier.m1” Air purifier to my ST things list. I can monitor all the values for the air purifier however none of the buttons like power, mode etc is working at all.
In other words it seems like my ST DTH has read-only access. Any assistance would be very much appreciated.
Hi, I am experiencing the same issue where my ST DTH is showing the current values correctly but no buttons work to update the state of my air purifier. What did you do to resolve this?
How does one go about getting a token for say the Air Purifier 2? I have no idea where to start. Please point me in the right direction. All I currently have is the local IP address for the Air Purifier.
My wrong last time.Yes external ip is well external (not 192.168)
I have put the docker host ip (which is an ubuntu machine)
with port 30000
docker container mi-connector doesn’t have an internal ip, it’s connected in “host”
network and that’s all.In the ST app in management it displays the UI when I am out of home,like now
Xiaomi gateway v3 luminocity logs are correct on ST live logging but the doors are diplayed open with -1% and buttons when pressed do nothing
Hi, my ips are both correct, external and internal.
Internal is 192.168.0.201 static ip (I reserved 200 - 254 for static ips.).
External is the host name of my freedns dyndns subdomain (This works correctly because I can access the admin panel from the smartthings app).
I have no problem: Retrieving device parameters like PM2.6, which mode is active ect. This all works fine, which means that the IPs should be fine right?
What I am having issues with is changing state of the device. So Clicking on buttons does nothing
Addes the MI Connector smartapp by code
Enable OAuth
Added MI Connector smartapp in the Smartthings app.
Servet address: adress of my pi:30000
save
I can’t do anything in the smartapp, management and remote device mapping isn’t working.
Install Mariadb database:
docker pull jsurf/rpi-mariadb
docker run -d --name mariadb -e MYSQL_ROOT_PASSWORD=password1234 -e TZ=Asia/Seoul -p 33006:3306 -d jsurf/rpi-mariadb
Did i had to change things in het command above?
Tried to get it working:
docker run -it -v /docker/mi-connector:/config --net=host fison67/mi-connector:0.0.1 bash
npm start (bash: npm: command not found)
docker run -it -v /docker/mi-connector:/config --net=host fison67/mi-connector-arm:0.0.1 bash
npm start
mi-connector and the mariadb seems to run fine isn’t it?
Really can’t find it what i did wrong…
Everything installed good, no warning/error’s (only one warming at the npm start)
A few days ago i also saw some xiaomi devices where detected in the command promp, this time i didn’t see that.
With what command i let the raspberry look for the xiaomi stuff?
Would you like to install [ fison67/mi-connector-arm:test ] version?
And if it’s not working, open config.json file.
You can see this part.
“xiaomi”: {
“find_limit_time”: “30000”,
“motion_reset_time”: “4900”,
“find_mode”: “auto”,
“polling_time”: “5000”,
“network”: “192.168.11.22”
}
if network item is empty or not exist,
just write… ip address is your raspbery pi address.
I have no yeelink.light.ceiling2 but If it use same protocol as old version, it will work fine.
When I add ceiling2 to mi connector, I will let you know.