Open sorentorp opened 2 years ago
Hi Søren.
If i understand the code you link to correctly, i think the answer would just to add MQTT support to the powermeter-sketch. So if you add line 20-21, most of the setup-function (line 32-56) and the sendmsg-function, you should be able to add a line around line 80 in the powermeter-sketch that sends the values to your MQTT broker.
Best, Niels
Thank you - when I get the time, I'll take a look at it :-D
Hi I really love this project! Unfortunately I'm stuck on a Kamstrup 382 for at least a few more years, so I have to read the data via an IR-eye. I'm thinking of building this https://github.com/Hal9k-dk/kamstrup
Is there and easy way to implement support for this ir-eye in this project? I guess this code would be usable - https://github.com/Hal9k-dk/kamstrup/blob/master/Software%20eksempler/kamstrup_powermeter/kamstrup_powermeter.ino
I just dont know how to mix it with this projects code - help wanted :-)