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

Added support for the Xioami Flower Care sensor #779

Merged
merged 13 commits into from Aug 22, 2023

Conversation

0Flush0
Copy link
Contributor

@0Flush0 0Flush0 commented Dec 31, 2022

Added support for the miflora plant sensor to the scanning/active query functionality. The sensor data is being read is and send to the mqtt server with the following topic: roomsTopic/miflora/fingerprintAdress. The code for communicating with the devices is in the lib folder and there is support for reading battery, temperature, moisture, light and conductivity data. I have added some UI functionallity, to tweak the interval at which the sensor is contacted and to specifiy the bluetooth adresses of the devices that you want to be affected. If any changes are necessary, i am always happy to modify my code!! Thanks in advance and sorry for my bad english :)

These two resources there used:
https://github.com/vrachieru/xiaomi-flower-care-api#protocol
https://github.com/basnijholt/miflora

src/main.cpp Outdated Show resolved Hide resolved
src/main.cpp Outdated Show resolved Hide resolved
platformio.ini Outdated Show resolved Hide resolved
lib/BleFingerprint/BleFingerprint.cpp Outdated Show resolved Hide resolved
lib/BleFingerprint/BleFingerprint.h Outdated Show resolved Hide resolved
@DTTerastar DTTerastar force-pushed the master branch 5 times, most recently from 999e40b to 20fc51c Compare March 5, 2023 00:20
@stale stale bot added the wontfix This will not be worked on label Jun 26, 2023
@ESPresense ESPresense deleted a comment from stale bot Jun 27, 2023
@stale stale bot removed the wontfix This will not be worked on label Jun 27, 2023
@0Flush0 0Flush0 requested a review from DTTerastar August 9, 2023 18:40
@DTTerastar DTTerastar force-pushed the master branch 4 times, most recently from ee19a98 to 2900945 Compare August 15, 2023 02:51
@DTTerastar DTTerastar merged commit 15a3f8c into ESPresense:master Aug 22, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants