Energy EAGLE Discussion

Posted on
Tue Dec 10, 2013 6:43 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

Thanks for the XML. I need the log up to and includeing the point where you see the error message though so I can determine at which point in the XML it's failing.

Posted on
Tue Dec 10, 2013 10:25 pm
GRWilde offline
User avatar
Posts: 173
Joined: Nov 15, 2005
Location: Los Angeles

Re: Energy EAGLE Discussion

Here is the log from plugin startup until just after the error message. The new software Rainforest installed in my Eagle is GUI 2.0. It seems to be quite an improvememt and works fine with Bidgely.

Started plugin "Energy EAGLE 0.9.13"
Energy EAGLE Debug Starting device: Rainforest Automation Eagle
Energy EAGLE Debug Device outdated. Updating device state list.
Energy EAGLE Debug Starting runConcurrentThread.
Energy EAGLE Debug eagleDeviceData called. Device: Rainforest Automation Eagle
Energy EAGLE Debug sendCommand called.
Energy EAGLE Debug connect called.
Energy EAGLE Debug Attempt # 1 to connect to EAGLE.
Energy EAGLE Debug Sending command
<LocalCommand>
<Name>get_device_data</Name>
<MacId>0x00158d00001aba57</MacId>
</LocalCommand>

to "Rainforest Automation Eagle".
Energy EAGLE Debug Reading data from "Rainforest Automation Eagle".
Energy EAGLE Debug disconnect called.
Energy EAGLE Debug Data returned:
<NetworkInfo>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<Status>Connected</Status>
<CoordMacId>0x00078100005d1a87</CoordMacId>
<ExtPanId>0x7fffffffffffffff</ExtPanId>
<ShortAddr>0xffff</ShortAddr>
<Channel>15</Channel>
<LinkStrength>0x64</LinkStrength>
</NetworkInfo>
<DeviceInfo>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<InstallCode>0xdaf8a8da2a53095b</InstallCode>
<LinkKeyHigh>0x6885150105bfc341</LinkKeyHigh>
<LinkKeyLow>0xc1cbfadbfca670b9</LinkKeyLow>
<FWVersion>1.4.21 (5017)</FWVersion>
<HWVersion>3.2.1</HWVersion>
<Manufacturer>Rainforest Automation, Inc.</Manufacturer>
<ModelId>RFA-Z109 EAGLE</ModelId>
<DateCode>20120112CAFEBABE</DateCode>
<ImageType>0x1001</ImageType>
</DeviceInfo>
<InstantaneousDemand>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<MeterMacId>0x00078100005d1a87</MeterMacId>
<TimeStamp>0x1a3aa2c9</TimeStamp>
<Demand>0x000697</Demand>
<Multiplier>0x00000001</Multiplier>
<Divisor>0x000003e8</Divisor>
<DigitsRight>0x03</DigitsRight>
<DigitsLeft>0x06</DigitsLeft>
<SuppressLeadingZero>Y</SuppressLeadingZero>
</InstantaneousDemand>
<CurrentSummation>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<MeterMacId>0x00078100005d1a87</MeterMacId>
<TimeStamp>0x1a3aa1fd</TimeStamp>
<SummationDelivered>0x01b737ad</SummationDelivered>
<SummationReceived>0x00000000</SummationReceived>
<Multiplier>0x00000001</Multiplier>
<Divisor>0x000003e8</Divisor>
<DigitsRight>0x01</DigitsRight>
<DigitsLeft>0x06</DigitsLeft>
<SuppressLeadingZero>Y</SuppressLeadingZero>
</CurrentSummation>
<PriceCluster>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<MeterMacId>0x00078100005d1a87</MeterMacId>
<Price>0x00000000</Price>
<Currency>0x0348</Currency>
<TrailingDigits>0x00</TrailingDigits>
<Tier>0</Tier>
<RateLabel></RateLabel>
</PriceCluster>
<MessageCluster>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<MeterMacId>0x00078100005d1a87</MeterMacId>
<TimeStamp>0x00000000</TimeStamp>
<Id>0x00000000</Id>
<Priority>Low</Priority>
<Text></Text>
<ConfirmationRequired>N</ConfirmationRequired>
<Confirmed>N</Confirmed>
<Read>Y</Read>
<Queue>active</Queue>
</MessageCluster>
<MeterInfo>
<DeviceMacId>0x00158d00001aba57</DeviceMacId>
<MeterMacId>0x00078100005d1a87</MeterMacId>
<NickName></NickName>
<Account></Account>
<Auth></Auth>
<Host></Host>
<Enabled>Y</Enabled>
</MeterInfo>


Energy EAGLE Debug Energy EAGLE version: 0.9.13
Energy EAGLE Debug eagleDeviceData received XML from sendCommand:
Class: <type 'str'>
Data:
<Data> <NetworkInfo> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <Status>Connected</Status> <CoordMacId>0x00078100005d1a87</CoordMacId> <ExtPanId>0x7fffffffffffffff</ExtPanId> <ShortAddr>0xffff</ShortAddr> <Channel>15</Channel> <LinkStrength>0x64</LinkStrength> </NetworkInfo> <DeviceInfo> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <InstallCode>0xdaf8a8da2a53095b</InstallCode> <LinkKeyHigh>0x6885150105bfc341</LinkKeyHigh> <LinkKeyLow>0xc1cbfadbfca670b9</LinkKeyLow> <FWVersion>1.4.21 (5017)</FWVersion> <HWVersion>3.2.1</HWVersion> <Manufacturer>Rainforest Automation, Inc.</Manufacturer> <ModelId>RFA-Z109 EAGLE</ModelId> <DateCode>20120112CAFEBABE</DateCode> <ImageType>0x1001</ImageType> </DeviceInfo> <InstantaneousDemand> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <MeterMacId>0x00078100005d1a87</MeterMacId> <TimeStamp>0x1a3aa2c9</TimeStamp> <Demand>0x000697</Demand> <Multiplier>0x00000001</Multiplier> <Divisor>0x000003e8</Divisor> <DigitsRight>0x03</DigitsRight> <DigitsLeft>0x06</DigitsLeft> <SuppressLeadingZero>Y</SuppressLeadingZero> </InstantaneousDemand> <CurrentSummation> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <MeterMacId>0x00078100005d1a87</MeterMacId> <TimeStamp>0x1a3aa1fd</TimeStamp> <SummationDelivered>0x01b737ad</SummationDelivered> <SummationReceived>0x00000000</SummationReceived> <Multiplier>0x00000001</Multiplier> <Divisor>0x000003e8</Divisor> <DigitsRight>0x01</DigitsRight> <DigitsLeft>0x06</DigitsLeft> <SuppressLeadingZero>Y</SuppressLeadingZero> </CurrentSummation> <PriceCluster> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <MeterMacId>0x00078100005d1a87</MeterMacId> <Price>0x00000000</Price> <Currency>0x0348</Currency> <TrailingDigits>0x00</TrailingDigits> <Tier>0</Tier> <RateLabel></RateLabel> </PriceCluster> <MessageCluster> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <MeterMacId>0x00078100005d1a87</MeterMacId> <TimeStamp>0x00000000</TimeStamp> <Id>0x00000000</Id> <Priority>Low</Priority> <Text></Text> <ConfirmationRequired>N</ConfirmationRequired> <Confirmed>N</Confirmed> <Read>Y</Read> <Queue>active</Queue> </MessageCluster> <MeterInfo> <DeviceMacId>0x00158d00001aba57</DeviceMacId> <MeterMacId>0x00078100005d1a87</MeterMacId> <NickName></NickName> <Account></Account> <Auth></Auth> <Host></Host> <Enabled>Y</Enabled> </MeterInfo></Data>
Energy EAGLE Debug Parsing Device Data XML from "Rainforest Automation Eagle".
Energy EAGLE Debug Parsed data:
<?xml version="1.0" ?>
<Data>

<NetworkInfo>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<Status>
Connected
</Status>

<CoordMacId>
0x00078100005d1a87
</CoordMacId>

<ExtPanId>
0x7fffffffffffffff
</ExtPanId>

<ShortAddr>
0xffff
</ShortAddr>

<Channel>
15
</Channel>

<LinkStrength>
0x64
</LinkStrength>

</NetworkInfo>

<DeviceInfo>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<InstallCode>
0xdaf8a8da2a53095b
</InstallCode>

<LinkKeyHigh>
0x6885150105bfc341
</LinkKeyHigh>

<LinkKeyLow>
0xc1cbfadbfca670b9
</LinkKeyLow>

<FWVersion>
1.4.21 (5017)
</FWVersion>

<HWVersion>
3.2.1
</HWVersion>

<Manufacturer>
Rainforest Automation, Inc.
</Manufacturer>

<ModelId>
RFA-Z109 EAGLE
</ModelId>

<DateCode>
20120112CAFEBABE
</DateCode>

<ImageType>
0x1001
</ImageType>

</DeviceInfo>

<InstantaneousDemand>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<MeterMacId>
0x00078100005d1a87
</MeterMacId>

<TimeStamp>
0x1a3aa2c9
</TimeStamp>

<Demand>
0x000697
</Demand>

<Multiplier>
0x00000001
</Multiplier>

<Divisor>
0x000003e8
</Divisor>

<DigitsRight>
0x03
</DigitsRight>

<DigitsLeft>
0x06
</DigitsLeft>

<SuppressLeadingZero>
Y
</SuppressLeadingZero>

</InstantaneousDemand>

<CurrentSummation>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<MeterMacId>
0x00078100005d1a87
</MeterMacId>

<TimeStamp>
0x1a3aa1fd
</TimeStamp>

<SummationDelivered>
0x01b737ad
</SummationDelivered>

<SummationReceived>
0x00000000
</SummationReceived>

<Multiplier>
0x00000001
</Multiplier>

<Divisor>
0x000003e8
</Divisor>

<DigitsRight>
0x01
</DigitsRight>

<DigitsLeft>
0x06
</DigitsLeft>

<SuppressLeadingZero>
Y
</SuppressLeadingZero>

</CurrentSummation>

<PriceCluster>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<MeterMacId>
0x00078100005d1a87
</MeterMacId>

<Price>
0x00000000
</Price>

<Currency>
0x0348
</Currency>

<TrailingDigits>
0x00
</TrailingDigits>

<Tier>
0
</Tier>

<RateLabel/>

</PriceCluster>

<MessageCluster>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<MeterMacId>
0x00078100005d1a87
</MeterMacId>

<TimeStamp>
0x00000000
</TimeStamp>

<Id>
0x00000000
</Id>

<Priority>
Low
</Priority>

<Text/>

<ConfirmationRequired>
N
</ConfirmationRequired>

<Confirmed>
N
</Confirmed>

<Read>
Y
</Read>

<Queue>
active
</Queue>

</MessageCluster>

<MeterInfo>

<DeviceMacId>
0x00158d00001aba57
</DeviceMacId>

<MeterMacId>
0x00078100005d1a87
</MeterMacId>

<NickName/>

<Account/>

<Auth/>

<Host/>

<Enabled>
Y
</Enabled>

</MeterInfo>
</Data>


Energy EAGLE Debug updateDeviceState called.
Energy EAGLE Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 651, in runConcurrentThread
File "plugin.py", line 1105, in eagleDeviceData
<type 'exceptions.IndexError'>: list index out of range

Energy EAGLE Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Energy EAGLE Debug Starting runConcurrentThread.
Energy EAGLE Debug eagleDeviceData called. Device: Rainforest Automation Eagle
Energy EAGLE Debug sendCommand called.
Energy EAGLE Debug connect called.
Energy EAGLE Debug Attempt # 1 to connect to EAGLE.
Energy EAGLE Debug Sending command
<LocalCommand>
<Name>get_device_data</Name>
<MacId>0x00158d00001aba57</MacId>
</LocalCommand>

George Wilde

Posted on
Tue Dec 10, 2013 10:39 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

Perfect! Thanks. I'll try to get that fixed.

Posted on
Wed Dec 11, 2013 1:40 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

Version 0.9.14 Posted

See main Energy EAGLE announcement thread for download link.

Changes from 0.9.13:
  • Worked around more difference between EAGLE firmware 1.x and 2.0 beta versions that would cause the plugin to crash.

Posted on
Wed Dec 11, 2013 5:32 am
GRWilde offline
User avatar
Posts: 173
Joined: Nov 15, 2005
Location: Los Angeles

Re: Energy EAGLE Discussion

My Energy Eagle plugin is still crashing with 0.9.14 using the 2.0 Beta firmware.

George Wilde

Posted on
Wed Dec 11, 2013 9:37 am
automaton offline
Posts: 88
Joined: May 23, 2008

Re: Energy EAGLE Discussion

Interesting. My Eagle has been stable with the beta firmware since the 9.13 plugin update.

I'm on SoCal Edison, current Eagle firmware 2.0.17

Posted on
Wed Dec 11, 2013 10:21 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

GRWilde wrote:
My Energy Eagle plugin is still crashing with 0.9.14 using the 2.0 Beta firmware.

I'm betting it's a different error. Could you paste in the error?

Posted on
Wed Dec 11, 2013 2:05 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Energy EAGLE Discussion

FWIW I had Energy EAGLE 0.9.13 on a PG&E account with no problems.
Just upgraded to 0.9.14 and still no problems.

Posted on
Wed Dec 11, 2013 2:13 pm
GRWilde offline
User avatar
Posts: 173
Joined: Nov 15, 2005
Location: Los Angeles

Re: Energy EAGLE Discussion

Here is the error message:

Starting plugin "Energy EAGLE 0.9.14" (pid 26922)
Started plugin "Energy EAGLE 0.9.14"
Energy EAGLE Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 655, in runConcurrentThread
File "plugin.py", line 1130, in eagleDeviceData
<type 'exceptions.IndexError'>: list index out of range

Energy EAGLE Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

George Wilde

Posted on
Wed Dec 11, 2013 2:51 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

Thanks. I'll try to track that error down as well.

Posted on
Wed Dec 11, 2013 3:59 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

Version 0.9.15 Posted

See main Energy EAGLE announcement thread for download link.

Changes from 0.9.14:
  • More workarounds for differences between different EAGLE firmware versions.

Posted on
Wed Dec 11, 2013 4:03 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

GRWilde wrote:
Here is the error message:

Starting plugin "Energy EAGLE 0.9.14" (pid 26922)
Started plugin "Energy EAGLE 0.9.14"
Energy EAGLE Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 655, in runConcurrentThread
File "plugin.py", line 1130, in eagleDeviceData
<type 'exceptions.IndexError'>: list index out of range

Energy EAGLE Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

It looks like (from the XML you posted previously) that the reason for the 2 errors you've reported are that your EAGLE 1) doesn't include a "Type" element in the "MeterInfo" and 2) uses the element name "NickName" instead of "Nickname" in the "MeterInfo" tree (note the difference in mixed case). Hopefully this new version will fix all of this.

Posted on
Thu Dec 12, 2013 2:52 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Energy EAGLE Discussion

nsheldon wrote:
Version 0.9.15 Posted

Well, FWIW, 0.9.15 works fine here (PG&E) with Eagle FW 2.0.17

BTW, thanks for all your work on this plugin.

Posted on
Thu Dec 12, 2013 2:55 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Energy EAGLE Discussion

Cool! Glad to hear it's working. Thanks for the feedback! Hopefully it'll work for George too.

Posted on
Thu Dec 12, 2013 3:37 pm
GRWilde offline
User avatar
Posts: 173
Joined: Nov 15, 2005
Location: Los Angeles

Re: Energy EAGLE Discussion

The 0.9.15 plugin is now working correctly with my Energy Eagle 2 Beta firmware. Thanks!

George Wilde

Who is online

Users browsing this forum: No registered users and 3 guests