= Artemes AM-2 Meter

Three-phase electricity meter for energy measurement via Modbus protocol.

== Overview

This bundle provides integration with Artemes AM-2 three-phase electricity meters, which measure energy consumption and production in residential and commercial installations. The component communicates with the meter through the Modbus TCP protocol, enabling real-time energy monitoring and data collection in OpenEMS.

The Artemes AM-2 supports measurement of grid consumption, production, or consumption energy depending on configuration. It integrates with OpenEMS via a Modbus bridge and can be configured to invert meter values if needed for specific wiring scenarios.

== Supported Devices

* https://www.artemes.com/[Artemes AM-2 Meter icon:external-link[]]

== Components

This bundle implements the following OpenEMS Component:

=== Artemes AM-2 Meter

*Name*: Meter Artemes AM-2

*Factory-PID*: `Meter.Artemes.AM2`

.Implemented Natures/Interfaces
* MeterArtemesAM2
* ElectricityMeter
* ModbusComponent
* OpenemsComponent
* ModbusSlave

*Description*: Three-phase electricity meter for energy measurement via Modbus protocol.

.*Configuration*:

* `id` (String): Component ID for unique identification (default: "meter0")
* `alias` (String): Human-readable alias for the component
* `enabled` (Boolean): Enable/disable this component (default: true)
* `modbus_id` (String): ID of Modbus bridge for communication (required)
* `modbusUnitId` (Integer): Modbus Unit ID of the meter device (required)
* `type` (Enum): Meter type - GRID, PRODUCTION, or CONSUMPTION (default: PRODUCTION)
* `invert` (Boolean): Invert meter values to reverse flow direction (default: false)

https://github.com/OpenEMS/openems/tree/develop/io.openems.edge.meter.artemes.am2[Source Code icon:github[]]