diff --git a/classCAN.py b/classCAN.py index e7bf2c2..b8a0569 100644 --- a/classCAN.py +++ b/classCAN.py @@ -132,9 +132,9 @@ class CANBackend: "MV08": 100 * data[6] / 255, }) - elif cob_id == 0x2B2 and len(data) >= 7: - self.latest_data[2].update({ - "PU2_STATE" : data[0], + elif cob_id == 0x2AB and len(data) >= 7: + self.latest_data[1].update({ + "PU1_STATE" : data[0], "Conductivity_Feed" : int.from_bytes(data[1:3], 'little') / 100.0, "Conductivity_Permeate": int.from_bytes(data[3:5], 'little') / 100.0, "Conductivity_Product" : int.from_bytes(data[5:7], 'little') / 100.0,