Energy EAGLE Discussion

Plug-ins, scripts, and other software to improve your home automation experience.
nsheldon
Posts: 2469
Joined: Mon Aug 09, 2010 2:12 pm
Location: CA
Contact:

Re: Energy EAGLE Discussion

Post by nsheldon »

Hi again.

Certainly. I'll see if I can track that down and share it.
automaton
Posts: 103
Joined: Fri May 23, 2008 8:35 am

Re: Energy EAGLE Discussion

Post by automaton »

Nathan,

The XML has changed. The list_devices call to the Eagle only returns some fields now:

Code: Select all

API Request:
<?xml version="1.0"?>
<LocalCommand>
<Name>list_devices</Name>
</LocalCommand>


API Response:
<DeviceInfo>
  <DeviceMacId>REMOVED</DeviceMacId>
  <InstallCode> REMOVED </InstallCode>
  <LinkKeyHigh> REMOVED </LinkKeyHigh>
  <LinkKeyLow> REMOVED </LinkKeyLow>
  <FWVersion>1.4.48 (6952)</FWVersion>
  <HWVersion>3.2.3</HWVersion>
  <Manufacturer>Rainforest Automation, Inc.</Manufacturer>
  <ModelId>Z109-EAGLE</ModelId>
  <DateCode>20121201EC051052</DateCode>
  <ImageType>0x1001</ImageType>
</DeviceInfo>
I hacked out all the code that looks for other XML elements that are no longer there (in eagleDeviceData around lines 1134-1194), and have it running for now. We'll see how it goes.

Interesting that the firmware reports 1.4.48 above, but the web UI on the Eagle says 2.2.0.7515
User avatar
GRWilde
Posts: 177
Joined: Tue Nov 15, 2005 2:40 am
Location: Los Angeles

Re: Energy EAGLE Discussion

Post by GRWilde »

If you get it working let me know. My plugin stopped working when they updated my Eagle to 2.2 firmware, so I disabled it.
George Wilde
jeffgtx
Posts: 43
Joined: Sun Aug 19, 2007 2:48 pm

Re: Energy EAGLE Discussion

Post by jeffgtx »

Hi. for those of you who experience the plugin failing, can you mention if you have the allow remote security setting set in the new firmware?
i suspect that might be the problem as there is obviously no place in the plugin to enter your credentials like for the app or web browser interface.
bmalarky
Posts: 6
Joined: Tue Sep 01, 2015 8:16 am

Re: Energy EAGLE Discussion

Post by bmalarky »

Indigo 6.1.4
Eagle Firmware: 2.2.3.7906

The setting for "Allow Remote Management" does not seem to have an affect on the error.
agame
Posts: 514
Joined: Thu Jul 13, 2017 10:29 pm
Location: Melbourne, Australia

Re: Energy EAGLE Discussion

Post by agame »

hi, can anyone advise whether this plugin is dead? Interested in a smart meter interface of some kind, this looks perfect.
rhanson
Posts: 198
Joined: Tue Apr 30, 2013 6:31 pm

Re: Energy EAGLE Discussion

Post by rhanson »

I believe Nathan said he doesn't have this device any longer and therefore can't maintain the plugin.

I use it without any issues. However, I have not updated the firmware on my Eagle device.
My Eagle says the HW version is 3.2.3 and the firmware is 2.1.4.7431.

Looks like they have a new version about to be released, the Eagle-200.

They have a github page with their own python library, so even if this plugin doesn't work, it's fairly easy to get the data you need.
https://github.com/rainforestautomation/Eagle-Http-API
nsheldon
Posts: 2469
Joined: Mon Aug 09, 2010 2:12 pm
Location: CA
Contact:

Re: Energy EAGLE Discussion

Post by nsheldon »

Yea. I don't support the plugin any longer because I don't have the EAGLE any longer (or access the SmartMeter either). I'm glad they released a Python library though. That will help anyone creating any new plugins.
User avatar
berkinet
Posts: 3441
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Energy EAGLE Discussion

Post by berkinet »

rhanson wrote:I believe Nathan said he doesn't have this device any longer and therefore can't maintain the plugin.... ...I use it without any issues. However, I have not updated the firmware on my Eagle device. My Eagle says the HW version is 3.2.3 and the firmware is 2.1.4.7431.

I finally upgraded from 2.1.4.7431 to the current version, 2.3.4.8466, and it broke the plugin. It looks like a lot of the data they were providing in the XML feed has been moved, or removed. With a little hacking I got the plug to load again and report the key states. But, a lot are blank. As I get time I'll go over the API and see if I can make the plugin more dynamic. If anyone is interested, please post here and I can share the work as I make progress.

rhanson also wrote:They have a github page with their own python library, so even if this plugin doesn't work, it's fairly easy to get the data you need.
https://github.com/rainforestautomation/Eagle-Http-API
Unfortunately the GitHub project was based on the RESTful API and not the "local API," which is currently being used in the plugin, or theCloud Uploader API , which pushes data to an external service. Fortunately, Nathan's work is still generally on-target, so bringing it up to date shouldn't be too hard.

CORRECTION: The plugin uses the XML API, which is no longer officially supported because the Eagle, which it supports, has been replaced by the Eagle-200
Post Reply

Return to “Nathan Sheldon Software”