Skip to content

Commit

Permalink
Merge pull request #36 from lorenzo-deluca/bugfix/fix_issue_#34_-_Res…
Browse files Browse the repository at this point in the history
…et_Alarm_History

fix reset memory alarm for all areas
  • Loading branch information
lorenzo-deluca authored Jun 24, 2023
2 parents 90c00ba + 3ac7e29 commit f6baabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bentel-kyo/bentel_kyo32.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class Bentel_Kyo32 : public esphome::PollingComponent, public uart::UARTDevice,
byte cmdGetPartitionStatus[6] = {0xf0, 0x02, 0x15, 0x12, 0x00, 0x19}; // Partitions Status (305) - Outputs Status - Tamper Memory - Bypassed Zones - Zone Alarm Memory - Zone Tamper Memory
byte cmdGetPartitionStatus_Kyo8[6] = {0xf0, 0x68, 0x0e, 0x09, 0x00, 0x6f}; // Partitions Status (305) - Outputs Status - Tamper Memory - Bypassed Zones - Zone Alarm Memory - Zone Tamper Memory
byte cmqGetSoftwareVersion[6] = {0xf0, 0x00, 0x00, 0x0b, 0x00, 0xfb}; // f0 00 00 0b 00 fb
byte cmdResetAllarms[9] = {0x0F, 0x05, 0xF0, 0x01, 0x00, 0x05, 0x07, 0x00, 0x07};
byte cmdResetAllarms[9] = {0x0F, 0x05, 0xF0, 0x01, 0x00, 0x05, 0xff, 0x00, 0xff};

const std::vector<uint8_t> cmdGetAlarmInfo = {0xf0, 0x00, 0x00, 0x0b, 0x00};
const size_t RPL_GET_ALARM_INFO_SIZE = 13;
Expand Down

0 comments on commit f6baabd

Please sign in to comment.