Coder Social home page Coder Social logo

hm-es-tx-wm's Introduction

AskSin++ HM-ES-TX-WM SML

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

pio run

Flashing

USB-TTL adapter required.

pio run --target upload

Features

  • 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]

Requirements

  • Unlocked smart meter with SML protocol support.

Limitations

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.

Pin Configuration

  • LED: Pin 4
  • Config Button: Pin 5
  • IR RX: Pin 7

Debug Output

The debug output is written to the default TX pin of AskSin++.

Supported Hardware

  • ATmega328P
  • Serial/TTL IR reader

Sample Board

HB-UNI-Mini-X with Hichi IR v1.1 IR-Reader.

SML Specification

www.bsi.bund.de

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

hm-es-tx-wm's People

Contributors

novag avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

hmsteve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.