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

Support for Xiaomi Ropot #110

Closed
frittes opened this issue Jun 10, 2018 · 4 comments
Closed

Support for Xiaomi Ropot #110

frittes opened this issue Jun 10, 2018 · 4 comments

Comments

@frittes
Copy link

frittes commented Jun 10, 2018

It would be nice to have support for Xiaomi Ropot.

@ChristianKuehnel
Copy link
Collaborator

Any case anyone wonders: This is a flower pot with integrated sensor:
https://de.aliexpress.com/item/Original-Xiaomi-Mijia-Smart-Flower-Pot-Flora-Ropot-Monitor-Waterproof-Intelligent-Detection-Pots-Plants-Grass-Soil/32818376348.html

@frittes Did you find any reverse-engineering on the web for this? We need someone with such a device to figure how to read the data from it...

@tpaulin
Copy link

tpaulin commented Jun 15, 2018

Hi,

According to this project:

https://github.com/WeeJeWel/com.mi.flora/blob/master/drivers/ropot/device.js
https://github.com/WeeJeWel/com.mi.flora/blob/master/drivers/flora/device.js

the data is stored in almost the same way and in the same location (excluding light intensity ofc.)

Only problem is that the Ropot seems to return 24 bytes versus the Flora's 16, so the current implementation raises an exception when checking the length of _cache - line 138 in the poller - as well when unpacking the data during parsing. Trimming the cache seems to work fine, however, not sure if anything relevant is stored there.

@chrostek
Copy link
Contributor

chrostek commented Jul 2, 2018

#111

@ChristianKuehnel
Copy link
Collaborator

implemented with #111

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

No branches or pull requests

4 participants