Skip to content
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

Missing temperature for lumi.weather with both 0.1.5 and dev branch #395

Closed
dzungpv opened this issue Sep 21, 2018 · 9 comments
Closed

Missing temperature for lumi.weather with both 0.1.5 and dev branch #395

dzungpv opened this issue Sep 21, 2018 · 9 comments
Labels
stale Stale issues

Comments

@dzungpv
Copy link
Contributor

dzungpv commented Sep 21, 2018

Firmware cc2631 from Koenkk.
I see the temperature is read but after the mqtt publish missing temperature, only with humidity and pressure. Seem this affect many device not only with this sensor like #387

'{"cid":"msTemperatureMeasurement","data":{"measuredValue":3166}}' of device 'lumi.weather' (0x00xxxxd000201b4xx)
  zigbee2mqtt:info 2018-9-21 03:22:04 MQTT publish, topic: 'zigbee2mqtt/0x00xxxxd000201b4xx', payload: '{"pressure":1010,"linkquality":99,"temperature":31.66}'
  zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +9ms
  zigbee2mqtt:debug 2018-9-21 03:22:04 Recieved zigbee message of type 'attReport' with data '{"cid":"msRelativeHumidity","data":{"measuredValue":5931}}' of device 'lumi.weather' (0x00xxxxd000201b4xx)
  zigbee2mqtt:info 2018-9-21 03:22:04 MQTT publish, topic: 'zigbee2mqtt/0x00xxxxd000201b4xx', payload: '{"temperature":31.66,"linkquality":99,"humidity":59.31}'
  cc-znp:AREQ <-- AF:incomingMsg, { groupid: 0, clusterid: 1027, srcaddr: 18442, srcendpoint: 1, dstendpoint: 1, wasbroadcast: 0, linkquality: 99, securityuse: 0, timestamp: 1369314, transseqnumber: 0, len: 17, data: <Buffer 18 43 0a 00 00 29 f2 03 14 00 28 ff 10 00 29 76 27> } +9ms
  zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +1ms
  zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +12ms
  zigbee2mqtt:debug 2018-9-21 03:22:04 Recieved zigbee message of type 'devChange' with data '{"cid":"msTemperatureMeasurement","data":{"measuredValue":3166}}' of device 'lumi.weather' (0x00xxxxd000201b4xx)
  zigbee2mqtt:debug 2018-9-21 03:22:04 Recieved zigbee message of type 'devChange' with data '{"cid":"msRelativeHumidity","data":{"measuredValue":5931}}' of device 'lumi.weather' (0x00xxxxd000201b4xx)
  serialport:unixRead waiting for readable because of code: EAGAIN +42ms
  serialport:poller Polling for "readable" +85ms
  zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +12ms
  zigbee2mqtt:debug 2018-9-21 03:22:04 Recieved zigbee message of type 'attReport' with data '{"cid":"msPressureMeasurement","data":{"16":10102,"20":-1,"measuredValue":1010}}' of device 'lumi.weather' (0x00xxxxd000201b4xx)
  zigbee2mqtt:info 2018-9-21 03:22:04 MQTT publish, topic: 'zigbee2mqtt/0x00xxxxd000201b4xx', payload: '{"humidity":59.31,"linkquality":99,"pressure":1010}'

@Robertops
Copy link

Is it the Xiaomi sensor WSDCGQ11LM? I have one and it is woking fine with 0.1.5.

@dzungpv
Copy link
Contributor Author

dzungpv commented Sep 21, 2018

@Robertops Yes, some time it show but sometime it blank, normal when press the button on the sensor, temperature update immediately, but now it not always update, i don't know what cause the problem, may be Hass or hardware issue

@stas-demydiuk
Copy link
Contributor

For me it reproducible too, sometimes it shows just humidity, sometimes just pressure, sometimes all values

@mrfoxbit
Copy link

My sensor sometines not update for a long time. Temperature, humidity definitely changes during that time (AC turn on)

image

@dzungpv
Copy link
Contributor Author

dzungpv commented Sep 21, 2018

Yes, humidity and pressure update but not the temperature. This problem not occurs before

@Koenkk
Copy link
Owner

Koenkk commented Sep 21, 2018

@dzungpv have you set cache_state to false in configuration.yaml?

@dzungpv
Copy link
Contributor Author

dzungpv commented Sep 21, 2018

@Koenkk No, it is enable by default

@AnhDuc85
Copy link
Contributor

I'm on latest (0.1.5) commit 7d49e13, see my log: https://pastebin.com/raw/cGbHamWx
Seems fine to me.

@stale
Copy link

stale bot commented Nov 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issues label Nov 20, 2018
@stale stale bot closed this as completed Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issues
Projects
None yet
Development

No branches or pull requests

6 participants