
Integrating an Austrian smart meter into Home Assistant using ESPHome has been a fantastic way for me to gain real-time insights into my household’s energy consumption. With the growing interest I have in smart home automation, this integration offers an efficient method to monitor and manage my electricity usage.
I’ve found that Austrian smart meters often use DSMR (Dutch Smart Meter Requirements) with encrypted data streams, so it’s been crucial to properly manage the encryption keys in my setup. By using ESPHome, a popular firmware platform for Home Assistant, I’ve been able to configure an ESP32 device to read data from my smart meter, decrypt it as needed, and feed this data into Home Assistant for real-time monitoring and automation.
The process involved flashing my ESP32 device with ESPHome firmware, configuring the YAML file to handle the meter’s data, and ensuring that the decryption keys were properly managed. This setup has not only allowed me to track energy usage in real-time but also to create detailed consumption reports and automation routines in Home Assistant, which has helped me optimize my energy use and reduce costs.
By following these steps, I’ve successfully turned my Austrian smart meter into a crucial part of my smart home ecosystem, unlocking powerful energy management features through Home Assistant.

What do I need to Integrate a Smart Meter from Austria into Home Assistant
To integrate an Austrian smart meter into Home Assistant, you’ll need a few essential components and tools to get started. Here’s what I needed:
1. Swiss Smart Meter with P1 port using the (D)SMR or (E)SMR Protocol
- Austrian smart meters typically use the DSMR (Dutch Smart Meter Requirements) protocol. It’s essential to ensure that your meter supports this protocol, as it defines the communication method between the meter and external devices. Additionally, Swiss smart meters often come with encrypted data streams, so you’ll need to obtain the appropriate decryption keys from your energy provider.
- Make sure your meter has a P1 port which is using this protocol. The P1 port looks like an old telephone plug but then with 6 poles instead of 4.
3. Smart Meter Gateway ESPHome Edition
- To simplify the process, I decided to use the Smart Meter Gateway ESPHome Edition from Smart Gateways. This device comes pre-configured with ESPHome firmware and is designed to work seamlessly with DSMR smart meters. It connects to my meter via the P1 port and sends data over WiFi to Home Assistant. The gateway handles the DSMR decryption internally, which made it much easier for me to integrate Austrian meters that require decryption keys.
4. Home Assistant Setup
- Make sure that Home Assistant is installed and running. This platform will be your central hub for monitoring and controlling your smart meter data. The ESPHome integration within Home Assistant makes it easy to add your Smart Meter Gateway ESPHome Edition device to the system, allowing you to view real-time energy consumption, create automation routines, and generate usage reports.
5. Decryption Keys
- Since data from Austrian smart meters is often encrypted, obtaining and correctly inputting the decryption keys from your energy provider is crucial. These keys enable your setup to interpret the encrypted data sent by your smart meter.
6. WiFi Network
- A stable WiFi connection is essential because your Smart Meter Gateway will communicate with Home Assistant over your home network. Ensure that your WiFi network is reliable and covers the area where your smart meter is installed.
By following these steps and using the Smart Meter Gateway ESPHome Edition from Smart Gateways, I was able to seamlessly integrate my Austrian smart meter into Home Assistant. This setup has unlocked powerful energy monitoring and automation features for me. It not only provides real-time insights into my energy consumption but also helps me optimize and manage my energy use efficiently.

Connecting the Smart Meter ESPHome Edition to the WiFi Network
I found it best to configure the Smart Meter ESPHome Edition without it being connected to the smart meter initially. Connect it to a power supply using a micro-USB connector (not included). Set up the configuration near a WiFi access point to ensure the signal strength is strong. Once the gateway is successfully connected to WiFi, you can then connect it to the P1 port of the smart meter.
- Connect a USB power supply (5V, 1A) to the micro-USB port on the gateway.
- The gateway will start up—wait at least 60 seconds for it to fully initialize.
- It will then broadcast a WiFi network named “Smart Gateways Smart Meter” Connect to this network using the password “smartgateways” (without any trailing characters).
- A browser should open showing available WiFi networks. Choose your own WiFi network from the list, enter the password, and select “Save.”
- If the browser doesn’t open automatically, visit http://192.168.4.1 in your browser, enter your WiFi details, and click “Save.”
- The gateway will now attempt to connect to your WiFi network. If successful, the blue LED will flash at 1-second intervals.
- If the gateway has trouble connecting, try the process again until it succeeds.
- Once connected, the gateway should automatically appear in Home Assistant, provided it’s on the same subnet.

Get a Smart Meter P1 encryption key from your energy company
In Austria, smart meters from various energy companies are offered, but not all of them come equipped with a P1 port. The P1 port is primarily known from countries like the Netherlands and Belgium and is not universally standard in Austria. However, there are some major energy providers in Austria that may offer smart meters with a P1 port or similar technology. Here are key players in the Austrian energy market:
- VERBUND: As one of Austria’s largest energy companies, VERBUND provides smart meters. To find out if their meters feature a P1 port, contact VERBUND directly for detailed specifications.
- Energie Steiermark: This regional energy provider in Styria also offers smart meters. It’s advisable to inquire whether their meters include a P1 port.
- Wien Energie: The largest energy provider in Vienna, Wien Energie, offers smart meters. They may have meters with a P1 port or similar functionalities.
- Energie AG Oberösterreich: Serving the Upper Austria region, this provider offers smart meters as well. For specific information on P1 port availability, contacting them directly is recommended.
- KELAG: Operating in Carinthia, KELAG provides smart meters. To determine if they offer meters with a P1 port, reaching out to them can provide clarification.
Important Information About Smart Meters with P1 Ports in Austria:
In Austria, if you have a smart meter with a P1 port, the data is often encrypted by default. Obtaining and correctly inputting the decryption keys from your energy provider is crucial, as these keys allow your setup to interpret the encrypted data sent by your smart meter.
To obtain the decryption key for a smart meter with a P1 port in Austria, contact your energy provider and provide your details, including your name (registered with the provider for this meter), your address, and the meter’s specific identification number (if applicable). This key is unique to each meter and consists of a string of characters that you will need to include in your configuration setup.
Always ensure that you have the correct decryption key to properly access and use the data from your smart meter. For accurate and detailed information, it’s best to reach out directly to your energy provider.
Enable Gas meters in Austria into Home Assistant
If your gas meter is connected to the smart meter, you will also see gas usage in Home Assistant. Ask your energy company if both meters are connected.
Austrian Smart Meters ESPHome configuration
The ESPHome configuration below is specifically customized for compatibility with smart meters from Austria. You can modify this configuration by clicking the Edit button:

The ESPHome yaml configuration for Smart Meters from Austria will be automatically mailed to your email address when you order the device. If not, ask the full esphome yaml code at https://smartgateways.nl/en/contact/
Uncomment the next line “# decryption_key: !secret decryption_key” in the configuration and insert the decryption key you got from your energy company.
# For Austrian smart meters, uncomment and insert the decryption_key obtained by the powergrid operator (e.g. VERBUND/Energie Steiermark/Wien Energie/Energie AG Oberösterreich/KELAG).
decryption_key: !secret decryption_keyInstall the ESPHome config to the already added Smart Meter Gateway ESPHome Edition device in Home Assistant.

Austrian Smart Meter Home Assistant Meausurements
If you installed the above configuration including the decryption key, you will see the Smart Meter measurements below:


Conclusion
Integrating an Austrian smart meter into Home Assistant using ESPHome has been a great way for me to get real-time insights into my household’s energy consumption. With my growing interest in smart home automation, this integration provides an efficient way to monitor and manage electricity usage.
I’ve discovered that many Austrian smart meters use DSMR (Dutch Smart Meter Requirements) with encrypted data streams. Proper management of encryption keys has been crucial for my setup. Using ESPHome, I configured an ESP32 device to read data from my smart meter, decrypt it, and send it to Home Assistant for real-time monitoring and automation.
The process involved flashing my ESP32 with ESPHome firmware, configuring the YAML file, and managing decryption keys. This setup has enabled me to track energy usage, create detailed reports, and automate routines in Home Assistant, optimizing energy use and reducing costs.
The Smart Meter Gateway ESPHome Edition is available on SmartGateways.nl

Real-Time Energy in Home Assistant with the Smart Meter ESPHome Edition
The Smart Meter ESPHome Edition is the go-to solution for monitoring your energy consumption. It easily connects through the P1 port and integrates smoothly with Home Assistant due to its pre-installed ESPHome firmware. Once connected to your Wi-Fi network, Home Assistant automatically detects the meter, allowing for quick and easy integration into your system.
This energy meter is compatible with smart meters across Europe, including in countries such as the Netherlands, Belgium, Luxembourg, Austria, Sweden, Finland, Lithuania, Denmark, Hungary, Ireland, and Switzerland. It provides real-time data on energy use, solar energy production, voltage, phase current, and, if supported, gas and water consumption.
The meter operates independently of the cloud, ensuring that all data remains local and private. Its open-source firmware allows for customizable settings to meet your specific needs. Powered by a powerful processor, it delivers high performance.
Frequently Asked Questions (FAQ) about Integrating Austrian Smart Meters into Home Assistant
Frequently Asked Questions
1. What is the Smart Meter ESPHome Edition?
The Smart Meter ESPHome Edition from Smart Gateways is a practical device for monitoring energy consumption in Austria and other countries for Smart Meters with P1 port. It connects via the P1 port and integrates seamlessly with Home Assistant, thanks to its pre-installed ESPHome firmware. This setup allows for straightforward addition to your smart home system.
2. How to connect Smart Meter from Austria to Home Assistant?
After connecting the meter gateway ESPHome Edition from Smart Gatewayss to your Wi-Fi network, Home Assistant automatically detects it due to the ESPHome firmware. This makes integration quick and easy, enabling you to start monitoring and managing your energy data right away.
3. Are Austrian smart meters compatible with this device?
Yes, the Smart Meter ESPHome Edition is compatible with smart meters used in Austria. It works with various meters that feature a P1 port. If you are not sure if your smart meter is compatible, ask your energy company for more details.
4. What kind of data can I monitor with the Smart Meter Gateway ESPHome Edition?
The Smart Meter Gateway ESPHome edition from Smart Gateways provides real-time data on energy consumption, solar energy production, voltage, current per phase, and, if applicable, gas and water usage.
5. Does the meter require cloud connectivity?
No, the Smart Meter ESPHome Edition operates without cloud connectivity. All data remains local, ensuring your information stays private and secure.
6. Can I customize the settings of the meter?
Yes, the Smart Meter Gateway ESPHome Edition uses open-source firmware, allowing you to adjust settings to fit your specific needs.
7. What type of microprocessor does the Smart Meter Gateway ESPHome Edition from Smart Gateways use?
The Smart Meter Gateway ESPHome Edition from Smart Gateways is powered by a robust Dual-Core Tensilica Xtensa LX6 microprocessor, providing high performance and efficient data processing.
8. Is there a manual or support available for Smart Meters in Austria?
A user manual is available on the product page for your reference. If you have any questions, the Smart Gateways support team is always available by phone or email. Just fill in the contact form on their website.
9. How to connect a Smart Meter from Austria to Home Assistant?
To connect a smart meter from Austria to Home Assistant, connect the Smart Meter Gateway from Smart Gateways to a usb power supply and then to your Wi-Fi network. Once connected, it will automatically appear in Home Assistant, where you can add it to your system and configure it as needed.
10. Where can I find additional information or help with integrating the Smart Meter in Austria to Home Assistant?
For additional information or assistance with setup, refer to the user manual available on the product page. For further help, you might need to consult ESPHome documentation or relevant online forums.
Track Water consumption in Home Assistant with the Watermeter Gateway.
The Water Meter Gateway from Smart Gateways upgrades your traditional water meter into a smart device, offering real-time data on your water usage. You’ll be able to monitor your water consumption during various activities like showers, baths, handwashing, or garden irrigation via an intuitive dashboard. This clear overview helps you track usage and spot areas where you might reduce costs.
Installation is straightforward, and the gateway is designed to work with most analog water meters, including those from brands such as Itron, Actaris, Elster, and Honeywell. It integrates seamlessly with popular home automation platforms like Home Assistant, Domoticz, and Homey. For additional functionality, you can leverage open standards such as REST-API and MQTT for secure data transfer.
If you prefer not to use home automation software, you can opt for the Online Energy Dashboard subscription. With the provided installation guide, you can set up the gateway on your own. The sensor has an extendable range of up to 15 meters and is compatible with both version A and B water meters, depending on your model.
For more details, click here .

Hi Roel,
the provided file by smartgateways doesnt even include the decryption part – and the module does not capture anything connected to the Sagemcom T210-D – any hints?
Hi Peter,
The eshomoe code you have got from smartgateways does not include the encryption part, because the key is private and has to be inserted by the end user. You can use the code you have got from smartgateways and paste the encryption part (including the key from your energy company) in the config and upload that to your gateway. Just add a new device in esphome and connect the gateway via usb to your pc. Then upload the config file including the encryption part from this manual with your key. More can be found here: https://esphome.io/components/sensor/dsmr.html
A little bit of additional information: For the smart meters of Energie Steiermark there is an very nice documentation, describing all the steps and even the interface in detail: https://www.e-netze.at/downloads-data/pdf.aspx?pdf=EN_Update%20Kundenschnittstelle%20Smart%20Meter%20(03_2024)_WEB_RGB.pdf
Great! Thanks for sharing this useful information. It will help other users to use the Smart Meter P1 reader with meters from Energie Steiermark with Home Aasistant.
Hello Roel,
I am unable to follow these instructions to integrate the compatible Austrian SmartMeter with the Smart Gateway in Home Assistant version 17.
I am missing the “Edit” option for the Smart Gateway shown and described under the heading “Austrian Smart Meters ESPHome configuration”. This means I cannot customise or install the YAML file.
Do you know how I can configure it?
KRG
Hi,
You have to make a new device in esphome and then edit it with the yaml code that was emailed to you.