Giter Site home page Giter Site logo

kamstrup-multical-hardware's Introduction

Hardware for use with ESPHome and Kamstrup Multical 403

This repository contains a PCB and housing that can be used as the hardware to read the measurements from a Kamstrup Multical 403. The PCB uses a 'D1 Mini' ESP8266 board. A software component for use in ESPHome has been created.

Using this setup you can read measurements from the Kamstrup Multical (e.g. city heating) and publish the measurements to Home Assistant.

Electronics

The Kamstrup Multical 403 uses an optical interface for communication. A PCB was designed that uses a mini-D1 ESP8266 board. The PCB Gerbers folder contains the required files to fabricate the PCB. The PCB Components folder contains the BOM (bill of materials) and the component placement files. A special version for use with JLCBCB has been created for these.

The PCB has the following features:

  • Optical interface for use with the Kamstrup meter
  • Pulse counter (can be used with a proximity sensor to measure water consumption)
  • 2 free open collector outputs
  • 2 free inputs

What you need

Images

PCB Top PCB Bottom

Housing

The housing can be 3D printed with a regular 3D printer. The Fusion 360 design and STL files are provided.

The Kamstrup Multical 40x meter needs to be waken up by pressing a button. It then stays awake for a few minutes. To keep the meter awake, magnets must be placed in the 4 holes. Every hole fits 2 magnets (using a total of 8).

What you need

Images

Housing Top Housing Inside Housing Bottom

Software

Use the kamstrup_kmp component in ESPHome. Refer to the Documentation for all details regarding this component.

Example config file:

uart:
  baud_rate: 1200
  stop_bits: 2
  tx_pin: GPIO15
  rx_pin: GPIO13

sensor:
  - platform: kamstrup_mc40x
    heat_energy:
      name: 'Heat Energy'
    power:
      name: 'Heat Power'
    temp_diff:
      name: 'Heat Temperature Difference'
    flow:
      name: 'Heat Flow'
    custom:
      - name: Custom Heat Energy
        command: 0x003C
      - name: Custom Heat Power
        command: 0x0050
    update_interval: 60s

kamstrup-multical-hardware's People

Contributors

cfeenstra1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kamstrup-multical-hardware's Issues

Improve component with extra registers for multiple device types

Hi' @cfeenstra1024

Still waiting for the ESPHome PR to be merged before testing ๐Ÿ™‚
I'm currently using ESPHome with my own 'tweaked' version of @cenobitedk Kamstrup custom component. Both for my district heating meter (Multical 602) as well as my water meter (flowIQ 2200).

I would suggest that you add the High Resolution register(s) to your component as well. For the x03 meter series it's a straight forward process. For the x02 series it's a bit more complicated as the HiRes register is a delta value. I've also added a calculated yearly cooling average sensor. Very useful in countries where the utility companies enforce 'penalty' tariffs for customers not cooling the water sufficiently. Reading the Unit Of Measurement from the actual device would also be a nice feature (not sure if you've already done that ?)

You could take a peek at my fork if you're interested ๐Ÿ™‚

jlcpcb BOM not working anymore + CPL file missing

Hi,

this is a really great project and I would like to implement this in my home as well - ordered via jlcpcb. I don't know if the changed something in the input files format, but now they request a CPL file (Pick&Place File) which I cannot find in the github files. Futhermore in the BOM file there are several components that cannot be matched (even when I use the special jlcpcb file. Can someone with better electronic knowledge than I have please update the BOM file and add the CPL file so that I - and everyone else who will get the stuff from jlcpcb.com can be sure to order the right parts?

Thanks a lot in advance!

best regards,
Stephan

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.