[Twiz O'Meter] Update to firmware 1.4

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 492
  • Dank erhalten: 702
13 Jan 2023 21:59 - 13 Jan 2023 22:46 #238676 von Delvecchio
[Twiz O'Meter] Update to firmware 1.4
Hi everyone, finally time has come... for the second firmware release!

Before discussing about it, please note that the project has been renamed "Twiz o'meter", loosing the Y letter, and that it got also the short name "ToM".

I'm happy and proud to announce that more than 20 Twiz o'meters are currently on your Twizys around the world.
So thanks you all for the appreciation and the improvement suggestions for my project I received both on the forum and through private messages.
This is a huge update and you will have a lot to play with while on your Twizy in the next few weeks.
New pages on ToM where added (trip page/alarm log page), web server support to easily do your configuration on your phone/laptop, alarms creation capability, real-time data monitor on your phone and many other new features and improvements...
And more importantly, all of these new features, are explained and deepen in details using screenshots and photos in the official Twiz o'meter User Manual and shown in the video preview .
For the bravest ones of you I added a page on the web server to configure the expansion connector to have more fun with your ToM.
So, why are you still waiting? Read the changelog to know all the new features and trust me, it's worth it!


What is new in firmware 1.4
=================================
- Increased the MQTT topic fields to 40 chars
- Enlarged text field in keyboard page to support up to 40 chars strings and inserted word wrap, to split entered text in two line, when necessary
- Added "-" (minus symbol) in keyboard, forgotten by mistake
- user / topic in / topic out MQTT fields now scroll
- Merged on LCD memory all the pages with the same layout, to gain free memory for other future pages
- Wi-Fi IP/MAC/SID is refreshed also when the Wi-Fi page is already opened, not only when you enter in it
- MQTT status is refreshed also when the MQTT page is already opened, not only when you enter in it
- Inserted a fw version check to store new preferences structure. Remind to enter and exit from setting menu at the first ON after update.
- Data in foreground now have unit value. To do this mod, some font chars have been redrawn to swap them with a special unit value char. Due to the limited graphic free space, this was the best way found.
- 12V battery voltage is now available as selectable icon. The value is taken directly from CANbus
- Added kW item, for instant consumption
- Added ODO, speed, remaining Km items. These values are taken directly from CANbus.
- Ampere and Kilowatt icons have been redrawn, with correct unit value. Flash symbol is reserved only to orange reku icons
- Implemented a webserver on port 80, with a few pages useful for real-time monitoring and to simplify configuration of Twiz o'meter
- The device now also acts as an access point, which allows to reach the webserver also without internet connection (beta). You can call the access point entering its IP address 192.188.1.188
- Added firmware support for expansion port. The two signal pins of that port are fully configurable to work as input or output, active low or high.
This port will be useful, for example, to drive an external relè to light on stop lamps during reku, or to display an icon according to the status of an input pin
- Added seven little icons on the bottom side of the display, like the ones in the notification tray of an Android phone, for warning purposes.
Two are system icons, to show Wi-Fi and MQTT connection status. Wi-Fi icon blinking means that an attempt to connect to Wi-Fi network is in progress
The other five icons are fully configurable, according to user needs. They can show, for example, the state of the expansion port's input pins or some warnings (engine/battery overheating, low battery charge etc.)
- 10 alarms are now available. Via the dedicated webserver page, you can configure the alarms: set the item to control, the condition (lower/greater/equal), the reference value which will trigger the alarm and the action to take when the condition is met
You can choose between many actions: display a popup (touchable or timed out), light on one of the tray icons, activate an output of the expansion port and/or send a MQTT message
- Inserted a new page for alarm logging. Pop-upped or silent alarms will be shown and saved in memory with item/value info and triggering date and time
Can be shown/saved up to 21 entries, in chronological descending order, starting from the most recent one. Old entries exceeding 21 limit, will be overwritten
Single entry can be deleted from the log page and removed from memory.
- Improved algorithm to calculate ETA charging time
- Traction battery temperature is now calculated from the average of cells temperature. In case an edriverBMS is detected, only three temperature sensors are considered.
- Added a trip page, with support for five different trips. The data available for each trip are: distance traveled (Km), time, average speed (Km/h), kilometers left, consumed power (kWh), consumed power per Km, consumed power per minute, estimated consumption per 100 Km.
An history of the five trips is accessible via webserver, with the end date/time of the trip.


Bug fixed:
=================================
- Solved the boring problem which caused Twiz o'meter to sometimes start with charging page when it wasn't in charge (it was due to 12V battery background charging)


Known bugs:
=================================
- Sometimes web server has some troubles to load. In this case, it's helpul to connect your Twiz o'meter to a Wi-Fi network before attempting to load the web server main page.
- Trip average inclination doesn't return correct value.


Special thanks goes to:
=================================
- Snorre, who contributed a lot for the whole developing process (although in Germany the temperature is freezing for Twizy) and was probably looking forward to seeing ToM new fw publishing as much as me. He gave me a lot of great improvement ideas and basically all of them are included in this new update. So I must thank him again for his serious and steady dedication to my project and for all the time he spent testing new features (sometimes he had to flash more fw versions in the same day) and finding out new bugs to fix.
- green_fox, who gave me the brilliant idea of the expansion cable to connect external components (now available in the last ToM units and supported by the firmware).
- Ulli-et-Tom, that encouraged me to write a ToM user manual as the one I'm proud to share in a dedicated post.
- HollandHannes, who gave me the great idea of the trip page to stores trips data and suggested the short name T.o.M. (Twiz O Meter)
- maikt, who (if I'm not wrong) was the first to give me the useful idea of adding measure units to each available value (listed in the ToM manual as well).


Updating procedure:
=================================
To install the new fw you have to update both the LCD and the Blackbox, as explained in detail in ToM manual (in english) and in this topic in english and in german (thanks to Snorre for this).
But, once again, you have to strictly follow all the steps.
This means that no one can be skipped or changed at your taste, otherwise you will risk to permanently brick your device.
So, for example, when you'll read that you have to enter the value "0x10000" , please enter this value not another one and when you'll read that you have to remove the mircoSD after the LCD update is completed and while the whole system is still powered off (i.e. before turn on again the system), simply do it!
The updating procedure is an easy task which could be successfuly performed by each one of you, without special skills, but please don't proceed by intuition!


That's all... for now!

Dieser Beitrag enthält Anhänge.
Bitte anmelden (oder registrieren) um sie zu sehen.

Letzte Änderung: 13 Jan 2023 22:46 von Delvecchio.
Folgende Benutzer bedankten sich: Akku61, sunneraindler, Snorre, maikt, villadsen, Ulli-et-Tom, Kerstin66, AndiEcker, HollandHannes, green_fox, Sherlock

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Snorre
  • Snorres Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 5612
  • Dank erhalten: 3542
14 Jan 2023 00:38 #238680 von Snorre
[Twiz O'Meter] Update to firmware 1.4
@Fabio:
To avoid misunderstandings it would be better to rename the firmware file for the display from Fw13_LCD.tft to Fw14_LCD.tft.;)

Twizy Cargo, EZ 07/2014, 100.000 km, Stand 08/2023
Folgende Benutzer bedankten sich: Delvecchio

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 492
  • Dank erhalten: 702
14 Jan 2023 00:59 - 14 Jan 2023 01:07 #238682 von Delvecchio
[Twiz O'Meter] Update to firmware 1.4
You are right. I wrongly named the lcd fw, but is the right 1.4 version.
Unfortunatly the time to modify the first post expired. :(
Letzte Änderung: 14 Jan 2023 01:07 von Delvecchio.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Snorre
  • Snorres Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 5612
  • Dank erhalten: 3542
14 Jan 2023 09:31 #238685 von Snorre
[Twiz O'Meter] Update to firmware 1.4
Falls jemand sich überhaupt nicht traut, das Update in Eigenregie durchzuführen, kann er mir sein ToM zuschicken und ich mache das dann.
Kostenpunkt: 0,00 € zzgl. Versandkosten
Ich möchte aber dennoch alle ermutigen, es zunächst selbst zu versuchen.
Wenn ihr scheitert könnt ihr es immer noch schicken.
Meine Erfahrungen mit den Updates sind so, dass man selbst bei Fehlern keinen bleibenden Schaden verursachen kann.
Aber darauf kann ich keine Garantie geben.
Spiegelt nur meine Erfahrungen wider.

Twizy Cargo, EZ 07/2014, 100.000 km, Stand 08/2023
Folgende Benutzer bedankten sich: weiss60, sunneraindler, Ulli-et-Tom, Delvecchio, Sherlock

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 492
  • Dank erhalten: 702
14 Jan 2023 09:52 #238688 von Delvecchio
[Twiz O'Meter] Update to firmware 1.4

Snorre schrieb: Falls jemand sich überhaupt nicht traut, das Update in Eigenregie durchzuführen, kann er mir sein ToM zuschicken und ich mache das dann.

Wow! Beautiful initiative. Thank you Martin.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Ulli-et-Tom
  • Ulli-et-Toms Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 2290
  • Dank erhalten: 1524
15 Jan 2023 15:52 #238745 von Ulli-et-Tom
[Twiz O'Meter] Update to firmware 1.4
Hi Fabio,

I was going to do the update today.
I started with the display. After inserting the 32GB MicroSD Card and then turning on the OBD and ignition on, the display has only blinked. Do you have a tip for me ? I will test the days again another SD card.

Greetings 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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Snorre
  • Snorres Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 5612
  • Dank erhalten: 3542
15 Jan 2023 16:03 #238747 von Snorre
[Twiz O'Meter] Update to firmware 1.4

Ulli-et-Tom schrieb: After inserting the 32GB MicroSD Card and then turning on the OBD and ignition on, the display has only blinked.


Was heisst das?
War im Display keinerlei Text zu lesen?
Hat die Hintergrundbeleuchtung geblinkt?
Funktioniert das ToM nach dem Entfernen der SD-Karte nun wieder unverändert mit der alten Firmware oder ist das Display nun tot?
Eine andere SD-Karte zu testen scheint mir am sinnvollsten.
Ich verwende immer eine mit 8 GB, wenn ich mich nicht irre,

Twizy Cargo, EZ 07/2014, 100.000 km, Stand 08/2023
Folgende Benutzer bedankten sich: Delvecchio

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Ulli-et-Tom
  • Ulli-et-Toms Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 2290
  • Dank erhalten: 1524
15 Jan 2023 17:05 #238750 von Ulli-et-Tom
[Twiz O'Meter] Update to firmware 1.4

Snorre schrieb:

Ulli-et-Tom schrieb: After inserting the 32GB MicroSD Card and then turning on the OBD and ignition on, the display has only blinked.


Was heisst das?
War im Display keinerlei Text zu lesen?
Hat die Hintergrundbeleuchtung geblinkt?
Funktioniert das ToM nach dem Entfernen der SD-Karte nun wieder unverändert mit der alten Firmware oder ist das Display nun tot?
Eine andere SD-Karte zu testen scheint mir am sinnvollsten.
Ich verwende immer eine mit 8 GB, wenn ich mich nicht irre,


Genau, der Hintergrund hat weiß geblinkt. Es war kein Text zu lesen. Und ja, nach dem entfernen der Karte funktioniert das Display wieder normal mit der vorhandenen FW.
Ich probiere mal eine 8GB...

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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 492
  • Dank erhalten: 702
15 Jan 2023 19:29 #238760 von Delvecchio
[Twiz O'Meter] Update to firmware 1.4
Don't forget to format the microSD in FAT32 and copy in its root only the fw file.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Snorre
  • Snorres Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 5612
  • Dank erhalten: 3542
15 Jan 2023 22:06 #238777 von Snorre
[Twiz O'Meter] Update to firmware 1.4

Ulli-et-Tom schrieb: Do you have a tip for me ?


Ich hätte noch einen Tipp für dich:
Hast du schon die Software für das Update der Blackbox ausprobiert?
Ehe du das LCD updatest solltest du das auch mal ausprobieren.
Allerdings ohne das Flashen der Firmware tatsächlich zu starten.
Aber bis zu diesem Punkt kannst du das Szenario mal ausführen.
Dann kannst du schon erkennen, ob dort auch Hürden auf dich warten.
Nachdem das LCD geflasht wurde, funktioniert das ToM erst wieder wenn auch die Blackbox geflasht ist.
Und da wäre es doch ärgerlich, wenn du da dann auf das nächste Problem stoßen würdest.

Twizy Cargo, EZ 07/2014, 100.000 km, Stand 08/2023

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Ulli-et-Tom
  • Ulli-et-Toms Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 2290
  • Dank erhalten: 1524
15 Jan 2023 23:00 #238783 von Ulli-et-Tom
[Twiz O'Meter] Update to firmware 1.4

Delvecchio schrieb: Don't forget to format the microSD in FAT32 and copy in its root only the fw file.


Yes, I have taken that into account. After all, I'm no stranger to that. I still come from the old DOS world, if someone still knows it...
I think the problem is the MicroSD card. I'll try a 2GB tomorrow

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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Ulli-et-Tom
  • Ulli-et-Toms Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 2290
  • Dank erhalten: 1524
15 Jan 2023 23:02 #238784 von Ulli-et-Tom
[Twiz O'Meter] Update to firmware 1.4

Snorre schrieb:

Ulli-et-Tom schrieb: Do you have a tip for me ?


Ich hätte noch einen Tipp für dich:
Hast du schon die Software für das Update der Blackbox ausprobiert?
Ehe du das LCD updatest solltest du das auch mal ausprobieren.
Allerdings ohne das Flashen der Firmware tatsächlich zu starten.
Aber bis zu diesem Punkt kannst du das Szenario mal ausführen.
Dann kannst du schon erkennen, ob dort auch Hürden auf dich warten.
Nachdem das LCD geflasht wurde, funktioniert das ToM erst wieder wenn auch die Blackbox geflasht ist.
Und da wäre es doch ärgerlich, wenn du da dann auf das nächste Problem stoßen würdest.


Guter Tipp ! Wollt ich auch erst machen, aber dann waren mir 6°C dann doch zu kalt.
Morgen geht es weiter...

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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Ulli-et-Tom
  • Ulli-et-Toms Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 2290
  • Dank erhalten: 1524
17 Jan 2023 16:50 #238902 von Ulli-et-Tom
[Twiz O'Meter] Update to firmware 1.4
Hi Fabio,

ich habe heute das Update auf 1.4 gemacht.
Mit der richtigen SD-Card (2GB) hat es funktioniert. Auch das Update für die Blackbox.
Aber leider habe ich jetzt das Problem, dass in den Einstellungen der Screen nicht mehr funktioniert. Wenn ich einen Veränderung z.B. von "SoH" auf "Trip" mache, dann bleibt das Icon auf "SoH" stehen. Ich muss erst die Einstellungen verlassen, erneut aufrufen und dann wird die Veränderung angezeigt.
Des weiteren geht das ToM beim laden gar nicht an.
Ich war kurz davor wieder zurück zu wechseln auf die 1.3 :(

LG Tom

Operation gelungen, Patient tot :mrgreen:

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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Snorre
  • Snorres Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 5612
  • Dank erhalten: 3542
17 Jan 2023 17:09 #238903 von Snorre
[Twiz O'Meter] Update to firmware 1.4
Hallo Tom.

Sei mir bitte nicht böse, aber ich werde aus deinem Post nicht schlau.
Und ich fürchte, dass das auch für Fabio gilt, wenn er es übersetzen lassen muss.

Funktioniert das ToM so wie es soll, oder nicht?

Wenn das ToM bei dir jetzt tatsächlich Probleme macht, dann solltest du diese entweder detailliert beschreiben, oder zumindest ein paar erklärende Bilder dazu posten.

Ich war kurz davor wieder zurück zu wechseln auf die 1.3 :(

LG Tom

Operation gelungen, Patient tot :mrgreen:


Das erweckt bei mir den Eindruck, dass es nun doch zufriedenstellend funktioniert, da du scheinbar vom Downgrade auf 1.3 Abstand genommen hast.

Twizy Cargo, EZ 07/2014, 100.000 km, Stand 08/2023

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 492
  • Dank erhalten: 702
17 Jan 2023 17:12 #238904 von Delvecchio
[Twiz O'Meter] Update to firmware 1.4
First, I'm happy you successfuly completed the update procedure.
I'm sure the patiente isn't dead, is still alive! :P
With this update the structure of the page saved in memory is changed.
I think the new one hasn't been saved properly.
About charging issue, have you setted to "on" the on charge sliding switch in settings page?
I sent you a PN for further info I need.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

   Become a Patron