Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12k stars 1.67k forks source link

BLE-YL01: Free Chlorine is 10x the value #22985

Closed mzakharo closed 4 months ago

mzakharo commented 4 months ago

What happened?

BLE-YL01 Reports Free Chlorine levels, and zigbee2mqtt integration reports the value to be 10x the actual value in ppm. For example, according to ORP/pH tables, found online, Free chlorine for ORP=632 and pH=7.5, the Free Chlorine value should be 0.6ppm, but the reported integration value is 6ppm. image

What did you expect to happen?

chlorine ppm value reported should be multiplied by 0.1.

How to reproduce it (minimal and precise)

Pair the BLE-YL01 and start using it

Zigbee2MQTT version

1.38.0

Adapter firmware version

6.10.3.0 build 297

Adapter

Sonoff E

Setup

Docker container

Debug log

No response

Koenkk commented 4 months ago

Fixed!

Changes will be available in the dev branch in a few hours from now.

Burki24 commented 4 months ago

@Koenkk @mzakharo

Can we please reverse this fix. The Chlor is meassured in mg/L I tested it with my prof. PoolLab 2. And there, I have 3,41 mg/l and in Z2M it is now 0,3 mg/l, so I think we have to use the .raw version: image image

mzakharo commented 4 months ago

The value BLE-YL01 delivers is from the table mentioned above. They state this on the aliexpress page. You take ORP + pH values from the sensors and the table gives you the ppm chlorine. Also, check this value with Tuya app - they multiply by 0.1x also.