Add support for Landis+Gyr meters using "LGF" manufacturer ID

This commit is contained in:
Lasse Bang Mikkelsen 2022-12-16 20:20:40 +01:00
parent afa47ea633
commit fabdfbadf4
No known key found for this signature in database
GPG Key ID: 5FB75AB9E0AB5EC2

View File

@ -33,6 +33,9 @@ IEC6205621::IEC6205621(const char* p) {
} else if(listId.startsWith("Ene") || listId.startsWith("EST")) {
meterType = AmsTypeSagemcom;
listId = listId.substring(0,4);
} else if(listId.startsWith("LGF")) {
meterType = AmsTypeLandis;
listId = listId.substring(0,4);
} else {
meterType = AmsTypeUnknown;
listId = listId.substring(0,4);