Configuration

Resetting to factory default settings

  1. Press and hold the push button on power-up until the green and red LED lights flashes fast.

  2. Release the button.

    The product configuration is reset to factory default and the product restarts.

Accessing the web interface

The CMe3100 is equipped with a USB slave port to make it able to connect to a computer and install the integrated web interface. By using the web interface, device and M-Bus settings are conveniently configured.

  1. Connect the included USB cable between a computer and the USB slave port on the CMe3100.

  2. Wait for about 30 seconds for a new removable disk is available on the computer.

  3. Open the folder on the removable disk.

  4. Run the file CMe3100-SETUP.EXE and follow the instructions. See CMe3100-SETUP.EXE for the setup file.

  5. Wait for the installation to complete and the web browser opens along with a login page. If the browser fails to do so, enter the IP address for the device USB port manually. For firmware versions older than 1.6.0, the IP address 192.168.100.1 is used. For firmware version 1.6.0 or later, use the IP address 169.254.254.1.

  6. Login using the following credentials:

    Username: admin

    Password: admin

    After logging in for the first time, a new password will have to be registered. Use a strong password with at least 8 characters consisting of both letters and numbers. The password is case sensitive. Make sure to write your credentials down, since the only way of resetting the password is through a factory reset of the product.

Note

If the SETUP.EXE utility has already been run once on the computer, it will not have to be run again. The utility has installed a driver that creates a virtual TCP/IP connection on the computer which accesses the CMe3100 using the local IP address.

Performing basic setup

  1. Log in to the web interface.

  2. Select what part to configure in the Basic setup window.

Caution

To ensure correct operation of the metering gateway, time and network settings should be configured first.

Configuring time

For the device to operate accurately, it is important to set the correct time and make sure that the clock stays synchronized. This is done by synchronizing it with a time server at a fixed time interval and selecting the maximum accepted time difference the device’s clock is allowed to have.

  1. Go to Date & Time from the Basic setup window of the Installation panel.

  2. Enter the time and select the time zone.

  3. Set the Schedule for how often time will be synchronized and the maximum Accepted time difference.

  4. Enter the address of the NTP (Network Time Protocol) time server in NTP server hostname or IP address

  5. Enter a value in NTP server timeout. The timeout determines how long the Metering gateway will wait for the time server to respond during a time synchronization attempt before interrupting the action.

  6. Select Save.

Note

The time synchronizing schedule to be used depends on how precisely the clocks need to be synchronized. If the maximum acceptable time drift is about one minute per month, a schedule of every 12 hours should ensure the product has less than one second of time difference (31 days × 24 hours = 744 hours; 60 seconds ÷ 744 hours × 12 hours ≈ 0.97 seconds). The default value is suitable for most cases and provides ample time for synchronization.

If the radio link between the product and the time server is of inadequate quality, the value might have to be increased until reliable operation is obtained. It is important to note that a radio link with inadequate quality will negatively affect the performance of the time synchronization as it relies on low latency communication.

Note

You may disable the use of time synchronization and manually enter time and date in the product if the long-term accuracy is not a concern. However, be aware of:

  • The product has a built-in supercapacitor that can maintain the time and date during a power outage for up to approximately 24 hours. After that, the clock will stop running, and the time will be offset accordingly.

  • The built-in clock will drift over time, with a theoretical worst-case scenario of about one minute per month. However, this drift will be smaller in practice and will vary due to factors such as temperature, tolerances, and the age of components

  • If you are using multiple products for collecting meter values, it is strongly advised that you configure the products to use time synchronization to ensure that measurements from several sources are aligned with regards to time and date.

Configuring network settings

Configuring the basic network settings will enable the Metering Gateway to connect to the network. This is necessary to enable the Metering Gateway to connect to servers and deliver its collected meter data.

Configuring IP address settings

There are two types of IP address assignment options available, the static and the dynamic option. Using a static IP address enables assignment of the IP address manually. It will thereafter stay constant over time. By using dynamic IP addressing instead, an available IP address is automatically assigned to the Metering Gateway through a DHCP server, which must be available on the local network.

  1. Go to Network settings from the Basic setup window in the Installation panel or via Configuration > Network

  2. Choose Dynamic (DHCP) or Static IP address assignment. If selecting the static option, enter IP-addresses and a netmask.

  3. Select Save.

Note

It is highly recommended to use dynamic IP-address assignment to avoid mistakenly duplicated IP-addresses and make IP-address administration as easy as possible. Refer to your IT administrator for details and/or more information about what network settings to use.

Changing the hostname (optional)

The hostname setting determines which name the Metering gateway will use to identify itself on the network. If not changed, a default name based on the product name and serial number will be used, e.g., “cme3100–0016002383”. The hostname is ONLY used for network addressing and should not be confused with the product’s name, the latter is used to identify the product in e.g., Push Reports. For more information about how to configure the device name used in Push Reports, see Configuring identity settings for Push Reports

  1. Go to Network settings from the Basic setup window in the Installation panel or via Configuration > Network

  2. Enter the Hostname that will be assigned the Metering gateway.

  3. Select Save

Note

Your DHCP server must have enabled support for dynamic DNS update to support resolution of the hostname to an IP-address. Refer to your IT administrator for details and/or more information about what features that are supported.

Setting the Domain Name Server

The Domain Name Server (DNS) is used to find and retrieve information about the IP address corresponding to a certain domain name. DNS information can be configured manually or be obtained from a Dynamic Host Configuration Protocol (DHCP) server.

  1. Go to Network settings from the Basic setup window in the Installation panel or via Configuration > Network

  2. Check Obtain from DHCP or add DNS information manually.

  3. Select Save

Creating and importing meter list for installation

The Meter List contains information about all meters that the device will read and needs to be uploaded to the web interface before meters can be installed.

  1. Go to Meters.

  2. Select the file with the list of meters.

The Meter List template is available for download directly from the web interface under Meters > Install

Template of Meter List

Template of Meter List

Table 96. Meter list fields

Column

Explanation

Position

The position represents the name that will be used to identify the meter in the Meter List of the web interface. It may be arbitrarily chosen, but it is recommended to assign the field a name that relates to the meter’s function, e.g., its position in the metering system.

SecondaryAddress

The secondary address is set by the manufacturer and is printed on the meter. This address is unique for each device and expressed as an 8-digit number.

BaudRate

The Baud rate determines the speed of communication between the Metering Gateway and the meters. Set the field to “300” or “2400” (bit/s), but make sure that all meters support the baud rate selected.

AddressingMode

The addressing mode sets the way meters are addressed by the Metering Gateway. There are three options: the primary and the secondary addressing mode used for Wired M-Bus and the enhanced secondary addressing mode used for Wireless M-Bus. Set this field to one of:

  • primary

  • secondary

  • escondary

Primary Address (optional)

The primary address is assigned to the meter by the user as a number between 0 and 255. The column is optional to fill out. However, if using primary addressing mode, it will have to be included.

Enhanced Address (optional)

The enhanced address is only used when communication with the meters is held through a Wireless M-Bus Receiver. Nothing needs to be added to this column.


If not aware of the addresses of the meters, it is possible to perform an automatic search and installation of meters without uploading a Meter List. However, this also means that you will have to verify that the correct meters have been installed after the installation has completed.

When the installation has been completed, all installed meters will be displayed in the Meter List of the web interface, under Meters > Meter List. A Commission Report should always be downloaded after the installation to help ensure it was successful.

Note

Make sure that your license matches the number of meters included in the Meter List. If you try to install more meters than your license supports, some will be marked as passive. By going to Meters > Meter List and check Show passive meters, passive meters will be displayed.

Creating and installing a list of Wired M-Bus meters

When using Wired M-Bus, each meter is addressed using either its primary or secondary address. It is recommended to use the secondary addressing mode, since this will ensure that each meter is addressed in a unique way.

  1. Go to Meters > Install.

  2. Select a Meter List, structured as comma-separated values (CSV format) to upload. The Meter List can be created in Excel and saved as a CSV file. The template can be downloaded from the web interface.

  3. Select Install to upload the Meter List to the web interface and install the included meters.

Example file of wired Meter List

Example file of wired Meter List

Creating and installing a list of Wireless M-Bus meters

When using Wireless M-Bus, the Metering gateway communicates with meters through one or several Wireless M-Bus Receivers. Each Elvaco Wireless M-Bus Receiver will assign itself an enhanced address and by combining it with the secondary address of the meter, the communication chain is specified. The Metering gateway will automatically communicate with each meter through the Wireless M-Bus Receiver that has established the best connection.

  1. Go to Meters > Install.

  2. Select a Meter List, structured as comma-separated values (CSV format) to upload. The Meter List can be created in Excel and saved as a CSV file. The template can be downloaded from the web interface.

  3. Select Install to upload the Meter List to the web interface and install the included meters.

Example file of wireless Meter List

Example file of wireless Meter List

Note

If conditions have changed since the last installation, for example if a meter has been moved, another Wireless M-Bus Receiver might be able to establish a better connection with that meter. By performing a reinstallation, communication will then be held through that Wireless M-Bus Receiver instead. To perform a reinstallation, go to Meters > Reinstall > Reinstall

Installing meters through a meter search

  1. Go to Meters > Meter List > Search for meters

  2. Select what type of addressing mode will be used in the meter search and installation (wireless, secondary or primary).

    The installation process starts automatically when the search has been completed and might take up to 20 minutes to complete.

Downloading a commission report for installed meters

After installing meters, a commission report should always be downloaded. This report contains information about the settings of all installed meters and will help ensure that the installation was successful.

  1. Select Export commission report in the Meter list window of the Installation panel.

    A download of the document will start.

  2. Open the downloaded document.

There are up to five different files in the commission report. The first one provides an overview of the Metering gateway settings, the second file contains an overview of installed slave devices, the third file displays the latest value for each measurement series, the fourth file provides an overview of what slave devices that have Modbus enabled, and the fifth file provides an M-Bus to BACnet mappings if BACnet license is activated.

Scheduling meter readouts

When all meters have been installed, a readout schedule can be set. It will determine the time interval by which the Metering Gateway will perform readouts of the meters in its Meter List.

  1. Go to Meters > Readout schedule and activate scheduled meter readouts.

  2. Set a meter readout schedule. By for example setting Every 15th minute, a readout of all meters in the Meter List will be performed every 15th minute.

  3. Select Save.

Push reports

When all meters have been installed and the readout schedule has been set, Push Reports can be enabled. The Push Reports structure the data from the meter readouts by a chosen template and are delivered by a set schedule and protocol.

The Push Reports can be delivered by e-mail (SMTP), as a downloadable file (FTP), uploaded to a server running a HTTP web service or published to an MQTT broker (MQTT). The first step is to set the default recipient option for the alternatives that will be used. All activated Push Reports will be sent to the default recipient if not overridden in the settings of an individual Push Report.

Configuring e-mail Push Report default settings

  1. Go to Configuration > Push Reports > E-mail settings.

  2. Set the address to a valid e-mail server.

  3. Add credentials used to access the e-mail server.

  4. Set the e-mail addresses of the default e-mail Push Report recipients.

  5. Select Save.

Configuring FTP Push Report default settings

  1. Go to Configuration > Push Reports > FTP settings.

  2. Set the address to a valid FTP server.

  3. Add credentials for the CMe3100 to access the FTP server.

  4. Select Save.

Configuring HTTP Push Report default settings

  1. Go to Configuration > Push Reports > HTTP settings.

  2. Add a URL to a valid HTTP server where the Push Reports will be received.

  3. Set the Authentication mode (basic or none). If using the basic mode, add credentials for the CMe3100 to access the HTTP server.

  4. Select Save.

Configuring MQTT Push Report default settings

  1. Go to Configuration > Push Reports > MQTT settings.

  2. Specify the URL and port of your MQTT broker where Push Reports will be sent.

    1. Secure connection (SSL/TLS): server.domain.com or ssl://server.domain.com (Default port: 8883).

    2. Unsecure connection (TCP): tcp://server.domain.com (Default port: 1883).

  3. [Optional] Set a Base topic to prepend to the MQTT topic structure.

  4. Set the Client ID of the CMe3100 for the MQTT broker.

  5. Provide user credentials (Username and Password) if the MQTT broker require it. Otherwise leave fields empty.

  6. If using a secure connection, insert the MQTT JKS (Java KeyStore) file for SSL/TLS encryption.

  7. Select Save or press Enter.

Note

Elvaco strongly recommends using a secure connection.

Scheduled reports and event reports

After the Push Report default settings have been made, individual reports can be configured. Go to Configuration > Push Report for an overview of all available reports and their status is provided. There are two types of reports available, Push Reports and Event Reports.

Table 97. Type of reports

Type of report

Explanation

Push Report

Push Reports are used to deliver meter values by a set time interval, structured according to a selected template.

Event Report

The Event Report is triggered by a certain event taking place in the Metering Gateway. A schedule does therefore not have to be set for this type of report.


By default, the Metering gateway supports four protocols for delivering reports:

  • E-mail

  • FTP

  • HTTP

  • MQTT

Each delivery protocol has several predefined Report Templates available. Report template names starts with a unique number depending on the protocol used for transporting the report:

  1. E-mail reports

  2. FTP reports

  3. HTTP reports

  4. MQTT reports

E.g., report *101, a report with all meter values collected in one single post, will be named:

  • 1101 when sent as an E-mail report

  • 2101 when sent to an FTP server

  • 3101 when sent to an HTTP server

  • 4101 when sent to an MQTT broker using csv format

  • 4201 when sent to an MQTT broker using JSON format

Note

For more information about the different templates available, see https://support.elvaco.com.

Enabling and configuring Push Reports

  1. Go to Configuration > Push Report and select an arbitrary Push Report.

  2. Set what type of report to use (e-mail, FTP, HTTP or MQTT) and the desired template.

  3. Set the Report schedule, preferably by using one of the preset options available. It will determine the time interval by which the Push Report will be sent.

  4. Set the Value Period to Auto to ensure that all new meter values that have failed to be transmitted will be included in the next successful Push Report, thus also providing an automatic recovery mechanism.

  5. Set the Value Interval to All values to include all available meter readouts in the Push Reports (as defined by the readout schedule).

  6. Add recipients of the report. If no recipient is added, the default option will be used.

  7. Select Save. By selecting Save & Send test report or Save & Download test report, you will receive a copy of the Push Report, structured according to the template you have selected. In this way, you may test different templates to find the one you wish to use.

Save the report on disk (HTTP and FTP)

It is possible to save the report on disk. It will be stored on the CMe3100 and available for download.

  1. Perform the procedure described in above.

  2. Before clicking on the chosen saving option, make sure to check the box Save the report on disk.

  3. If command.report.local is enabled: the report will be both stored and uploaded to FTP-server.

Note

The maximum storage on disk is 50M. If the total storage exceeds 50MB, the system will start deleting reports until storage is below 50MB. The oldest reports will be deleted first.

Enabling and configuring event reports

  1. Go to Configuration > Push Report and select one of the event reports.

  2. Set what type of report to use (e-mail, FTP or HTTP) and the desired template.

  3. Add receivers of the report. If no receiver is added, the default receiver option will be used.

  4. Select Save.

The configuration file

A configuration file contains all non-device specific settings such as readout schedule and Push Report configurations (but excludes IP address, etc.). By using a configuration file, settings may be restored on an individual device or duplicated to a group of devices without having to go through all steps manually. Therefore, a configuration file should always be saved before performing an update to be able to restore the settings of the Metering Gateway if something should go wrong.

Saving non-device specific settings in a configuration file

  1. Go to System > Manage configurations.

  2. Choose Configuration as File type.

  3. Select Execute.

    When the configuration file has been created, it is available for download in the File repository.

The backup file

A backup file contains all meter values stored by the Metering gateway and all settings including device specific settings. By using a backup file, the settings and stored data of a device may be completely restored and is suitable for restoring a device if the hardware is replaced. However, it should not be used to duplicate settings into different devices as it contains device specific settings such as IP address.

Note

Backup files can take a long time to create and restore settings and data from. They also consume a lot of storage space. It is therefore not recommended to keep more than one backup file in the device’s repository at a given time. You may however of course choose to download backup files and keep them safe using another media.

Saving meter values and device specific settings in a backup file

  1. Go to System > Manage configurations.

  2. Choose File type as Backup.

  3. Select Execute.

    When the backup file has been created, it is available for download in the File repository.

Setting the minimum severity level of logged events

The minimum severity level for an event that gets stored in the System log is configurable but should not be adjusted without good reasons as it may cause vital information to be lost or the log to become very extensive.

  1. Go to System > System log > Filter settings.

  2. Choose a minimum severity level of the logs that should be saved. By choosing 0", all events except the debug events are logged. By choosing -1, all events including the debug events are logged.

  3. Select Save.

Note

It is highly recommended that the debug log entries are only logged in case of troubleshooting. If not, the System Log will fill up fast, and it might be hard to navigate. Activating debug log entries might also affect the performance of the Metering gateway in a negative way.

Note

In firmware version 1.15.0, to confirm that your MQTT publish to the broker was successfully completed, you need to set the system log filtering level to -1 (debug). This will allow you to see in the log that the source MQTTReportSender was executed successfully.

Important! Remember to reset the log filtering settings back after received the confirmation for optimal performance of your CME3100.

Setting when M-Bus status byte is logged in meter log

It is possible to control when information about M-Bus status byte is logged to the meter log.

  1. Go to System > System log > Filter settings.

  2. In the Log meter status, choose when M-Bus status byte information is logged to meter log.

    Viable options are:

    • Always

    • Never

    • On change

    • On error

    By default, information is logged when status byte changes value.

  3. Select Save.

Encryption keys for wireless meters

The CMe3100 has a built-in management system for wireless encryption keys. The meter encryption key is registered in the web interface and will be used by the Metering gateway to enable decryption of incoming messages.

Encryption keys are uploaded in an encryption key file (CSV or Excel 97-2003), or registered directly in the web interface. The encryption key file contains the matching criteria for each key which defines a filter for what meters the encryption key will be applied to.

Template of encryption key file

Template of encryption key file

Table 98. Encryption key file fields

Encryption key field

Explanation

Address

This field contains the secondary address of the meter that the encryption key will be applied to. Set -1 to exclude this field from the matching criteria.

Key

This field contains the actual encryption key that will be used, consisting of 32 characters in hex format.

Manufacturer

This field contains the manufacturer of the meter that the encryption key will be applied to. To find a list of the different manufacturers, and their initials, go to Meters > Encryption keys > Add new key. Uncheck the Manufacturer box and use the list. Use “*” character to exclude this field from the matching criteria.

DeviceType

This field contains the type of meters which the encryption key will be applied to. To find a list of the different device types, go to Meters > Encryption keys > Add new key. Uncheck the Type box and use the list. Use -1 to exclude this field from the matching criteria.

Version

This field contains the version of the meter that the encryption key will be applied to. Use -1 to exclude this field from the matching criteria.


Adding an encryption key through a file upload

  1. Go to Meters > Encryption keys. Here, a list of all registered encryption keys is displayed.

  2. Select Import list and select the file. To download the template, select Download example file.

  3. Select Save.

Encryption key example file

Encryption key example file

Adding an encryption key directly in the web interface

  1. Go to Meters > Encryption keys.

  2. Select Add new key.

  3. Set the matching criteria to determine the meters the encryption key will be applied to. By checking the All box, the encryption key will be used for decryption of messages from all meters of that specific matching criteria field.

  4. Select Save.

Linking an encryption key to an individual meter

The Metering gateway supports linking encryption keys to individual meters. Using this option will make the device apply the key to decrypt information from the linked meters only.

  1. Go to Meters.

  2. Choose the desired meter from the list.

  3. Select the edit (pen) symbol in the Options column.

  4. Select Link encryption key on the top of the page.

  5. Add the encryption key that will be used for decryption of meter values sent from that meter.

  6. Select Save.

Configurable individual meter settings

In some cases, it might be desired to configure individual settings of a specific meter. This might for example include changing the Measurement Object Identification (MOID), switching the state of the meter from active to passive (which will exclude it from the meter readout cycle) or changing the interface used by the Metering gateway when communicating with the meter.

Editing Measurement Object Identification (MOID) of a meter

The MOID is used to identify the meter in the Meter List and is preferably set to display the function or the location of the meter.

  1. Go to Meters.

  2. Select the secondary address of a desired meter.

  3. Select Settings.

  4. Enter a MOID and select Save.

    The MOID is now displayed for the meter in the Meter List.

Configuring communication settings of an individual meter

Switching a meter’s status from active to passive means that it will no longer be included in the meter readout process. If more meters are installed than the software license supports, the latest installed meters will automatically be set to passive.

The meter access settings determine which interface will be used by the M-Bus Metering gateway to access a specific meter. Normally, all meters are connected directly or indirectly to the integrated M-Bus master (by 2-wire M-Bus or the IR interface)

  1. Go to Meters.

  2. Select the secondary address of a meter.

  3. Select Settings.

  4. Set the desired state of the meter and the interface that will be used by the Metering gateway to access the meter.

  5. Select Save.

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.