-
Notifications
You must be signed in to change notification settings - Fork 819
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
How to get temperature/Humidity from Mijia model LYWSD02 #412
Comments
It is available from v0.9.2beta. You can take the code from the dev branch. |
Perfect!!! Thanks you. |
Don't forget to take the libraries from the lib folder of the OMG repository. The ble one supplied with arduino esp32 env is missing an important functionnality. |
I tried the development branch with ESP8266 and HM-10(FW v608) , but it still only get the id, rssi, distance and service data. 3F59C8828829 is the MAC address of LYWSD02 and I set the whitelist for it. Am I right? Thank you. |
Could you copy/paste on this issue different exempla of service data you are seeing for the LYWSD02 please |
From the serial monitor:
And the whitelist seems still not working with the last commit in the development branch. |
Sorry for the wrong whitelist pattern I've made. The whitelist works well in mqtt but still only get the id, rssi, distance and service data. Below the message shows in mqtt explorer.
And the sevicedata changes like |
@jamesyym thanks for pointing this error with HM10 use. It has been corrected into the dev branch |
I flashed the release OpenMQTTGateway v0.9.1 on ESP32 and I am not getting the temperature and from the Clock Mijia model LYWSD02 as in this post:
https://1technophile.blogspot.com/2019/06/integration-of-mijia-clock-temperature.html
I just get the id, rssi, distance and service data.
Any Help?
The text was updated successfully, but these errors were encountered: