AMS reader relies on MQTT to deliver data to Home Assistant. You need to either activate the Home Assistant internal MQTT broker or use a separate broker like Mosquitto. If you don’t already have an MQTT broker connected to your Home Assistant installation, refer to the Home Assistant documentation for more information. Do some testing to verify that it works before proceeding.
Note: As Home Assistant is continuously developed, some screenshots here may look slightly different. These are taken from HA version 2026.8.1.
If the MQTT Add-on is not activated on your Home Assistant installation, follow this guide: https://www.home-assistant.io/integrations/mqtt
It is recommended that you create a user in Home Assistant that you use for logging into its MQTT broker:

Upon selecting “Home Assistant” as the payload, another tile with advanced configuration options will appear. Normally, no changes are needed for these fields. However, if you know what you’re doing, you can modify them.
After saving the changes (blue button in bottom right corner), the MQTT indicator in the header of the AMS reader GUI should turn green.
After successfully configuring your AMS reader, the device should now be available in Home Assistant under "Devices":

The available sensors will be added as they are discovered by your AMS reader. In some cases, it could take an hour or two before all sensors are available in Home Assistant.
If the sensors do not show up as indicated below after a few minutes: Reboot the device (Reset button on the unit, or the button at the bottom of the Config-screen).

Once all your sensors have been discovered, you can configure your grid connection in your Energy Dashboard in Home Assistant.
Open Energy in the left-hand menu, then click the pencil icon in the upper right corner to open the energy configuration. Under Grid connections, click Add grid connection — or, if an entry already exists, click the pencil icon on that row to edit it.

Select Accumulated active import as the "Energy imported from grid" sensor. Then select "Use an entity with current price" and choose Current import price. Finally, under Type of power measurement, select Standard and choose Active import as the power sensor — this enables real-time monitoring of power flow, in addition to the hourly energy totals.
Notes:
If you have solar panels or another source that feeds power back to the grid, your meter reports export as well. In the same dialog:
In the illustration below these fields are empty, because the reader used for the screenshot is installed on a meter without export.
Notes:
unknown if your price source provides no export prices.
Your Home Assistant installation is now configured to track your consumption. Go to the Energy Dashboard, where you should now see a message saying “There is no data to show”. Wait for the indicated amount of time to let data populate the graph.

After a while, data should start populating and displaying on your graph:

Please note that some meters (those delivering HAN-NVE payloads) only report accumulated counters once per hour, a few seconds after the hour has ended. This will unfortunately cause the data in the graph to be skewed by one hour.
If things do not work as expected, installing an MQTT client on your computer is a great help.
MQTT explorer is widely recognized as a great tool: https://mqtt-explorer.com/