Page 1 of 1

smart meter example for matt en node.js?

Posted: Sun Jan 12, 2014 9:42 pm
by Kroonen
Hi,

I See a nice example of mqtt en node.js on Roberts page http://www.hekkers.net/domotica/Smartmeter.aspx

Is this piece of software for only get the smart meter info realtime on a webpage to have? It should be nice to have it and to put on a raspberry pi, to start with mqtt en node.js

regards Richard

Re: smart meter example for matt en node.js?

Posted: Mon Jan 13, 2014 12:37 am
by wwolkers
Perhaps this will help you:
raspberryadventures.in/index.php/how-to ... -a-server/
raspberryadventures.in/index.php/how-to ... n-node-js/
raspberryadventures.in/index.php/publis ... js-client/

(And yes, this person uses a Smile to connect to his smart meter, but a nice read and nice detailed explanation anyways.

Re: smart meter example for matt en node.js?

Posted: Mon Jan 13, 2014 1:28 am
by Digit
Richard,

This one, which displays OpenTherm information, works the same way but both are not very easy examples to get up and running actually, unless you don't mind compiling an Apache module and use Apache to make it all work. If you don't (mind doing all that), just let me know and I'll help you if needed. BTW, those pages don't make use of Node.JS at all, so maybe this is not exactly what you're looking for.

After I made those 2 pages, I've reconsidered how I want to do a complete remake of my website and I'm currently working on some sort of 'sample web page' to prove for myself that I'm going in the right direction, but after I wrote that post on my weblog I haven't been able to work on it for 1 single minute... This solution will use Node.JS server-side, but as I said, I'm not ready to present a working example yet....

Maybe someone else can?

Re: smart meter example for matt en node.js?

Posted: Mon Jan 13, 2014 3:31 pm
by Kroonen
Robert,

What I just want is realtime on a website on linux (rpi) , so apache is also an option. I also tried longpoll.

Is this also working?

https://github.com/rhekkers/P1_Publisher

Re: smart meter example for matt en node.js?

Posted: Mon Jan 13, 2014 9:22 pm
by Digit