Current Cost Support Forum

A support forum for Current Cost users, partners and developers. Covering hardware, software and web.
Site Announcements

The support forum is moderated Monday to Friday, UK time. To submit a support ticket, please email: helpme [at] currentcost .com

It is currently Thu Jun 20, 2013 9:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Sep 14, 2011 7:32 pm 
Offline
User avatar

Joined: Fri Sep 09, 2011 10:13 am
Posts: 20
Location: Cambridge, England
Is it here:
http://www.currentcost.com/cc128/xml.htm

Are there varying specs for the different version strings?


Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 10:01 pm 
Offline
User avatar

Joined: Fri Sep 09, 2011 10:13 am
Posts: 20
Location: Cambridge, England
Also, I note in the history schema (fragment below)
Code:
 
<hist>                        start of history
      <dsw>00032</dsw>           days since wipe of history
      <type>1</type>             sensor Type, "1" = electricity


The type is shared across all sensor versions. I assume that when a new sensor type (gas/water?) is created the schema will have to be updated, as the sensors will no longer share the same types.

The optismart sensor seems to be a the first to violate this, as described here:
http://currentcost.posterous.com/optismart-guidelines-for-developers


Top
 Profile  
 
PostPosted: Thu Sep 15, 2011 12:23 pm 
Offline
Site Admin

Joined: Fri Apr 15, 2011 11:10 am
Posts: 173
WieserSoftwareLtd wrote:
Is it here:
http://www.currentcost.com/cc128/xml.htm

Are there varying specs for the different version strings?


The original spec you have there is up to date.


Top
 Profile  
 
PostPosted: Thu Sep 15, 2011 6:48 pm 
Offline

Joined: Thu Sep 08, 2011 10:14 am
Posts: 1
what is this one then?
It looks newer
http://currentcost.com/download/Envi%20 ... -01-11.pdf


Top
 Profile  
 
PostPosted: Wed Sep 21, 2011 9:44 pm 
Offline
User avatar

Joined: Fri Sep 09, 2011 10:13 am
Posts: 20
Location: Cambridge, England
I also notice the spec is wrong for the history in both versions.

It implies the units are inside sensor 9 which is different from 1-8
Code:
<msg>                            start of message
   <src>CC128-v0.11</src>        [as for Real-Time]
   <dsb>00089</dsb>              [as for Real-Time]
   <time>13:10:50</time>         [as for Real-Time]
   <hist>                        start of history
      <dsw>00032</dsw>           days since wipe of history
      <type>1</type>             sensor Type, "1" = electricity
      <units>kwhr</units>        units of data eg KWHr
      <data>                     start of data burst
         <sensor>0</sensor>      historic Appliance Number
         <h024>001.1</h024>      h="hours", 24="22 to 24 hrs ago"
         <h022>000.9</h022>      h="hours", 22="20 to 22 hrs ago"
         <h020>000.3</h020>      h="hours", 18="20 to 20 hrs ago"
         <h018>000.4</h018>      h="hours", 22="16 to 18 hrs ago"
      </data>
      ...                        [Sensor 1 to 8 data here]
      <data>
         <sensor>9</sensor>
         <units>kwhr</units> <!-- SURELY THIS IS WRONG -->
         <h024>000.0</h024>
         <h022>000.0</h022>
         <h020>000.0</h020>
         <h018>000.0</h018>
      </data>
   </hist>
</msg>   


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group