Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Air Purifier model #74

Open
ilker-aktuna opened this issue Mar 23, 2021 · 7 comments
Open

Unsupported Air Purifier model #74

ilker-aktuna opened this issue Mar 23, 2021 · 7 comments

Comments

@ilker-aktuna
Copy link

I just migrated to Hubitat hub from Smartthings Hub
My air purifier was not being added as a device.
"zhimi.airpurifier.mb3"
This is not supported by the smart app.

I added it to the smart app and made some changes to the device driver.

Even after that the smart app did not show it as a mappable device.
I was able to add it from the Mi Connector management interface though.

Now my device works but it would be better if the device is added in a more decen way.

I can help with tests if required.

@fison67
Copy link
Owner

fison67 commented Mar 29, 2021

Update a docker image, smartapp, dth.

@ilker-aktuna
Copy link
Author

thanks for the answer.
did you mean I should update the docker together with smartapp and dth ?

if yes, what is the method for updating docker without losing data ?

@fison67
Copy link
Owner

fison67 commented Mar 30, 2021

You don't lose your data.
Just re-download a docker image then make a container again.
Data is located in config.json file.

@ilker-aktuna
Copy link
Author

ilker-aktuna commented Apr 1, 2021

thanks. but now I have 2 instances running :

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3f22b6a31974 fison67/mi-connector:latest "/bin/sh -c 'npm sta…" 49 seconds ago Up 15 seconds mi-connector
15f7363dbe36 jsurf/rpi-mariadb "docker-entrypoint.s…" 9 days ago Exited (0) 9 days ago mariadb
cfcb5adcb0b8 fison67/mi-connector-arm:latest "/usr/bin/entry.sh /…" 2 months ago Up 5 hours mi-connector-arm

did I do something wrong resulting in 2 instances ?

besides, I see that mariadb is not running. installation instructions do not involve a step to run it after reboot.
is this normal ?

when I try to run it , I get this error:

docker run -d --name mariadb -e MYSQL_ROOT_PASSWORD=password1234 -e TZ=Asia/Seoul -p 33006:3306 -d jsurf/rpi-mariadb

docker: Error response from daemon: Conflict. The container name "/mariadb" is already in use by container "15f7363dbe3681c34567339f4eb79e61dee1b5889a72a0f7908a761b69f20ee1". You have to remove (or rename) that container to be able to reuse that name.

@ilker-aktuna
Copy link
Author

also, you asked me to update smartapp and dth.
but I can't find any new dth/smartapp in "hubitat" branch.
which files should I use ?

@ilker-aktuna
Copy link
Author

I'm not sure what to do.
Should I delete the old container ?
and how can I make mariadb start at boot ?

also, you asked me to update smartapp and dth.
but I can't find any new dth/smartapp in "hubitat" branch.
which files should I use ?

@ilker-aktuna
Copy link
Author

I'm looking but I can't find. What am I missing ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants