--- In misterhouse@..., Misterhouse <misterhouse@...> wrote:
> Thanks for the great help. If only TED would give us the documentation
> we need, this would have been much easier. They have not responded to my
> emails last week, so I will give them a call tomorrow. Wish me luck.
> With that said, I have decoded much of the block between 0-100 bytes. I
> will send this out later this evening as I am now dealing with the
> packet size changing based upon what rate mode you are in. Hopefully I
> will get my hands around this today.
Cool. Yes I noticed that too, and just went back to a single rate for now. That's all I really need, but I suppose for completeness we should figure out the whole thing.
> FYI: Offset 84-85 is not the current rate. It is "Tier rate 1". You can
> have up to five tier rates. (well actually 10, if you have both summer
> and winter rates in effect)
When I set just a simple, single rate, I get it at 84 and 85, and get 0s at 92,93.
> and what is Calibration%?
That's the value you set (from .9 to 1.1) you set to adjust Ted to match your electric bill.
> Keep up the good work.
Sounds good. I have a Ted.pm module written, maybe I'll fire it over to you once I clean it up and see what you think. My plan was to put all the data in a %Electricity hash. I'm a bit stuck on the stuff around 170. Some of that data is dynamic, but I don't know what it is yet. Any comments on the questions I posted? Can you compare your data with mine?
I also suspect that over time, some of the 0 fields will get filled in with history (Ted keeps 12 months of simple history around).
> David Satterfield wrote:
> > Hi, I have more of the packet decoded:
> > Field Start End Conversion
> > CurrentRate 84 85 div 10000
> > DlrHrAlarm 122 123 div 100
> > Calibration% 107 108 div 1000
> > I suspect that 142/143 is the LoVMtd, but it doesn't line up with what
> > Footprints says. I'm thinking Footprints might have a bug? Can someone
> > report what you see in that field Still haven't found the month and
> > day-of-month that goes with the Hi/LoVMtd values.
> > Some of the lower fields (3-10) correspond to various electric rates,
> > but I haven't fully decoded them. I don't have variable rate electric,
> > so it would really just be a completeness exercise for me.
> > Bytes 160-163 are watt totals as Joe said. They only get updated once
> > per minute, along with the KwhMtdCnt value, which is just a count that
> > increments each minute. I suspect you can get KWh used that minute by
> > subtracting the watt total from the previous minute from the current
> > value, and dividing by 60000. I'll try that today. You should be able
> > to keep a KWh running total that way. I suspect that's what footprints
> > does. It gives the SW 60 chances to capture the KWh data each minute.
> > There are now only a few fields left to decode:
> > 160:76 85 a 0 dc 18 0 0 ed 44 76 0 76 80 4f 0 1 84 8 9c
> > (168,169,170-179 unknown)
> > 16,18,19: I get 80,1d,1
> > 261: I get 4
> > 271:272 - I suspect it's a crc
> > 273 - always 6b for me
> > What do you guys see for those? Any ideas?
> > Thanks,
> > David Satterfield
> > --- In misterhouse@..., David Satterfield
> > <david_misterhouse@> wrote:
> > >
> > > Hi, I hacked away at TED's packet a bit today. Here are some
> > additionsto the packet decode. I don't know the "official" names, but
> > you shouldget the idea. Note that I think the original post is wrong
> > onKwPeakTdy. That field is actually KwPeakMtd, with KwPeakTdy being
> > at148 and 149. Also, CurrentRate is not showing up for me at 92 and
> > 93.Those fields are 0 for me.
> > >
> > > I'm also having trouble getting KWhtoday, and KWh month-to-date. I
> > don't know how to decode the 160-165bytes yet. Has anyone decrypted
> > that? to get the above values that Teddisplays? Also haven't figured
> > out DlrTdy (dollars today) yet.
> > > Regards,
> > > David Satterfield
> > >
> > >
> > > Field Start End Conversion
> > > DlrKwAlarm 122 123 div 100
> > > KwAlarm 124 125 div 100
> > > DlrMtdAlarm 127 126 div 10
> > > KwhMtdAlarm 129 128 none
> > > LoVAlarm 130 131 div 10
> > > HiVAlarm 132 133 div 10
> > > KwPeakTdy 148 149 div 100
> > > KwPeakMtd 152 153 div 100
> > > DlrMtd 255 256 div 10
> > > DlrProj 257 258 div 10
> > >
> > > > Field Start Byte End Byte Conversion
> > > > Start of Data 0 1 0x1004
> > > > CurrentRate 92 93 div 10000
> > > > TED Marker 113 116 TED<SPACE>
> > > > LoVrmsTdy 134 135 div 10
> > > > stLoVtimTdy 136 137 minutes
> > > > HiVrmsTdy 138 139 div 10
> > > > stHiVtimTdy 140 141 minutes
> > > > HiVrmsMtd 145 146 div 10
> > > > DlrPeakTdy 150 151 div 100
> > > > KwPeakTdy 152 153 div 100
> > > > DlrPeakMtd 154 155 div 100
> > > > WattTdySum 160 163 none
> > > > KwhMtdCnt 164 165 none
> > > > KWNow 249 250 div 100
> > > > DlrNow 251 252 div 100
> > > > VrmsNowDsp 253 254 div 10
> > > > KWProj 259 260 none
> > > > End of Data 278 279 0x1003
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.