add Nefit EcomLine Excellent - #514

This commit is contained in:
proddy
2020-09-23 22:20:32 +02:00
parent d8bbdb504a
commit fb5851414f
2 changed files with 13 additions and 2 deletions

View File

@@ -143,8 +143,18 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & command) {
uart_telegram({0x08, 0x0B, 0x14, 00, 0x3C, 0x1F, 0xAC, 0x70});
}
if (command == "double") {
// question: do we need to set the mask?
std::string version("1.2.3");
EMSESP::add_device(0x08, 206, version, EMSdevice::Brand::BUDERUS); // Nefit Excellent HR30
EMSESP::add_device(0x09, 206, version, EMSdevice::Brand::BUDERUS); // Nefit Excellent HR30 Controller
// UBAuptime
uart_telegram({0x08, 0x0B, 0x14, 00, 0x3C, 0x1F, 0xAC, 0x70});
}
// unknown device -
if ((command == "unknown") || (command == "u")) {
if (command == "unknown") {
// question: do we need to set the mask?
std::string version("1.2.3");
@@ -723,7 +733,6 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & command) {
// check for error "[emsesp] No telegram type handler found for ID 0x255 (src 0x20, dest 0x00)"
rx_telegram({0xA0, 0x00, 0xFF, 0x00, 0x01, 0x55, 0x00, 0x1A});
}
// finally dump to console