Closed athamour1 closed 1 year ago
Please make a driver log, loglevel debug
and attach it here as a file (drag & drop into the text field). The one you posted is not a driver log.
While the log is being recorded, re-interview the device (make sure to wake it up if it's a battery powered device).
Sorry, my bad, I think this is the correct log zwavejs_2023-03-28.log
@AlCalzone Is this the correct log?
It looks like the readings are being dropped because they are using a scale/unit that the device did not report as supported. Unfortunately, the log does not contain the re-interview I asked for, so I don't see what is supported.
I re-run the re-interview and this logs created logs.zip @AlCalzone is saw inside now the interview in logs
Yeah, there we have it. The device reports that it only supports the "Mole per cubic meter" unit (0) for PM2.5:
2023-04-04T11:23:18.619Z DRIVER « [Node 005] [REQ] [BridgeApplicationCommand]
│ RSSI: -63 dBm
└─[MultilevelSensorCCSupportedScaleReport]
sensor type: Particulate Matter 2.5
supported scales:
· Mole per cubic meter
but then uses the "Microgram per cubic meter" unit (1) for reports, even though "Mole per cubic meter" is requested. I suspect this is another classic case of a mis-formatted support bitmask, where 0000_0001
was meant to encode a 1 but actually means 0. The bitmask should have been 0000_0010
.
@zwave-js-bot add compat flag to 0x015f:0x0a02:0x5102
// The device reports in a different scale than it reports support for
disableStrictMeasurementValidation: true
🔨 I created a PR at #5624 - check it out!
Thank you very much for the help @AlCalzone, much appreciated!
Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
NO, my problem is NOT within Z-Wave JS UI
Checklist
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem was not mentioned there.
Describe the bug
What causes the bug?
What do you observe?
What did you expect to happen?
Steps to reproduce the behavior:
Device information
Manufacturer: MCO-Home Model name: MH10-PM2.5-WA Node ID in your network: 5
How are you using
node-zwave-js
?zwave-js-ui
(formerlyzwavejs2mqtt
) Docker image (latest)Which branches or versions?
version: zwave-js-ui: 8.11.0.598632a zwave-js: 10.12.0
Did you change anything?
no
Did this work before?
No, it never worked anywhere
Attach Driver Logfile