Installation

Pre-Installation Steps

../_images/warning1.png
Warning!
Prior to connecting the OVMS module to the vehicle, or computer via USB, if you have the GSM cellular option we recommend you connect a GSM antenna. GSM systems are designed to always operate with an antenna, and powering on one without could damage the equipment.

Prior to installation, please make sure you have the following available:

  1. The OVMS v3 module in it’s enclosure.

  2. A Hologram (or other suitable) SIM card.

  3. A micro-usb cable suitable for connecting to your computer.

  4. A laptop or desktop computer (if necessary).

  5. A cable suitable for connecting to your vehicle.

  6. A GSM antenna (if you are using the cellular option).

  7. A GPS antenna (if your vehicle type requires one).

You should also have ready access to this User Guide, and wifi connectivity to the Internet.

OVMS Module Installation

Powering the module

If you intend to configure the module on your desk before connecting it to the vehicle, make sure your USB port delivers power (around 500mA, depending on modem and wifi activity). We recommend using a USB hub with a separate power supply or a direct port of your laptop / PC.

Warning

The v3.3 LTE Modem (SIMCOM 7600G) may not be able to connect or not power up at all when powered from USB, even with a powered USB hub.

If you cannot get the cellular connection to work on your desk, try powering from your car’s OBD port first.

Another option is adding a 12V supply on your desk, e.g. using a standard RC 3S LiPo battery (connect 12V/+ to OBD pin 16 and GND/- to OBD pin 4). You can connect USB and OBD/12V supply simultaneously, be aware the module will boot as soon as any power source is present.

OVMS Server account

If you want to use the OVMS App and/or server based telemetry services, you’ll need an OVMS v2 server account. If you have not registered for an OVMS server account yet, you can do so before starting the wizard to avoid needing to switch networks in between. There are currently two public v2 OVMS servers:

  1. Asia-Pacific: https://www.openvehicles.com/

  2. Europe: https://dexters-web.de/

You will need to create a user account first. Within your user account you then need to create a vehicle account. You’ll need to pick a unique vehicle ID for this, e.g. your vehicle license plate number.

Initial Connection (Wifi and Browser)

From the factory, or after a factory reset, your OVMS module will be running an access point, with the following credentials:

SSID: OVMS Password: OVMSinit

As this is insecure, you should take care not to leave the module running unconfigured.

Using your laptop/tablet/phone, establish a wifi connection to the module. You should see an IP address in the range 192.168.4.x allocated, with a gateway at 192.168.4.1.

Note: Some smartphones (e.g Android) require mobile data to be switched off to use a WiFi connection without a internet connectivity.

Launch your web browser, and connect as follows:

URL: http://192.168.4.1/

Once connected, you will be presented with a screen as follows:

../_images/setup1.jpg

Setup wizard

The first thing to do is run the setup wizard. Click Start setup now. The wizard takes you through the initial setup in five simple steps, telling you what it is doing and what to expect for each step.

../_images/setup2.jpg

The wizard will need to reconfigure the module for the Wifi setup, read the notes and be prepared to reconnect to the module as necessary.

Note: we recommend not to use a password manager during the setup process. Some browsers, e.g. Chrome, will fill in the module ID as the username, which is wrong. The login username needs to be admin.

The wizard should be able to restore access after problems occurring in the process. As a last resort if it fails to recover at some point, you can always do a factory reset and start over again.

Manual configuration

After finishing the wizard or if you prefer to do a manual setup, the configuration menus will provide single pages for each module function. These also contain advanced options for the features, so it’s worth having a look.

Vehicle Configuration

Go to Config / Vehicle:

../_images/setup3.jpg

You’ll want to enter your vehicle type, Vehicle ID (the same as you registered on the OVMS server), and distance units. You can also optionally enter your timezone (see https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html for an article on GLIBC timezones for information on the format of this, a list of suitable zone strings can also be found here: https://remotemonitoringsystems.ca/time-zone-abbreviations.php).

OVMS Server v2 Configuration

Go to Config / Server V2 to configure the connection to the OVMS v2 server you will be using:

../_images/setup4.jpg

You should enter the server host (api.openvehicles.com, or ovms.dexters-web.de, usually), and vehicle password (aka server password - as entered on the server when you registered your vehicle). The Vehicle ID field should already be there, and the other parameters are optional.

Auto Start Configuration

OVMS has a powerful scripting language that can be used for complex configurations, but to get started it is simplest to use the Auto Start system. You get to this from the web interface by clicking Config / Autostart.

../_images/setup5.jpg

You will usually want to click to Enable auto start, and Start server v2. The other fields should have been populated correctly automatically for you. If you are using the optional modem module, you should also click Start modem to enable the modem.

Once complete, you can Save & reboot to activate your new configuration.

../_images/warning1.png
Warning!
Do not set the Wifi mode to AP+Client or Client before having configured your Wifi network.

If you have configured this manually, the Wifi network may not start automatically. Log in using a USB terminal and either do a factory reset (see Module Factory Reset) or (better) issue enable to enter secure mode, then issue config set auto wifi.mode ap and reboot.

Networking Options

OVMS v3 has a number of networking options to choose from. You can either use these individually, or combine them to provide failover and alternative network connectivity arrangements.

  1. Wifi Client. OVMS can connect to a WiFi Access Point, using standard WiFi (802.11 b/g/n) protocols, to connect to a SSID (Access Point name) with associated password. In simple client mode, you can connect only to a single pre-specified SSID. Alternatively, you can use the scanning client mode to connect to any known WiFi Access Point when within range (note, however, that this is not possible when you run both client and access point on the same OVMS device).

  2. Wifi Access Point. OVMS can operate as a WiFi Access Point itself, using standard WiFi (802.11 b/g/n) protocols. This allows users to connect to the OVMS module itself. Note that OVMS v3 is not intended to be a hotspot and users cannot access the Internet via the OVMS module. Wifi Access Point mode can be combined with simple Wifi Client mode, to provide an access point for maintenance of the module, as well as a client to access the Internet via another Access Point within range.

  3. Cellular Data. OVMS supports optional modems to provide cellular connectivity. These are configured via Config / Modem.

GSM SIM Activation (Hologram)

OVMS recommends Hologram SIM cards and service, although note that any compatible 2G/3G/4G SIM card and service should work, and the use of Hologram is not required.

To activate your Hologram SIM, register at https://dashboard.hologram.io/, then invoke “Activate SIM” in the dashboard.

Note

You don’t need to purchase a phone number for your SIM right now, as there is no SMS support in V3 yet. For the current status of SMS support, see…

When activating your Hologram SIM, you’ll need to enter the ICCID written on the SIM itself. You can also get that electronically (without having to open up the enclosure) from the OVMS web or terminal shell (Tools > Shell) with the following command:

OVMS# metric list m.net.mdm.iccid

The ICCID is also displayed during the setup process and on the modem configuration page when using the web user interface.

../_images/setup6.jpg

Firmware Update

../_images/warning1.png

The factory firmware that is provided with the module may be quite out of date. You should perform a firmware update to ensure that you have the latest firmware. You can do this either over Wifi client connections, or via an SD CARD.

We recommend using the auto update system. This will be preconfigured if you have used the setup wizard. The automatic updates are done within a selectable hour of day, and only if Wifi connectivity is available at the time.

Flash from Web

../_images/setup7.png

You can typically just press the Flash now button and wait for completion.

Flash from File

Using an SD CARD formatted as FAT, download the firmware update and place it in a file called ovms3.bin in the root directory of the SD CARD. Once the SD CARD is inserted the firmware update will start immediately.

12V Monitoring

Note

Since release 3.2.006 the 12V calibration and alert setup can be done from the web UI’s vehicle configuration page.

As 12V batteries tend to die without warning and need to handle an additional unplanned constant load from the OVMS, the module includes a 12V monitoring and alert system.

Calibration

The 12V voltage is measured using the incoming voltage that powers the OVMS. As the sensor used by the module has some manufacturing tolerances you should do an initial calibration. Use a voltage meter to measure the actual voltage somewhere suitable (e.g. at a 12V auxiliary equipment plug), calibrate the OVMS to show the same. The calibration factor is set by…:

config set system.adc factor12v <factor>

Calculate the <factor> using: oldFactor * (displayedVoltage / actualVoltage)

  • oldFactor is the old value set. If you have not changed it yet it is 195.7.

  • displayedVoltage is the Voltage as displayed by the OVMS.

  • actualVoltage is the Voltage as measured by hand using a voltmeter.

The voltage is read once per second and smoothed over 5 samples, so after changing the factor, wait 5-10 seconds for the new reading to settle.

Configuration

The default 12V reference voltage (= fully charged & calmed down voltage level) can be set by…:

config set vehicle 12v.ref <voltage>

This config value initializes metric v.b.12v.voltage.ref on boot. The metric will then be updated automatically if your vehicle supports the v.e.charging12v flag. The measured reference voltage reflects the health of the 12V battery and serves as the reference for the 12V alert, if it’s higher than the configured default.

The 12V alert threshold can be set by…:

config set vehicle 12v.alert <voltagediff>

The 12V alert threshold is defined by a relative value to the 12v reference voltage. If the actual 12V reading drops below 12v.ref - 12v.alert, the 12V alert is raised.

The default reference voltage is 12.6V, the default alert threshold 1.6V, so the alert will be triggered if the voltage drops below 11.0V. This is suitable for standard lead-acid type batteries. If you’ve got another chemistry, change the values accordingly.

Shutdown / Reboot

You can set a voltage level to trigger a system shutdown. The module will close all connections, shutdown all components and enter deep sleep mode to achieve minimal power consumption. It will then wait for the voltage level to recover above the configured minimum wakeup voltage before doing a reboot.

On most vehicles, this can also be used to automatically shutdown the module when the vehicle isn’t operated (driven or charged), as the 12V level normally is above 13V when the vehicle is in an operational state, and drops to below 13V when the vehicle is switched off.

The shutdown condition is checked once per minute. You can configure a minimum delay for the actual shutdown to be done, default is 2 minutes (= 3 consecutive tests = 2-3 minutes).

To test for a recovered 12V level, the module needs to do short wakeups of ~3 seconds (only CPU, no components). This is by default done every 60 seconds. If you use the auto shutdown to follow the vehicle operational state, consider lowering this to e.g. 15 seconds to get a quick detection of the vehicle being switched on.

Configuration can be done via the web UI or by these config variables:

config set vehicle 12v.shutdown <voltage>
config set vehicle 12v.shutdown_delay <minutes>
config set vehicle 12v.wakeup <voltage>
config set vehicle 12v.wakeup_interval <seconds>