We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Taken from Smartthings CLI logcat:
(Aqara Weather)> emitting event {"attribute_id":"atmosphericPressure","capability_id":"atmosphericPressureMeasurement","component_id":"main","state":{"unit":"kPa","value":104}} (Aqara Weather)> emitting event {"attribute_id":"atmosPressure","capability_id":"legendabsolute60149.atmosPressure","component_id":"main","state":{"value":1041}}
So there seems to be two events and in Edge driver:
device:emit_event(capabilities.atmosphericPressureMeasurement.atmosphericPressure({value = utils.round(mBar/10), unit = "kPa"})) device:emit_event(atmos_Pressure.atmosPressure(mBar))
Thus i reckon the last emit in driver is always relevant ?
Future possibility to choose mbar or kPa ? (for example in device settings)
The text was updated successfully, but these errors were encountered:
feel free to create a PR,
personally, I don't see any value in the pressure measurement personally, especially in different units.
Sorry, something went wrong.
No branches or pull requests
Taken from Smartthings CLI logcat:
(Aqara Weather)> emitting event {"attribute_id":"atmosphericPressure","capability_id":"atmosphericPressureMeasurement","component_id":"main","state":{"unit":"kPa","value":104}}
(Aqara Weather)> emitting event {"attribute_id":"atmosPressure","capability_id":"legendabsolute60149.atmosPressure","component_id":"main","state":{"value":1041}}
So there seems to be two events and in Edge driver:
device:emit_event(capabilities.atmosphericPressureMeasurement.atmosphericPressure({value = utils.round(mBar/10), unit = "kPa"}))
device:emit_event(atmos_Pressure.atmosPressure(mBar))
Thus i reckon the last emit in driver is always relevant ?
Future possibility to choose mbar or kPa ? (for example in device settings)
The text was updated successfully, but these errors were encountered: