This repository contains the source code for the AskSin++ HomeMatic HM-ES-TX-WM ES-IEC replica with SML protocol support.
A version with support for ES-Fer, ES-LED and ES-Gas sensors can be found at pa-pa.
Contents:
- Compilation
- Flashing
- Features
- Requirements
- Limitations
- Pin Configuration
- Debug Output
- Supported Hardware
- Sample Board
- SML Specification
- License
pio run
USB-TTL adapter required.
pio run --target upload
- OBIS code 1-0:1.8.0 - Positive active energy (A+) total [kWh]
- OBIS code 1-0:16.7.0 - Sum active instantaneous power (A+ - A-) [kW]
- Unlocked smart meter with SML protocol support.
The library does not parse the whole SML document, but searches for the OBIS codes 1-0:1.8.0 and 1-0:16.7.0 by pattern matching. The SML subtree of the pattern matched OBIS code is then parsed according to the SML specification.
This means that the implementation already contains methods for parsing SML trees and thus the entire SML document can be parsed with little additional effort if required.
Device settings set via a CCU are ignored.
The sensor was not designed for battery operation.
- LED: Pin 4
- Config Button: Pin 5
- IR RX: Pin 7
The debug output is written to the default TX pin of AskSin++.
- ATmega328P
- Serial/TTL IR reader
HB-UNI-Mini-X with Hichi IR v1.1 IR-Reader.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.