tag:blogger.com,1999:blog-547897939952002643.post2211084380405001617..comments2023-07-12T05:11:28.374-07:00Comments on 2Cheap2Meter: Setting up Google PowermeterTobyhttp://www.blogger.com/profile/04371727827421776831noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-547897939952002643.post-83188815736095549422010-09-17T12:56:55.474-07:002010-09-17T12:56:55.474-07:00Hey, that's cool. I recently was dreaming of ...Hey, that's cool. I recently was <a href="http://sandeen.net/wordpress/?p=365" rel="nofollow">dreaming</a> of an energy-data-multiplexer which can accept input from multiple devices, and send output to various tracking sites, such as google powermeter. I'll refer back to your post if/when I try to get a powermeter connector written, thanks!sandeenhttps://www.blogger.com/profile/15664830208541121819noreply@blogger.comtag:blogger.com,1999:blog-547897939952002643.post-79970986499841422252010-03-31T10:00:22.365-07:002010-03-31T10:00:22.365-07:00I managed to get this working with cumulative mode...I managed to get this working with cumulative mode variables (seems like less work) and a current cost cc128.<br /><br />Rough perl scripts are at http://mosquitto.atchoo.org/files/perl/<br /><br />Thanks for doing the hard part! :)Unknownhttps://www.blogger.com/profile/06780831684417852219noreply@blogger.comtag:blogger.com,1999:blog-547897939952002643.post-52635882874225818812010-03-31T04:10:10.273-07:002010-03-31T04:10:10.273-07:00cheers Mr Rheywood,
I hadn't really got into ...cheers Mr Rheywood,<br /><br />I hadn't really got into that side of it, eg actually using the API to upload data. I was completely baffled about how to even get started for a couple of weeks, so once I figured out basic device registration, thought I should spread the love ...<br /><br />but who will be the first to upload their data over this long Easter weekend! :@)Tobyhttps://www.blogger.com/profile/04371727827421776831noreply@blogger.comtag:blogger.com,1999:blog-547897939952002643.post-39227452890903029092010-03-30T20:39:06.031-07:002010-03-30T20:39:06.031-07:00Oh dear, I guess blogger's not so much with th...Oh dear, I guess blogger's not so much with the HTML escaping. Let's try that again:<br /><br /> <entry><br /> <category scheme='http://schemas.google.com/g/2005#kind'<br /> term='http://schemas.google.com/meter/2008#durMeasurement'/><br /> <meter:subject>https://www.google.com/powermeter/feeds/12345/12345/variable/GibbonEnergy.Gibbonex3000.1234.d1</meter:subject><br /> <meter:startTime meter:uncertainty='1.0'>2010-03-08T08:08:08Z<br /> </meter:startTime><br /> <meter:endTime meter:uncertainty='1.0'>2010-03-08T09:09:09Z<br /> </meter:endTime><br /> <meter:quantity meter:uncertainty='0.1' meter:unit='kW h'>3.88<br /> </meter:quantity><br /> </entry>Rushttps://www.blogger.com/profile/13298839224861129849noreply@blogger.comtag:blogger.com,1999:blog-547897939952002643.post-75492377933367443912010-03-30T20:35:26.215-07:002010-03-30T20:35:26.215-07:00Hey, Toby---
Thanks for the detailed instructions...Hey, Toby---<br /><br />Thanks for the detailed instructions! We recommend that you use &dvars=1 instead of &cvars=1 when simulating device activation. That will create a Duration-mode variable (start/end/value) instead of a Cumulative-mode variable (timestamp/value/reset). The Duration mode variables have less problems because there's no weirdness with the isInitial resets. (People seem to have a lot of trouble with the cumulative format.)<br /><br />Here's an example of a duration-mode measurement upload:<br /><br /> <br /> <br /> https://www.google.com/powermeter/feeds/12345/12345/variable/GibbonEnergy.Gibbonex3000.1234.d1<br /> 2010-03-08T08:08:08Z<br /> <br /> 2010-03-08T09:09:09Z<br /> <br /> 3.88<br /> <br /> <br /><br />Hope that helps!<br />- Rus Heywood<br /> Lead engineer, Google PowerMeterRushttps://www.blogger.com/profile/13298839224861129849noreply@blogger.com