-
Notifications
You must be signed in to change notification settings - Fork 117
null values from LYWSD03MMC #257
Comments
Did you also try to set the mac in uppercase in config file? Tested with: pvvx v4.0 firmware on LYWSD03MMC HW 2.0 |
Hi I have the same problems with zero values coming from my LYWSD03MMC B1.6, I have flashed them with fimware v4.0 Environment:
I have setup the confg for one devive in uppercase and for one device in lower case. hcitool lescan shows all MAC in upercase I have also tested the interface with some other script which generates outputs |
@piatho Did you also checked the debug output? Are there also these "no data received" messages? How are your programming skills? |
Hi @jewelooper , Passive mode: both tried, usually passive should be the preferred option I would rather not think of an issue with the bluetooth driver, since the same device to provide an output and updated values when running openmqttgatway/Theengs. (Theengs is a bit to resource heavy, thats why i want to replace it) I am running your and theengs in a container - obviously not at the same time. On your suggestion to implement some debugs comments in the worker, i am not sure if can adjust the docker container in a way you describe. I am rather new to docker :-) |
Update: The logs showed that devices are scanned but now raw data been recorded. That helped me to become clear that the error was about case sensitivity. "res" contains the MAC in lower cases and thus did not find a match. After changing the config file to lowercase, gateway finds values and updates perfectly. Thanks for the help @jewelooper |
[X] I've read the Troubleshooting Wiki, my problem is not described there and I am already using the specified minimum bluez version.
Describe the bug
I can run the script but my sensor returns null values
Expected behavior
Correct temp and humidity values should be pulled from the sensor.
Config
Debug gateway logs
Server (please complete the following information):
Additional context
Sensor connects successfully to Android phone.
Has pvvx firmware flashed.
The text was updated successfully, but these errors were encountered: