Feature:: Added support for HMS-450 inverters which begin with 1400

This commit is contained in:
Thomas Basler 2024-12-02 22:45:50 +01:00
parent 1c5a3cf6fe
commit a75543c309
2 changed files with 3 additions and 3 deletions

View File

@ -35,12 +35,12 @@ bool HMS_1CHv2::isValidSerial(const uint64_t serial)
{
// serial >= 0x112500000000 && serial <= 0x1125ffffffff
uint16_t preSerial = (serial >> 32) & 0xffff;
return preSerial == 0x1125;
return preSerial == 0x1125 || preSerial == 0x1400;
}
String HMS_1CHv2::typeName() const
{
return "HMS-500-1T v2";
return "HMS-450/500-1T v2";
}
const byteAssign_t* HMS_1CHv2::getByteAssignment() const

View File

@ -6,7 +6,7 @@
| HM_2CH | HM-600/700/800-2T | 1141 |
| HM_4CH | HM-1000/1200/1500-4T | 1161 |
| HMS_1CH | HMS-300/350/400/450/500-1T | 1124 |
| HMS_1CHv2 | HMS-500-1T v2 | 1125 |
| HMS_1CHv2 | HMS-450/500-1T v2 | 1125, 1400 |
| HMS_2CH | HMS-600/700/800/900/1000-2T | 1143, 1144, 1410 |
| HMS_4CH | HMS-1600/1800/2000-4T | 1164 |
| HMT_4CH | HMT-1600/1800/2000-4T | 1361 |