-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
What happened?
I just bought an outdoor temperature sensor:
https://de.aliexpress.com/item/1005010058658736.html?spm=a2g0o.order_list.order_list_main.15.579b5c5fq5pBfD&gatewayAdapt=glo2deu
Problem is, that the relative humidity is way off. By an order of magnitude to be exact.
I've read multiple times online, that sometimes the sensors have a divider value of 10 instead of 100. That is quite matching my observations.
My sensor is having 5.3% while a similar sensor has 58% (at similar temperature).
I've quickly looked at the code and noticed that often the divider is hardcoded. I think it would be optimal, that we can adjust the divider value in the device specific settings. So we can save many different converters for pretty much the same thing.

What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.6.2
Adapter firmware version
7.4.5
Adapter
Sonoff zigbee dongle plus e (with ember)
Setup
Proxmox server running HAOS. Zigbee2mqtt as plugin, but most likely unrelated
Device database.db
entry
{"id":34,"type":"EndDevice","ieeeAddr":"0xa4c13848690df056","nwkAddr":8803,"manufId":4417,"manufName":"_TZ3000_isw9u95y","powerSource":"Battery","modelId":"TS0201","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":770,"inClusterList":[0,3,1,1280,1026,1029,1024,57346],"outClusterList":[10,25],"clusters":{"genBasic":{"attributes":{"65503":"\u0000\u0000\u0000\u0000\f��z0\u0012","65507":"sdk:3.0.16;cfg:0.0.0;ker:0.0.19;","65508":0,"65534":0,"dateCode":"","appVersion":64,"manufacturerName":"_TZ3000_isw9u95y","zclVersion":3,"modelId":"TS0201","powerSource":3}},"ssIasZone":{"attributes":{"iasCieAddr":"0x94b216fffe8d3489","zoneState":0}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}},"manuSpecificTuya2":{"attributes":{"53268":0,"53269":0}},"msTemperatureMeasurement":{"attributes":{"measuredValue":1801}},"msRelativeHumidity":{"attributes":{"measuredValue":580}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":64,"stackVersion":1,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":1946894323},"lastSeen":1760181492133}
Debug log
No response