Skip to main content

Home Assistant

Introduction

Your WARP Charger or WARP Energy Manager is compatible with Home Assistant. Home Assistant is an open-source home automation solution with broad device support.

For connecting WARP devices, Modbus and MQTT can be used. In this guide, we will use MQTT. Furthermore, it is assumed that Home Assistant is already installed and operational. Instructions for this can be found on the official website.

MQTT

Setting up MQTT in Home Assistant

First, MQTT must be activated in Home Assistant. Go to Settings -> Devices & Services -> Add Integration in the web interface. In the window that opens, search for "MQTT" and select it. Various MQTT integrations are available. We need the simple MQTT integration:

MQTT Integration Selection

You will then be asked about the MQTT broker. If you don't want to use your own MQTT broker, the easiest way is to use the official MQTT broker app. This is installed automatically.

MQTT Broker Selection

warning

If Home Assistant was installed as a Docker container, adding apps via the web interface is not possible. In this case, the MQTT broker must be installed and configured separately. Installation in a Docker container is therefore only recommended for advanced users.

MQTT Broker install success

Finally, go to Settings -> Apps -> Mosquitto broker -> Configuration and create a login there. Here you can also find the ports for the various MQTT protocols.

Don't forget to save!

MQTT Broker Login creation

Setting up MQTT in WARP Charger/WARP Energy Manager

The MQTT broker is configured in the MQTT settings according to the Introduction.

For automatic integration into Home Assistant, we recommend activating the Discovery mode and setting it to "Home Assistant". HA Autodiscovery By default, "homeassistant" is the topic on which Home Assistant listens for Discovery messages. The Discovery messages are sent every 15 minutes. It can therefore take up to fifteen minutes for the devices to appear in Home Assistant.

MQTT Sensor Values in Home Assistant via Autodiscovery

Autodiscovery automatically adds various sensors and controls. Which ones are added depends on whether the device is a WARP Charger or WARP Energy Manager and which functions are activated (e.g. solar forecast).

Autodiscovery can optionally remove discovered elements again should they no longer be available.

Automatically Added Entities

The following entities are provided via autodiscovery:

NameTypeDescriptionAvailable when
Charge statusSensorCurrent charge status of the chargerEVSE present (WARP Charger)
Current charge mode EVSESensorShows the current charge mode of the EVSE as an enumEVSE present (WARP Charger)
Charging current limitNumberMaximum charging current in A (0–32 A), controllableEVSE present (WARP Charger)
Allowed charging currentSensorCurrently allowed charging current in AEVSE present (WARP Charger)
Start chargingButtonStarts the charging processEVSE present (WARP Charger)
Stop chargingButtonStops the charging processEVSE present (WARP Charger)
Charging cable connectedBinary SensorIndicates whether a charging cable is connectedEVSE present (WARP Charger)
Charger ready to chargeBinary SensorIndicates whether the charger is ready to chargeEVSE present (WARP Charger)
Charger chargingBinary SensorIndicates whether charging is currently in progressEVSE present (WARP Charger)
Charger errorBinary SensorIndicates whether an error is presentEVSE present (WARP Charger)
Charger availableBinary SensorIndicates whether the charger is reachableEVSE present (WARP Charger)
Front button pressedBinary SensorIndicates whether the front button is pressedEVSE present (WARP Charger)
Limited according to §14a EnWGSensorIndicates whether a limitation according to §14a EnWG is active§14a EnWG activated in the configuration
Active charge modeSelectSelect charge mode (Fast, Off, PV, Min + PV), controllablePV excess charging or dynamic load management activated
Current charge modeSensorShows the currently active charge modePV excess charging or dynamic load management activated
Solar forecast tomorrowSensorForecasted PV yield for tomorrow in kWhSolar forecast activated
Solar forecast todaySensorForecasted PV yield for today in kWhSolar forecast activated
Solar forecast from nowSensorRemaining forecasted PV yield for today in kWhSolar forecast activated
Spot market priceSensorCurrent spot market electricity price in ct/kWhDynamic electricity prices activated

Additionally, for each configured meter slot (meter 0 to N), the following measured values are provided, provided the respective measured value is supported by the meter:

NameDescriptionUnit
Voltage (L1-N)Voltage of phase L1 against neutralV
Voltage (L2-N)Voltage of phase L2 against neutralV
Voltage (L3-N)Voltage of phase L3 against neutralV
Current (consumption plus feed-in) (L1)Current on phase L1A
Current (consumption plus feed-in) (L2)Current on phase L2A
Current (consumption plus feed-in) (L3)Current on phase L3A
Active power (consumption minus feed-in) (Σ L1, L2, L3)Total active powerW
Active energy (consumption) (Σ L1, L2, L3; since last reset)Consumed active energy since last resetkWh
Active energy (feed-in) (Σ L1, L2, L3; since last reset)Fed-in active energy since last resetkWh
Power factor (Σ L1, L2, L3)Power factor, sign indicates direction of current flow-
Frequency (⌀ L1, L2, L3)Grid frequencyHz
note

The localization of the entities depends on the language of the web interface of the WARP Charger/WARP Energy Manager.

Modbus/TCP

note

Coming soon...