cenobitedk / esphome_multical402 Goto Github PK
View Code? Open in Web Editor NEWKamstrup Multical 402 for esphome
Kamstrup Multical 402 for esphome
Hi there.
thank you for the very good application for the Multical Optical reading.
i just have the issue, that i cant get it read from my meter.
if i take it of the meter it get the this error you make the troubleshooting at:
my hardware is this one here:
https://www.ebay.com/itm/354359025520?hash=item5281719f70:g:BgcAAOSwPqxjWj~H
and here is my .yaml code
`substitutions:
device_name: multical602
friendly_name: Multical 602
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
includes:
- kmp.h
- multical402.h
logger:
baud_rate: 0
api:
encryption:
key: "S8FouGpCYDTCDmnP+uSO2m3/bIAChyGLBEtjORhjtFg="
ota:
password: "5050a1d09c9b1a4ad46202cc65d9aa21"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "Kamstrup-Multical"
password: "b1jzffPzfgBh"
#Multical UART
uart:
#Multical Custom Sensor (first variable is update interval in ms; 3600000 is 1 hour)
custom_component:
sensor:
#Multical Custom Sensors
name: "Multical Energy"
platform: template
id: m_energy
icon: "mdi:lightning-bolt"
unit_of_measurement: MWh
accuracy_decimals: 3
state_class: "total_increasing"
device_class: "energy"
force_update: true
name: "Multical Volume"
platform: template
id: m_volume
unit_of_measurement: m3
accuracy_decimals: 2
state_class: "measurement"
name: "Multical Temperature In"
platform: template
id: m_tin
icon: "mdi:thermometer"
unit_of_measurement: °C
accuracy_decimals: 2
state_class: "measurement"
device_class: "temperature"
name: "Multical Temperature Out"
platform: template
id: m_tout
icon: "mdi:thermometer"
unit_of_measurement: °C
accuracy_decimals: 2
state_class: "measurement"
device_class: "temperature"
name: "Multical Temperature Diff"
platform: template
id: m_tdiff
icon: "mdi:thermometer"
unit_of_measurement: °C
accuracy_decimals: 2
state_class: "measurement"
device_class: "temperature"
name: "Multical Power"
platform: template
id: m_power
icon: "mdi:flash"
unit_of_measurement: kW
accuracy_decimals: 1
state_class: "measurement"
device_class: "power"
name: "Multical Flow"
platform: template
id: m_flow
unit_of_measurement: l/h
accuracy_decimals: 0
state_class: "measurement"`
i see the red IR in the sensor make the blink every 10 sec.
i have tried to rotate the eye on the meter withou luck.
can you in some way help me out here ?
BR
/Mike
Hi,
sadly the links to the schematics for the ir Implementation are broken can you provide more informations?
Sorry, this is more a question than an issue;
Does it also work with a multical 21 ? That is a Watermeter from Kamstrup that seems to have an optical diode as well.
This would be a feature request if it could be supported.
Keep up the good work, thanks
I had timeout problems on some registers with this code.
Debugging showed two gave timeout and therefore other registers didn’t come through.
Increasing timeout property in the code to 250 solved it.
Thanks for the great work 👍
Hi
the information I read from the energy register is in KWh with no decimals value.
This is not a very good resolution when energy consumption is around 5-20 KWh in the summer period.
In HA it gives this result in the energy dashboard:
But when I look at my suppliers statistics they have better resolution in my energy data:
Therefore I assume that the data is available in the Multical but not stored in the Energy register…
Any ideas which register (if any) would store more detailed energy data?
Do you have new sources to get a optical reader?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.