[Twiz O´Meter] Instructions for ToM+ upgrade

  • PriusTwizy
  • PriusTwizys Avatar
  • Senior Boarder
  • Senior Boarder
  • 2020 Twizy 80
  • Beiträge: 160
  • Dank erhalten: 248
08 Dez 2025 10:42 - 08 Dez 2025 10:48 #275393 von PriusTwizy
[Twiz O´Meter] Instructions for ToM+ upgrade
Something appears to be wrong with the MQTT messages. See this example:

{ "XXX": "255", "SOC": "89.9", "SOH": "100", "B-T": "", "M-T": "", "Tun": "", "kWh": "5.4", "Amp": "-0", "RPM": "", "Nm ": "", "FW ": "", "C01": "4.07", "C02": "4.07", "C03": "4.07", "C04": "4.07", "C05": "4.07", "C06": "4.06", "C07": "4.07", "C08": "4.07", "C09": "4.07", "C10": "4.07", "C11": "4.07", "C12": "4.07", "C13": "4.07", "C14": "4.07", "Pac": "56.90", "T01": "15", "T02": "15", "T03": "14", "T04": "14", "T05": "14", "T06": "14", "T07": "14", "Reg": "", "CLK": "", "FLP": "", "220": "", "CSt": "", "tAY": "", "B12": "", "PN1": "", "PN2": "", "KmT": "0.0", "KmR": "", "KmH": "", "SeT": "", "tKT": "", "tKR": "", "tTM": "", "tKW": "", "t10": "", "t01": "", "tMN": "", "tKH": "", "kW ": "-0.03", "CEt": "", "CdK": "", "C-T": "14", "CKw": "", "Min": "", "T-T": "", "Acc": "", "AnX": "", "AnY": "", "AnZ": "" }

I've captured this MQTT message directly from the MQTT broker, so before it went into Home Assistant.

It appears fine, but check the KmT field, it says 0.0. This confuses my Home Assistant. I've put a "utilty meter" helper on this value, to keep track of daily/monthly km's driven. Because this helper is prepared for input that periodically resets, it will only go up. So, every time the KmT field goes to 0.0 (and then later back up to the real km number of something like 26000.0), the utility meter inserts the 26000 km and in my graphs it seems like I've driven 26000 km in one day.

All the other fields seem fine. Also, I didn't see this behavior on the 1.8 FW version.

Maybe this graph explains it better:



The yellow line is the value as directly taken from the MQTT field, no calculations are done on that. You can see it jumping up and down between 0 and 26000.
The blue line is the utilty meter helper, that can only "ratchet up".

@Delvecchio; what do you make of this?

[edt1]: I think these wrong MQTT messages are only sent as the Twizy is off - not driving. I've set a notification in Home Assistant, so now I can catch these events live. I'll try to confirm if this really only happens when the Twizy is off.
[edit2]: When the KmT value is back up to normal, I'll capture another MQTT message and post it, see if there are other differences.

2020 Twizy 80 with Korea windows. I have a Twiz'O'meter which is connected to my Home Assistant. I have a type 2 adapter and a CEE adapter so I can charge everywhere. I can read and understand German pretty well, but I can't write it ;-) So please feel free to reply in German to my English posts.
Anhänge:
Letzte Änderung: 08 Dez 2025 10:48 von PriusTwizy.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • PriusTwizy
  • PriusTwizys Avatar
  • Senior Boarder
  • Senior Boarder
  • 2020 Twizy 80
  • Beiträge: 160
  • Dank erhalten: 248
08 Dez 2025 13:42 #275397 von PriusTwizy
[Twiz O´Meter] Instructions for ToM+ upgrade
Here is a MQTT message with the correct KmT field:

{ "XXX": "255", "SOC": "76.1", "SOH": "100", "B-T": "15.71", "M-T": "51", "Tun": "", "kWh": "4.6", "Amp": "-5", "RPM": "0", "Nm ": "0", "FW ": "", "C01": "3.95", "C02": "3.95", "C03": "3.95", "C04": "3.95", "C05": "3.95", "C06": "3.94", "C07": "3.95", "C08": "3.95", "C09": "3.95", "C10": "3.95", "C11": "3.95", "C12": "3.95", "C13": "3.95", "C14": "3.95", "Pac": "55.30", "T01": "16", "T02": "16", "T03": "16", "T04": "15", "T05": "16", "T06": "16", "T07": "15", "Reg": "", "CLK": "", "FLP": "0", "220": "", "CSt": "", "tAY": "-7.48", "B12": "14.44", "PN1": "1", "PN2": "1", "KmT": "26076.0", "KmR": "50", "KmH": "0.0", "SeT": "30", "tKT": "43", "tKR": "39", "tTM": "599", "tKW": "0.5", "t10": "11.6", "t01": "39", "tMN": "0.05", "tKH": "25.9", "kW ": "-0.32", "CEt": "", "CdK": "", "C-T": "24", "CKw": "", "Min": " 602", "T-T": "22.35", "Acc": "1.18", "AnX": "0.30", "AnY": "-6.97", "AnZ": "-333.04" }

I think this was sent when I started my Twizy up, but I'm not 100% sure. I'll observe more events and report back.

I've glanced over these two messages and briefly looked at the differences, and besides the fact that some fields are empty when the Twizy is off (which is to be expected) I don't see any obvious erroneous fields. But I'll collect more data.


2020 Twizy 80 with Korea windows. I have a Twiz'O'meter which is connected to my Home Assistant. I have a type 2 adapter and a CEE adapter so I can charge everywhere. I can read and understand German pretty well, but I can't write it ;-) So please feel free to reply in German to my English posts.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

   Become a Patron