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

smart meter example for matt en node.js?

Postby Kroonen » Sun Jan 12, 2014 8:42 pm

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
Kroonen
Member
Member
 
Posts: 302
Joined: October 2007
Location: Netherlands

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

Postby wwolkers » Sun Jan 12, 2014 11:37 pm

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.
wwolkers
Member
Member
 
Posts: 273
Joined: September 2008
Location: Netherlands

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

Postby Digit » Mon Jan 13, 2014 12:28 am

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?
User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

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

Postby Kroonen » Mon Jan 13, 2014 2:31 pm

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
Kroonen
Member
Member
 
Posts: 302
Joined: October 2007
Location: Netherlands

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

Postby Digit » Mon Jan 13, 2014 8:22 pm

User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands


Return to MQTT & Node.js

Who is online

Users browsing this forum: No registered users and 1 guest