Speedometer README

FAQ

  • A touch on the MZD clock toggles the small statusbar speedo on and off. It appears automatically after a MZD restart or if you open the speedo app.
  • The analog tachometer on the left side displays the untouched vehicle speed. The value in OEM tachometer and HUD are artificially manipulated.
  • Top and average speed will be calculated with vehicle speed, not with gps speed.
  • GPS and vehicle speed shows normally the same, because the sensor for vehicle speed is very correct. Sometimes it has a difference by 1 kph.
  • Fuel consumption in brackets is calculated over the total distance of odometer and will never be reset. Second fuel consumption value is only for the current trip.
  • Idle time runs as soon as no vehicle speed is detected, no matter if istop is active. Engine idle time runs if engine is running but car has no speed (opposite to iStop time)
  • The small speedometer has no influence on performance anymore, because it uses no extra javascript like in older versions.
  • If you have used All-In-One tool for installation and the compass points to the opposite direction, there was something wrong at the installation process (e.g. the NAV SD was ejected). In this case you can toggle manually the user config variable “var noNavSD” or make a second installation with AIO again and inserted NAV SD.
  • Pointer of Engine Speed goes until 8000 r/min, even if the scale ends at 7000. The pointer for max engine speed will stay at the correct value (also above 7000 r/min) and should be understandable without digit.

Important for MZD firmware version 56.00.511/512/513

If you have one of the above version and an optional OEM SD card navigation the GPS values can’t correctly be retrieved from car. This causes lagging or no refreshes of altitude, latitude, longitude and speed in status bar. One confirmed workaround is to eject and shortly reinsert the SD card while driving. Not confirmed: Have navigation as last opened app before switching off ignition. Next time you start the car the speedo shows correct GPS values.

Bug reporting

Any bug report should contain the following information:

  • used installer (single installer by diginix or All-In-One tool from Siutsch)
  • speedometer version
  • MZD firmware version
  • Mazda model (M3,M6,CX-5,MX-5)
  • what other (app menu) tweaks are installed

User config

all customization can be done in this file jci/opera/opera_dir/userjs/speedometer-startup.js

########################################################################################################
#  // set it false if you don't want the small speedometer in statusbar                                #
#  // (could be helpful if you have performance problems)                                              #
#  var enableSmallSbSpeedo = true;                                                                     #
#                                                                                                      #
#  // isMPH is used for metric/US english conversion flag (C/F, KPH/MPH, Meter/Feet, L per 100km/MPG)  #
#  // Set isMPH = true for MPH, Feet, MPG                                                              #
#  // Set isMPH = false for KMH, Meter, km/L                                                           #
#  var isMPH = false;                                                                                  #
#                                                                                                      #
#  // set the language for the speedometer                                                             #
#  // if DE fuel consumption is L/100km                                                                #
#  // available EN, ES, DE, PL, SK, FR                                                                 #
#  var language = "DE";                                                                                #
#                                                                                                      #
#  // set unit for fuel efficiency to km/L instead of L/100km                                          #
#  var fuelEffunit_kml = false;                                                                        #
#                                                                                                      #
#  // set true if you have no Mazda navigation SD card (important for the compass)                     #
#  var noNavSD = false;                                                                                #
#                                                                                                      #
#  // set the opacity of black background color for speedometer,                                       #
#  // to reduce the visibility of custom MZD background images                                         #
#  // possible values 0.0 (full transparent) until 1.0 (complete black background)                     #
#  var black_background_opacity = 0.0;                                                                 #
#                                                                                                      #
#  // set true if you want the original speedometer background image as in version 4.2 or below        #
#  // if "true" the opacity above will be ignored                                                      #
#  var original_background_image = false;                                                              #
#                                                                                                      #
########################################################################################################

Speedometer Changelog

# Update to Waisky2’s addon-all-fixed-auto-install-v2
# V3.0 - Initial
# V3.2 - Removed temperatures that did not work right,
#        added trip fuel economy which is based on cmu trip which does not correspond to speedometer trip <yet>,
#        changed so all data is rounded which fixed smdb-read speed mismatch to cruse control
#        enlarged direction text,
#        cleaned up code
# V3.21  changed metric display to L per 100km
#
# Changes done by diginix:
# V3.3   added unit under speedometer for mph or km/h
#        replace dot with comma for L per 100km
#        optimized speed indicator angles in css
#        new graphics for rings, needle pointer, dial image with different layout for steps 5,10,20
#        html and css cleanup
#        some more layout tuning (e.g. text shadow)
# V3.4   rotating compass added
# V3.5   GPS Heading deleted, Latitude & Longitude added
# V3.6   added analog top speed indicator
#        small animated GPS speed and direction added in statusbar (toggleable with touch on clock)
# V3.7   complete new method for data retrieval with websocket
#        added GPS Altitude min & max
#        added multilingual support (EN,DE,ES)
#        added Waisky2’s video player v2
# V4.0   integrated as native app in menu
#        new statusbar speedo without animation javascript (better performance)
#        alternating gps altitude and direction
# V4.1   added trip distance
#        added language Polish (thanks to sauron2003 from mazda3revolution.com)
#        added total fuel efficiency in brackets behind current one
#        added selection for fuel efficiency unit in user config
#        some layout improvements
#        merged some code improvements by vic_bam85
# V4.2   added readme.txt
#        added language Slovak (thanks to sedrik7 from mazda3revolution.com)
#        added language Turkish (thanks to volcano2K from mazda3revolution.com)
#        added tachometer for engine speed
#        added second idle time if engine is running but car has no speed (opposite to iStop time)
#        changed trip distance to 20 meter accuracy (0.02 km)
#        fixed statusbar speedo overlapping with message icon if 4 icons are visible (BT,WIFI,BATTERY,MESSAGE)
# V4.3   added percentage display of both idle times
#        added semi transparent background for value table
#        added user config for customizing of speedometer background image
#        added language French (thanks to drean179 and Regg001 from mazda3revolution.com)