Add initialization command for BLE-YL01#9681
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds an initialization command for the BLE-YL01 device to enable constant updates by setting a specific attribute during device configuration.
Key Changes
- Replaces the simple
tuya.configureMagicPacketconfiguration with a custom async function - Adds a write operation to set attribute 65502 with value 0x13 on the genBasic cluster
Comments suppressed due to low confidence (3)
Are you going to test this more? I see little risk in merging this PR, in most cases it doesn't work anyway so there is nothing to break (and probably this won't break it even it it is working) |
I was expecting someone else to provide some feedback not to depend just on my device. |
|
Thanks! |
Co-authored-by: Koen Kanters <[email protected]>
BLE-YL01 seems to need this attribute set in order to trigger constant updates.
This should be tested properly before being merged, but in my experience after setting up the device with this command, I keep receiving updates after some hours (although the frequency as I mention is not ideal, it can take multiple hours before triggering an update).