This commit is contained in:
J. Nick Koston 2023-06-07 20:15:09 -05:00
parent ea3dc116a0
commit 147383498d
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,10 @@ namespace ratgdo {
ESP_LOGD(TAG, "Light: %d (toggle)", light);
} else if (cmd == 0x84) {
} else if (cmd == 0x280) {
ESP_LOGD(TAG, "Pressed: %s", "pressed" if byte1 == 1 else "released");
} else if (cmd == 0x48c) {
ESP_LOGD(TAG, "Openings: %d", (byte1 << 8) | byte2);
} else if (cmd == 0x285) {
motion = 1; // toggle bit
ESP_LOGD(TAG, "Motion: %d (toggle)", motion);