New to SmartThings, can’t figure out how to grab air pressure “capability” from Xiaomi Aqara temperature/humidity/pressure sensor.
I was able to install the device handler and can see the temp, humidity and pressure in the SmartThings app.
My main goal is to push sensor data to my server (REST api/POST).
I’m using this event-logger app
and the code looks readable and understandable. But how do I add “pressure” capability?
section("Log these pressure sensors:") {
input "temperatures", "capability.pressureMeasurement", multiple: true, required: false
}
subscribe(pressures, "pressure", genericHandler)
I did not see “pressure” in the list of capabilities
https://docs.smartthings.com/en/latest/capabilities-reference.html
Only “sound pressure”
For reference, the device handler is from: