[Twiz O'Meter] Update to firmware 1.80

  • PriusTwizy
  • PriusTwizys Avatar
  • Junior Boarder
  • Junior Boarder
  • 2020 Twizy 80
  • Beiträge: 97
  • Dank erhalten: 151
26 Nov 2024 13:26 - 26 Nov 2024 13:26 #263584 von PriusTwizy
[Twiz O'Meter] Update to firmware 1.80
Hi, sorry it took me a while to respond, but I had problems inserting images into a post. That is solved now, (see here ) so now I can answer your question.

You are right, the "Subscribe" option is not selected. I'll switch that on and report back.


2020 Twizy 80 with Korea windows. 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: 26 Nov 2024 13:26 von PriusTwizy.
Folgende Benutzer bedankten sich: Delvecchio

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • PriusTwizy
  • PriusTwizys Avatar
  • Junior Boarder
  • Junior Boarder
  • 2020 Twizy 80
  • Beiträge: 97
  • Dank erhalten: 151
26 Nov 2024 22:50 #263597 von PriusTwizy
[Twiz O'Meter] Update to firmware 1.80
That was it! Silly that I didn't figure that one out myself :blush:



Now I have one final remaining problem, But I think the cause is somewhere in Home Assistant. The MQTT messages arrive perfectly in HA, via the MQTT broker. Example message during a charge:

{ "XXX": "255", "SOC": "49.2", "SOH": "100", "B-T": "", "M-T": "", "Tun": "", "kWh": "2.9", "Amp": "31", "RPM": "", "Nm ": "", "FW ": "", "C01": "3.92", "C02": "3.92", "C03": "3.92", "C04": "3.92", "C05": "3.92", "C06": "3.92", "C07": "3.92", "C08": "3.92", "C09": "3.92", "C10": "3.92", "C11": "3.92", "C12": "3.92", "C13": "3.92", "C14": "3.92", "Pac": "54.90", "T01": "13", "T02": "14", "T03": "14", "T04": "14", "T05": "14", "T06": "14", "T07": "14", "Reg": "", "ECO": "", "Nor": "", "220": "1", "CSt": "", "tAY": "", "B12": "", "PN1": "", "PN2": "", "KmT": "159244", "KmR": "27", "KmH": "", "SeT": "", "tKT": "", "tKR": "", "tTM": "", "tKW": "", "t10": "", "t01": "", "tMN": "", "tKH": "", "kW ": "1.97", "CEt": "", "CdK": "", "C-T": "33", "CKw": "", "Min": "", "T-T": "", "Acc": "", "AnX": "", "AnY": "", "AnZ": "" }

Then I have configured this in HA to select a couple of fields from the MQTT message as sensors in HA:

mqtt:
sensor:
- unique_id: twizy
name: "Twizy SoC"
state_topic: "ToM/TopicJson"
unit_of_measurement: "%"
value_template: "{{ value_json.SOC }}"
- unique_id: twizy
name: "Twizy km/h"
state_topic: "ToM/TopicJson"
unit_of_measurement: "km/h"
value_template: "{{ value_json.KmH }}"
- unique_id: twizy
name: "Twizy battery voltage"
state_topic: "ToM/TopicJson"
unit_of_measurement: "V"
value_template: "{{ value_json.Pac }}"
- unique_id: twizy
name: "Twizy km total"
state_topic: "ToM/TopicJson"
unit_of_measurement: "km"
value_template: "{{ value_json.KmT | multiply(0.1) }}"

...and more in the same format

I have two odd problems:
  1. The KmH and KmT entries worked at first, but now aren't available anymore as sensors in HA. I have changed nothing, when the car is on drive, the KmH and KmT fields have a value, yet they don't appear in HA anymore.
  2. Some values, for instance the kW, B-T and M-T fields never worked. They are present in the MQTT message, and I have tried to create a HA sensor from them via the scheme above, but they wouldn't appear.

Again, I realise this is almost certainly a HA thing, but do you maybe have any idea what might cause this?

2020 Twizy 80 with Korea windows. 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.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 585
  • Dank erhalten: 921
27 Nov 2024 13:46 - 27 Nov 2024 13:47 #263619 von Delvecchio
[Twiz O'Meter] Update to firmware 1.80
I have no experiences with HA.
I remeber someone managed to pair ToM with HA, but I didn't remind who at the moment :(
Letzte Änderung: 27 Nov 2024 13:47 von Delvecchio.
Folgende Benutzer bedankten sich: PriusTwizy

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Ulli-et-Tom
  • Ulli-et-Toms Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 2388
  • Dank erhalten: 1639
01 Dez 2024 09:53 #263727 von Ulli-et-Tom
[Twiz O'Meter] Update to firmware 1.80

Delvecchio schrieb: I have no experiences with HA.
I remeber someone managed to pair ToM with HA, but I didn't remind who at the moment :(


Yes, thats right.

LG Tom

Twizylino 08-2012 I Twizplay I OVMS V3 I Vorn:145/70R13 I Hinten:145/80R13 I Alu I Tagfahrlicht I Zusatzlager I KAUFAKKU :-)
Twizy(Hummel) Cargo 08-2015 I OVMS V3 I Alu I Zusatzlager I KAUFAKKU :-)

TCCN: tccn[at]gmx.de

Threema: MJRBDTEE

RTT2022 Nr.18
RTT2025 Nr.xx

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

   Become a Patron