Author Topic: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin  (Read 19473 times)

Offline robertmm

  • Sr. Newbie
  • *
  • Posts: 28
  • Karma: +1/-0
To update, upload the files and "reload". To install, see below.
=====================================

CURRENT VERSION:

Version 0.4: Added link status display and link status change notifications

=====================================

HISTORY:

Version 0.3: Should work with old and new firmware revisions of the Eagle, and can handle negative values in the "Demand" variable.

Version 0.2a: Same as 0.2, but works with the Eagle v2 firmware.

Version 0.2: Display From/To Grid and Net (rounded to nearest Wh). The MeteringType variable can be changed to 0, 1, 2 to forward either of these values to Vera's energy measurement service. On startup, don't modify the WholeHouse and ActualUsage variable in case someone wants to modify them.

Version 0.1: Show Energy to grid, and add link strength to dashboard view

Version 0.0: This is a plugin for the Rainforest Automation EAGLE HAN Gateway.

=====================================

INSTALLATION:

Upload all files under Apps -> Develop Apps -> Luup files

Then, Apps -> Develop Apps ->  Create device
with the following parameters:
Device type = urn:schemas-smartmeter-han:device:SmartMeterHAN1:1
Description = Eagle
Upnp Device Filename = D_SmartMeterHAN1.xml
Upnp Implementation Filename = I_SmartMeterHAN1.xml
Ip Address = <IP of your Eagle>
[Create device]

Then, Reload and it should create the plugin device.

On first run, the plugin tries to discover the device's MAC ID which is then stored for future use. It implements the WholeHouse (optional) and ActualUsage variables and does show up under "Energy". The plugin sets three variables named "KWHDelivered", "KWHReceived" and "KWHNet". "MeteringType" selects which one of them is stored in "KWH" (0 = delivered, 1 = received, 2 = net).

There's a possibility that the time zone is wrong unless you're in Texas (the Eagle seems to live in Pacific time zone, but the meter is in UTC I think), please let me know.

=====================================

This is a minor revision from the version originally posted over at http://forum.micasaverde.com/index.php/topic,14039.0.html
I removed some unnecessary variables and changed one XML file to not throw up when DeviceSpy is scanning it.

As a side note, the Texas distributor for the Rainforest Automation products has spent a lot of time helping me getting the Eagle to work, so all things being equal (including price) why not order from Steve Brightman at swesmarts.com (and tell him you're giving him your business because he helped me).
« Last Edit: February 08, 2014, 01:24:59 pm by robertmm »

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #1 on: May 09, 2013, 01:33:56 am »
Looks like they are out of stock though...
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline robertmm

  • Sr. Newbie
  • *
  • Posts: 28
  • Karma: +1/-0
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #2 on: May 10, 2013, 09:56:09 am »
@strangely: I asked and of this morning they had one left (after that one, another one or two weeks). I'd call them.
Edit 10 AM: Last one gone
« Last Edit: May 10, 2013, 11:08:50 am by robertmm »

Offline robertmm

  • Sr. Newbie
  • *
  • Posts: 28
  • Karma: +1/-0
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #3 on: May 10, 2013, 12:03:59 pm »
I modified the plugin to display the "Delivered", "Received", and a locally calculated "Net" (see image). The new variable "MeteringType" allows to select which one of the three gets forwarded to Vera's energy measurement service. You can now also turn off the WholeHouse variable.

Offline Brientim

  • Beta Testers
  • Sr. Hero Member
  • *****
  • Posts: 2491
  • Karma: +77/-7
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #4 on: May 11, 2013, 03:26:08 am »
Looks like they are out of stock though...

They were always out of stock for AU models. I sent them an email asking when they would be available and the next day it was available... Problem was I had been waiting and not asking the question or so it appears and it was being sent yesterday.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #5 on: May 11, 2013, 03:28:21 am »
Guess I should try to call them then :)
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline Brientim

  • Beta Testers
  • Sr. Hero Member
  • *****
  • Posts: 2491
  • Karma: +77/-7
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #6 on: May 11, 2013, 03:48:03 am »
Yes, and it seems like a funny way they have to sell your stock - never available online...

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #7 on: May 11, 2013, 04:04:03 am »
I've held off buying for that very reason. I kind of object to paying high shipping costs and tax also since the eagle already carries a large premium over the EMU and raven etc.
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #8 on: May 28, 2013, 11:35:39 pm »
Anyone have a issue pairing their Eagle? I'm not on my third attempt with SCE, and I'm pretty sure this is going to be waste of time again :(
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline robertmm

  • Sr. Newbie
  • *
  • Posts: 28
  • Karma: +1/-0
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #9 on: May 28, 2013, 11:46:13 pm »
@strangely: someone at the Green Mountain Energy forums said it started working for him when he registered the device as a display instead of a gateway. YMMV.
I needed two tries myself but it's been solid since (except for the non-functional 'history' screens).
I did move the device further away from Vera's antenna (put on an external antenna with a long cable) and that improved the 'link' status. I wonder whether there was interference between zigbee and zwave!?

Failing all that, i'd suggest you call or email rainforest support. I've gotten responses on weekends and late at night, they're pretty good about that.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #10 on: May 29, 2013, 12:24:52 am »
I had no choice but to register it as a display since that was the closest option with SCE as a rainforest device. Gateways are listed, but there are no rainforest ones from their management website.

I spoke with a human earlier again and she said that the Eagle was a supported device, and she adjusted it.

Anyway, 7 hours later and its still not linked at the moment... hating this already :(
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #11 on: May 31, 2013, 08:59:48 pm »
Third attempt at registering this thing and its still not working :( It got further this time since the SCE website shows it registered, however the Zigbee light 48 hours later is still not solid.

Not very impressed with Rainforest support either since they haven't gotten back to me via email, and I don't see a way to be able to call them.
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3712
  • Karma: +33/-2
  • Vera 1,3 & V light
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #12 on: June 11, 2013, 01:44:19 am »
Finally all up and running now after a firmware update to the Eagle and fourth registration attempt :)

Plugin seems to be working OK, although I did notice this morning in SQ remote there was a very large number that could not have been correct. Will look out for it again and try to capture the log.
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline wilme2

  • Hero Member
  • *****
  • Posts: 949
  • Karma: +18/-10
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #13 on: June 26, 2013, 04:49:23 pm »
I ordered from Southwest Energy Smarts, and have the Eagle up and working with my Oncor meter and the plug-in from this thread.

So far not sure what all I can do with it...

Thanks for writing the plug-in!
Long Live UI5!

Offline wilme2

  • Hero Member
  • *****
  • Posts: 949
  • Karma: +18/-10
Re: Rainforest Automation Eagle ZigBee Smart Meter HAN Gateway Plugin
« Reply #14 on: June 26, 2013, 05:03:07 pm »
Is there any way to get this device to display correctly on AutHomation or Vera Mobile, or...?
Long Live UI5!