Wiznet makers

Benjamin

Published November 27, 2023 ©

43 UCC

11 WCC

4 VAR

0 Contests

0 Followers

1 Following

Original Link

SML-Reader

An W5500-EVB-Pico (and others!) based SML Smart Meter reader that transmits your Energy Meter data via MQTT to your Home Automation System like Home Assistant.

COMPONENTS Hardware components

WIZnet - W5500-EVB-Pico

x 1

Software Apps and online services

platformio - PlatformIO IDE

x 1


PROJECT DESCRIPTION

Introduction

In the realm of home automation, the integration of smart metering is a significant step towards energy efficiency and monitoring. With the advent of the W5500-EVB-Pico, a robust and versatile microcontroller board, DIY enthusiasts and home automation experts have a powerful tool at their disposal. This guide delves into creating an SML (Smart Message Language) Smart Meter Reader using the W5500-EVB-Pico, enabling seamless transmission of energy meter data to home automation systems like Home Assistant via MQTT.

Why Choose W5500-EVB-Pico?

The W5500-EVB-Pico stands out in its utility for smart meter applications, especially in environments where WiFi connectivity is unreliable, such as basements. Its inherent features include:

  • Ethernet Port: Offers a stable and reliable network connection, crucial for consistent data transmission.
  • Cost-Effective: Compared to other microcontroller boards, it offers a budget-friendly solution without compromising on performance.
  • Ease of Use: Designed for straightforward implementation, even for those with limited experience in microcontroller programming.

Compatibility with Smart Meters

The SML-Reader built with the W5500-EVB-Pico is compatible with any smart meter supporting the SML protocol. Notable examples include:

  • Apator PICUS: A widely used smart meter, known for its compatibility and versatility.

Key Features of the SML-Reader

The SML-Reader's primary functions include:

  • Data Reading: Capable of interfacing with SML-supported smart meters to read energy consumption data.
  • MQTT Protocol Support: Enables the transfer of meter data to home automation systems using the MQTT protocol, known for its lightweight and efficient messaging system.

Required Hardware

  • W5500-EVB-Pico: The core microcontroller board.
  • Compatible Smart Meter: Any smart meter with SML protocol support.
  • Serial IR Reading Head: For data reading from the smart meter, equipped with a magnet for easy attachment.
Diagram of the setup of the SML-Reader, showing the connection between the W5500-EVB-Pico and the IR reading head. The pins are the ones mentioned above.

Setting Up Your SML-Reader

  1. Configuration: Modify the config.h file to suit your specific requirements, including network settings and OBIS codes.
  2. Programming: Adjust settings in main.cpp for your Ethernet network and specific OBIS codes.
  3. Compilation and Upload: Compile the code and upload it to the W5500-EVB-Pico.
  4. Data Retrieval: Start receiving data from your smart meter. The system also supports Over-the-Air (OTA) updates for future firmware upgrades.

Additional Considerations

  • Smart Meter Configuration: Depending on your smart meter, you may need to disable certain security features like PIN codes or activate specific modes (e.g., "Erweiterte Betriebsart" in some meters) for optimal data transmission.
  • LMN Interface: For advanced meter features, contacting your energy provider for LMN interface configurations may be necessary.

Conclusion

The W5500-EVB-Pico based SML-Reader marks a significant advancement in DIY home automation. Its affordability, ease of use, and compatibility with various smart meters make it an excellent choice for homeowners looking to integrate smart metering into their home automation systems.

For further information, insights, and detailed tutorials, visit his blog.

Documents
Comments Write