Lobaro Maintenance Tool
Device config not saved?
When upgrading the Lobaro Tool from version v1.4.x or earlier you have to hit "F5" or "Site full reload" in your browser once the Lobaro Tool started! Otherwise your device config can not be saved! This is because your browser caches the incompatible frontend from earlier versions.
Supports the PC based configuration of all Lobaro IoT sensors.
It is intended to be used in conjunction with our USB configuration adapter.
- Change static sensor configuration
- Perform firmware updates for your Lobaro devices
- Live monitoring of device diagnostic output
- Save diagnostric output into *.txt file
- MacOS X
- Windows 7/10
The CP2102 USB driver MUST to be installed before using the Lobaro-tool.
Download & Installation
macOS / Linux
After downloading the "lobaro-tool" file, e.g. to a directory "lobaro" in your home path. Then make the tool file executable:
cd ~/lobaro chmod +x lobaro-tool ./lobaro-tool
If MacOS shows up a security warning and refuses to start the tool: You can solve this by right-clicking the lobaro-tool file, selecting open and overrule the warning.
After downloading simply start the "lobaro-tool.exe" with double click.
Alternativly download the windows installer and start this.
Windows might show up a security warning and ask you to proceed anyway. This is behavior is normal.
Connecting to your device
Connect your Lobaro Device to the USB-port of your computer using the Lobaro Config Adapter. The 6-pin connector must be plugged into the white rectangular socket on the device that is labeled with the word CONFIG. The location of the socket is dependent on the specific device and hardware version you are trying to attach.
Make sure to use the port labeled CONFIG
Some of our devices have multiple sockets the connector fits into. Be sure to use the correct one, the one labeled CONFIG!
The LoRaWAN Board (left image) can be powered by the config adapter. Other devices, like the NB-IoT/LTE-M boards or the wMBus-LoRaWAN-Bridge Hardware revision 2, need to be connected to their normal power supply. If in doubt, just make sure you have the device powered!
When your device is successfully attached to your computer, you can build a connection with the Lobaro Maintenance Tool:
Under Hardware Connectiom select auto and click Connect, as seen in the screenshot above. If you know to which port the device is connected to your computer (either COM or ttyUSB), you can alternatively select it explicitly instead of using auto.
115200 Baud - 8N1 DTR (Boot): enabled, RTS (Reset): disabled (Für Start im Firmware mode)
When you are connected to a Lobaro Device, you can use the Tab CONFIGURATION to read and change the
configuration parameters of the Device. You can read out the current configuration from the device by pressing the
Reload Config button (reading takes a few seconds).
Reading/changing config reboots the device!
Every time you use one of the buttons Reload Config. Write to Device, or Restore Default, the connected device will be rebooted! Also keep in mind that the operations triggered by pressing the buttons include communication with the device over a serial bus and they will take a few seconds.
To avoid errors, please do not those buttons repeatedly!
When the configuration is read, you can alter the parameters by clicking on the pencil icon on the right. Values that you changed will by printed in bold font. When you have adjusted all values you want to change, you must press Write to Device to actually change anything on the Device. Writing the values will reboot the device.
The Button Restore Default will reset all config parameters of the connected Device to their internal default values. The device will reboot, and the listed values of the configuration in the Lobaro Maintenance Tool well be updated.
Always reload the config before changing it!
When you are working with multiple devices, make sure that your always press Reload Config after attaching a new device before you start updating values. If you fail to do so, you might accidentally transfer values from the previously attached device to the newly connected. This is especially a problem when working with LoRaWAN sensors, as you will copy the DevEUI from one device to the other!
You can watch the rebooting of the Device and check the altered configuration parameters by locking in the LOGS Tab.
All of our Devices provide extensive logging information over the CONFIG port. When you are connected to a Device in the Lobaro Maintenance Tool, you can read the log messages in the LOGS Tab. This feature is helpful if you try to find out the cause of problems you experience. You can also find out a lot of information about your Device, for example you can find the parameters used to connect your LoRaWAN Devices to your Network Server (DevEUI, AppKey, etc.).
All messages are displayed in the big textarea, each line is prefixed by the time it is received (using the clock of your computer). You can use Clear Log to start again with an empty textarea. The cleared messages will still be available through the log files that the tool creates.
When starting, our devices print out their current configuration parameter values. Most Devices also have a power on test, that checks if attached sensors can be read successfully. Any Problems that the Device detects will be printed to the log.
The LOGS Tab also contains a button Run (reset). This button triggers a reboot of the attached device. This can be useful when you start working with your device or if you try to fix issues with connected sensors.
The log is also written to a file on your computer whenever a Device is attached to the Maintenance Tool. Every time you start the Lobaro Maintenance Tool, a new log file is created. When you press the button Show Log Files, a file browser is opened at the location where log files are kept.
Sending to the Device
Below the textarea is an input field Send via UART. Text entered here (and confirmed with Enter) will be sent to the connected Device via UART. Some of our Devices use this feature, for example the LoRaWAN Modbus Bridge for its interactive Dialog Mode.
If need to parse the log messages of one of our Devices with your own tools, you can connect to it without the Maintenance Tool by using any serial UART reader. You can find the UART parameters at the page for our Config Adapter.
Our devices are shipped ready to use with firmware installed on them, so normally you do not need to install firmware yourself. However, over time we sometimes add new features to our devices or fix bugs that come up over time. If you want to use those improvements for devices all ready shipped to you, you can update the firmware yourself.
Firmware updates with our config adapter vs. firmware update over the air (FUOTA)
This page describes how you install firmware on devices that you have physical access to. This can be done for most of our devices, those using LoRaWAN and those using NB-IoT/LTE-M.
Our NB-IoT/LTE-M devices also support installing firmware over the air, without physical access. This can currently only be done by Lobaro.
Getting the Firmware
You will need the Firmware you want to install to your device as a file on your computer. You can get the latest
Firmware files from this site, the Lobaro Online Documentation, on the Firmware
subpage for your Device. The files are in a format called Hex and are therefore also called Hex-File.
The filename always starts with
app- and contains the version number as well as a short description of its
function and the hardware it is used for. So, for example,
firmware for our wMBus-Gateway on NB-IoT-Hardware (nrf9160) in version
In some cases you will get a hex-file provided directly by Lobaro, when we develop a specialised solution for you.
Make sure you install the correct Firmware for your hardware!
If you install Firmware for a different hardware you will get unpredictable results.
Make sure your Device is successfully attached to the your computer and the Maintenance Tool is connected, as described above. In the Tab FIRMWARE you can select the Firmware file you want to install using the button Select Hex File. This will open a file selection dialog, where you can select the hex-file with the Firmware you want to install to your Device. To start installing you need to press Flash Hex File. The upload will take several seconds; progress will be displayed by the blue progress bar. It turns green on successful completion. You can verify the installation succeeded and your Device is now running the correct version by checking the LOGS Tab.
You should also take a look at the Configuration Parameters. When an update adds new features, there might be new Configuration Parameters to set, or some existing Parameters might work differently. Check the Firmware's Changelog to see what changed between versions and what you have to look out for, for your individual Firmware update.
1.5.4 - 11.02.2020
- Fix a bug where the configuration can not be changed
1.5.3 - 07.02.2020
- Minor: Add "...flash -t" command line argument to speedup manual flash startup time
1.5.2 - 05.02.2020
- Avoid browser caching of frontend code
1.5.1 - 31.01.2020
- Support nRF9160 Config and Firmware update on Lobaro hardware
- Improve progress indicator and error checks during Flash
1.4.10 - 11.10.2019
- No relevant changes
1.4.9 - 17.09.2019
- Fix a bug where flashing firmware fails due to UART buffer issues
1.4.4 - 11.09.2019
- Fix a bug that failed to flash very big firmware files.
- Add delays when communicating with Bootloader to avoid timing issues.
- Flash command now support --verbose flag
1.4.3 - 30.07.2019
- Fix a bug where writing the config does not work.
1.4.2 - 29.07.2019
- Fix a bug where the program hangs up while connecting to a wrong serial port in "auto" mode.
- Fix a bug where the tool crashes when flashing the firmware while not connected.
1.4.0 - 10.08.2018
- Log Tool events like Connect, Disconnect, Read Config, etc. to UART Log
- Switch to firmware mode after connecting with "auto" port
1.3.4 - 09.08.2018
- Always switch to Firmware run mode after: Connect, Load Config, Restore Config.
- Internet Explorer support
1.3.2 - 09.07.2018
- Fix reading configs bigger than 256 Bytes (needed for wMbus Bridge)
1.3.0 - 21.03.2018
- Improve connection detection
- Allow to connect to specific serial port
- Do not reset to boot mode when connecting to selected serial port
1.2.5 - 07.03.2018
- Fix issues with loading a configuration file. Default is now "config.yaml"
- Remove horizontal scrollbars in tabs
- Add "Set Time" button to send "time=
" via UART
- Add send UART input below Log
- Display if Firmware or Booloader is running
- Add success message when loading config
1.2.4 - 07.03.2018
- Allow to replace assets e.g. the logo by placing /assets/logo.png next to the executable
1.2.3 - 05.03.2018
- Log Timestamp in UART log file on disk
- Allow to set http server ip and port to allow remote access
1.2.2 - 19.02.2018
- Fix CBOR decoding error that was introduced in 1.2.0 (see: https://github.com/ugorji/go/issues/232)
1.2.0 - 16.02.2018
- Fix Serial port issues that appear on MAC, Linux and in rare cases on Windows
1.2.0 - 15.02.2018
- Log UART output to file in $HOME/.lobaro/
- Restore Default Config
- Close button
- Closing the browser window now also shut down the server