Meter

The Anyline Energy Plugin 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 7-segment Digital Meters and Heat Meters can also be scanned.

Simultaneous Barcode Scanning

Starting from SDK 3.8 Anyline supports simultaneous barcode scanning for any plugin. 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 Meter Plugin 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 7-segment digital meters with at least 3 digits.

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.

Digital Meter

New in version 3.19: Will automatically detect decimal points.

Scan 7-segment digital meters with at least 3 digits. It will attempt to find the highest number of connected digits including decimal points and return the result.

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.

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.

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.

Note

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

Dial Meter ALPHA

New in version 3.14: As of version 3.14, this mode is in an alpha stage and will be under constant development

Scans different types of dial meters.

Android & iOS

As of version 3.14 this mode is only available on Android and iOS platforms

Android & iOS

As of version 3.14, the Dial Meter Energy Result will not contain Confidence and Outline.

Bar- and QR-Codes

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

New in version 3.17.

Serial Numbers

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

Digital Dot Matrix Meter

New in version 3.19.

Scan different types of digital dot matrix meters, with automatic comma detection, as long as the comma is displayed as a separate character.

Previous Scan Modes

The following modes were deprecated with 3.8, and removed in 3.13 and 3.14 respectively. They 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

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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.

Electric Meter 5 pre-decimal places

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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

Electric Meter 6 pre-decimal places

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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

Gas Meter

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

Deprecated since version 3.8: Use Analog Meter instead

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

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

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

Deprecated since version 3.8: Use Analog Meter instead

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

Water Meter White

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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.

Water Meter Black

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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.

Analog Meter White

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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.

Analog Meter with 4 pre-decimal places

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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.

Analog Meter with 7 pre-decimal places

Changed in version 3.13: This mode was removed in 3.13 (iOS) and 3.14 (Android/Cordova/React Native)

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.