Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for IR-eye? #6

Open
sorentorp opened this issue Jan 14, 2022 · 2 comments
Open

Add support for IR-eye? #6

sorentorp opened this issue Jan 14, 2022 · 2 comments

Comments

@sorentorp
Copy link

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 :-)

@NielsOerbaek
Copy link

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

@sorentorp
Copy link
Author

Thank you - when I get the time, I'll take a look at it :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants