smart meter example for matt en node.js?

Forum about MQTT, machine-to-machine (M2M), "Internet of Things" and Node.js

Moderators: Digit, Rene, Willem4ever, Bwired

Post Reply
Kroonen
Member
Member
Posts: 302
Joined: Mon Oct 01, 2007 6:38 pm
Location: Netherlands

smart meter example for matt en node.js?

Post 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
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

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

Post 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.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

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

Post 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?
Kroonen
Member
Member
Posts: 302
Joined: Mon Oct 01, 2007 6:38 pm
Location: Netherlands

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

Post 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
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

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

Post by Digit »

Post Reply

Return to “MQTT & Node.js”