Post energy sensors value to external server as json object

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
jussiva
Posts: 17
Joined: 26 Nov 2012 18:07

Post energy sensors value to external server as json object

Post by jussiva » 31 Dec 2012 17:05

Recently z-wave.me added http python libraries support and I created simple script which sends energy sensors values to my external server which can be used for energy logging purpose.

Here's python script:
https://dl.dropbox.com/u/3702599/zwave. ... _upload.py

And there's simple php script which receive json object
https://dl.dropbox.com/u/3702599/zwave.me/energy.php

JSON object:
[
{"scale":"kWh",
"nodeId":8,
"value":0
}, { "scale":"W",
"nodeId":8,
"value":62
}
]

Main purpose is to get nice charts... but because new year is coming, it takes a little while..... :)

jussiva
Posts: 17
Joined: 26 Nov 2012 18:07

And there's is a little

Post by jussiva » 31 Dec 2012 17:05

And there's is a little further-processed data ;) -->
https://code.google.com/p/z-cloud/

Post Reply