> For the complete documentation index, see [llms.txt](https://evalan.gitbook.io/wattmaestro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://evalan.gitbook.io/wattmaestro/documentation/integration-requirements.md). Agents can also search and read this documentation through its [MCP server](https://evalan.gitbook.io/wattmaestro/~gitbook/mcp).

# Integration Requirements

Are presented below the Technical Requirements to integrate any type of Equipment on Wattmaestro.

Wattmaestro platform is based on the Standard Communication Protocol **Modbus**. Both Modbus RTU or TCP are **supported**. In order to integrate a new Equipment into Wattmaestro EMS, the following settings must be provided.

## Modbus

### General Information

#### Modbus RTU

The following Modbus attributes need to be known:

* Baud rate
* Parity
* Stop bit

#### Modbus TCP

The following attribute needs to be known:

* Default IP Address

### Modbus Register Attributes

The following attributes need to be known per Register:

* Register Address
* Type (Input/Holding)
* Modbus Datatype
  * Signed/Unsigned
  * Number of bit (8, 16, 32, 64, etc..)
* Readable/Writable
* Unit
* Word Order (Big/Little Endian)
* Byte Order (Big/Little Endian)

### Equipment Control

#### Type

Controlling an Equipment is essential to run the Optimization Algorithms (see [User Manual](https://evalan.gitbook.io/wattmaestro#mode) for more details) available on Wattmaestro.&#x20;

The Control of Equipment supported by the EMS are the following:

* Battery: Charge/Discharge at a configurable Power
* Photovoltaic Inverter:&#x20;
  * Turn ON/OFF the Energy Production (Curtailment)
  * Dynamically Control the Energy Output (Peak Shaving/Load Balancing/Imbalance)
* EV-Charger: Set the Charging Speed

#### Requirements

In order to Control the Equipment, a list of specific actions is often required by the Manufacturer.&#x20;

Those types of action include, but are not limited to:

* Configuration to set on the Equipment Page (locally accessible via the IP Address of the Equipment)
* Configuration to set on the Manufacturer Cloud Platform/Application
* Configuration to set on the Screen of the Equipment
* List of Register to Set before controlling the Equipment
* Writing Frequency Requirement

## Equipment Type

### Energy Meter

The following Registers should be clearly **identifiable**:

<table><thead><tr><th width="241">Register</th><th width="155">Read/Write</th><th>Level of Requirement</th></tr></thead><tbody><tr><td>Power Consumption</td><td>Read</td><td>Mandatory </td></tr><tr><td>Power Production</td><td>Read</td><td>Mandatory </td></tr><tr><td>Energy Imported</td><td>Read</td><td>Optional</td></tr><tr><td>Energy Exported</td><td>Read</td><td>Optional</td></tr></tbody></table>

### Inverter

The following Registers should be clearly **identifiable**:

<table><thead><tr><th>Register</th><th width="189">Read/Write</th><th>Level of Requirement</th></tr></thead><tbody><tr><td>E-Daily</td><td>Read</td><td>Optional </td></tr><tr><td>E-Total</td><td>Read</td><td>Optional </td></tr><tr><td>Active Power</td><td>Read</td><td>Mandatory </td></tr><tr><td>Active Power Adjustment by percentage</td><td>Read/Write</td><td>Mandatory* </td></tr><tr><td>Active Power Adjustment</td><td>Read/Write</td><td>Mandatory* </td></tr></tbody></table>

\*At least one of the 2 registers is mandatory

### Battery

The following Registers should be clearly **identifiable**:

<table><thead><tr><th width="215">Register</th><th width="169">Read/Write</th><th>Comment</th></tr></thead><tbody><tr><td>State of Charge</td><td>Read</td><td>Current Reading of the State of Charge</td></tr><tr><td>Active Power</td><td>Read</td><td>Current Reading of the Active Power</td></tr><tr><td>Charge or Discharge command (% or kW)</td><td>Read/Write</td><td>Any register(s) to control the current loading status of the battery, its SOC target and/or its current power.</td></tr><tr><td>Control Initialisation</td><td>Read/Write</td><td>All registers required to inialise the control of the Battery.</td></tr></tbody></table>

### EV-Charger

The following Registers should be clearly **identifiable**:

| Register     | Read/Write | Level of Requirement |
| ------------ | ---------- | -------------------- |
| Active Power | Read       | Mandatory            |
| Consumption  | Read/Write | Mandatory            |
