-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Aqara SRTS-A01 heartbeat decoding (fixes battery percentage and firmware version) #5363
Aqara SRTS-A01 heartbeat decoding (fixes battery percentage and firmware version) #5363
Conversation
lib/xiaomiTrvUtils.js
Outdated
@@ -0,0 +1,79 @@ | |||
const xiaomi = require('./xiaomi'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be merged into lib/xiaomi.js
similar to how this was done for the fp1?
zigbee-herdsman-converters/lib/xiaomi.js
Line 741 in a647274
const fp1 = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9c00c0a
# Conflicts: # devices/xiaomi.js
clean, thanks! |
@protyposis Could you please fix the version prefix? With the new FW 1030 the version is displayed as 0.0.0_01030 |
In PR, among other things, formatting of firmware version has been fixed. |
Add decoding of heartbeat messages (sent ~once per hour) of the Aqara TRV. This adds a few new properties, increases the update frequency of some, and fixes a few related issues. This PR is inspired by #4763 which proposed basic heartbeat decoding.
setup
state,power_outage_count
, anddevice_temperature
.valve_alarm
.valve_detection
expose.local_temperature
expose.0.0.0_0025
advertised by the basic cluster (which doesn't update with firmware updates).