Energy

The Anyline Energy module is capable of scanning Analog Electric-, Gas- and Water Meter readings. It is also possible to scan Bar- and QR-codes, which is useful for identifying meters, as well as the Serial Number. Common Digital Meters and Heat Meters can also be scanned.

Simultaneous Barcode Scanning

Starting from SDK 3.8 Anyline supports simultaneous barcode scanning for any module. Additional Information can be found under Simultaneous Barcode Scanning

Examples

A couple of different examples can be found at Anyline Demos and Samples: Energy.

Parameters

scanMode

The scanMode determines which of the Energy use cases you want to scan.

Any of the different use cases can be started from the Energy Module by setting this scanMode, which means that easy switching of the different modes is available.

Auto Analog/Digital Meter

New in version 3.11: This mode combines analog and digital mode with auto detection of the meter type

Automatically detects if the meter is an analog or digital meter.

Scans all types of analog meters (e.g. gas, electric, water meter) and automatically detects the number of digits before and after the decimal point, as well as digital meters with at least 5 digits.

Android/Cordova/React Native iOS
AUTO_ANALOG_DIGITAL_METER ALAutoAnalogDigitalMeter

Analog Meter

New in version 3.8: This mode replaces all deprecated analog scan modes.

Scans all types of analog meters (e.g. gas, electric, water meter) and automatically detects the number of digits before and after the decimal point.

Android/Cordova/React Native iOS
ANALOG_METER ALAnalogMeter

Digital Meter

Scan digital meters with at least 5 digits. It will try to find the highest number of connected digits and return the result without decimal marker.

Android/Cordova/React Native iOS
DIGITAL_METER ALDigitalMeter

Heat Meter with 4 pre-decimal (up to 3 decimal) places

Scan digital heat meters with 4 pre-decimal and up to 3 decimal places. If detected, the decimal digits are included in the result, otherwise they are omitted.

Android/Cordova/React Native iOS
HEAT_METER_4 ALHeatMeter4

Note

This mode may be replaced in the future with a mode that automatically detects the amount of digits

Heat Meter with 5 pre-decimal (up to 3 decimal) places

Scan digital heat meters with 5 pre-decimal and up to 3 decimal places. If detected, the decimal digits are included in the result, otherwise they are omitted.

Android/Cordova/React Native iOS
HEAT_METER_5 ALHeatMeter5

Note

This mode may be replaced in the future with a mode that automatically detects the amount of digits

Heat Meter with 6 pre-decimal (up to 3 decimal) places

Scan digital heat meters with 6 pre-decimal and up to 3 decimal places. If detected, the decimal digits are included in the result, otherwise they are omitted.

Android/Cordova/React Native iOS
HEAT_METER_6 ALHeatMeter6

Note

This mode may be replaced in the future with a mode that automatically detects the amount of digits

Bar- and QR-Codes

Scan bar and QR codes. This mode can be used to identify a meter. See the Barcode module for supported types.

Android/Cordova/React Native iOS
BARCODE ALBarcode

Serial Numbers ALPHA

Scan Serial Numbers that are engraved or printed onto a meter (consisting of numbers 0-9).

Android/Cordova/React Native iOS
SERIAL_NUMBER ALSerialNumber

Note

This mode may be replaced in the future with a mode that automatically detects the amount of digits

Deprecated Parameters

The following modes are deprecated and should not be used anymore. Selecting those modes will not have any effect, as Analog Meter scanMode will be used instead (which detects automatic all digits before and after the point).

The are replaced by scan mode Analog Meter.

Electric Meter

Deprecated since version 3.8: Use Analog Meter instead

Scan analog electric meters with 5 or 6 pre-decimal places. The digit count is detected automatically. No decimal places are included in the result. The auto-detection requires the decimal area to be highlighted in red.

Android/Cordova/React Native iOS
ELECTRIC_METER ALElectricMeter
Electric Meter 5 pre-decimal places

Deprecated since version 3.8: Use Analog Meter instead

Scan analog electric meters with 5 pre-decimal places. If it can be detected, up to one decimal place is included in the result, otherwise the decimal places will be omitted. The decimal is represented by a dot in the result, not a comma.

Tip

This mode is useful if there is no red marking for the decimal place or if the first decimal place is relevant

Android/Cordova/React Native iOS
ELECTRIC_METER_5_1 ALElectricMeter5_1
Electric Meter 6 pre-decimal places

Deprecated since version 3.8: Use Analog Meter instead

Scan analog electric meters with 6 pre-decimal places. If it can be detected, up to one decimal place is included in the result, otherwise the decimal places will be omitted. The decimal is represented by a dot in the result, not a comma.

Tip

This mode is useful if there is no red marking for the decimal place or if the first decimal place is relevant

Android/Cordova/React Native iOS
ELECTRIC_METER_6_1 ALElectricMeter6_1
Gas Meter

Deprecated since version 3.8: Use Analog Meter instead

Scan analog gas meters with 5 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
GAS_METER ALGasMeter

5 Digits

This mode scans Gas Meters with 5 digits. In order ot scan 6 digit Gas Meters, please use the Gas Meter 6 pre-decimal places mode

Gas Meter 6 pre-decimal places

Deprecated since version 3.8: Use Analog Meter instead

Scan analog gas meters with 6 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
GAS_METER_6 ALGasMeter6
Water Meter White

Deprecated since version 3.8: Use Analog Meter instead

Scan analog water meters with white background (black digits) with 5 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
WATER_METER_WHITE ALWaterMeterWhite
Water Meter Black

Deprecated since version 3.8: Use Analog Meter instead

Scan analog water meters with black background (white digits) with 5 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
WATER_METER_BLACK ALWaterMeterBlack
Analog Meter White

Deprecated since version 3.8: Use Analog Meter instead

Scan any Analog Meter (no matter if Electric, Gas, etc.) with white background (black digits) with 5 or 6 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
ANALOG_METER_WHITE ALAnalogMeterWhite
Analog Meter with 4 pre-decimal places

Deprecated since version 3.8: Use Analog Meter instead

Scan any Analog Meter (no matter if Electric, Gas, etc.) with 4 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
ANALOG_METER_4 ALAnalogMeter4
Analog Meter with 7 pre-decimal places

Deprecated since version 3.8: Use Analog Meter instead

Scan any Analog Meter (no matter if Electric, Gas, etc.) with 7 digits before the point. The decimal places are ignored.

Android/Cordova/React Native iOS
ANALOG_METER_7 ALAnalogMeter7