From 4d1651154d383dc83396b2899796b1c76ff6902d Mon Sep 17 00:00:00 2001 From: alejopm03 Date: Tue, 30 Apr 2024 23:23:43 -0300 Subject: [PATCH] feat(mcc): added mcc temperatures message --- can_ids_generator.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/can_ids_generator.py b/can_ids_generator.py index cbb9daa..15dea42 100644 --- a/can_ids_generator.py +++ b/can_ids_generator.py @@ -481,6 +481,20 @@ btype="uint16_t", units="A/100" ) +topic_aux_measurements.describe_byte( + name="mosfet_temp", + byte=3, + description="MOSFET temperature", + btype="uint8_t", + units="°C" +) +topic_aux_measurements.describe_byte( + name="diode_temp", + byte=4, + description="Diode temperature", + btype="uint8_t", + units="°C" +) module_mcc23.add_topic(topic_state) module_mcc23.add_topic(topic_measurements)