SmartThings and Eagle by Rainforest (Energy Monitoring) Connection?

Typical. Either RFA was blowing smoke on my ticket, or the support person you’re working with now clearly isn’t aware. I will say I have had virtually no issues in over a month since they claimed they updated the Kernel.

Reply from RFA on my original ticket…

“Very sorry to hear about the cloud connectivity issues you were experiencing. Your device required an update to the Linux kernel, which had a bug that caused this issue. We regret that your device did not get this update earlier. We have now patched it, please let us know if you experience any more issues. “

Have them reference ticket #419946# ignore pound signs. Stupid forum software ST uses insists on trying to auto-populate a forum thread if I don’t include the pound signs.

Also, check the lights on your Eagle when the issue occurs. If the cloud drops off, then the Kernel update solved that problem. If it’s truly the Zigbee light, that be something different, but perceptually, they appear the same without looking at the lights.

When I was having my issue, here is what my unit looked like. WiFi is disabled on mine, so thus why it’s off.

image

I think I have an older unit…mine doesn’t have wifi.

Yep, original Eagle has 4 (vs 5) lights.

Hi,

Can you please help me?
Does your handler and manager work on the previous version of rainforest? (4 lights)

ive already placed in all required setup values, but no data displayed.
for the mac address field, does it need “:” (colon) on the text? or not? With or without, no data is displayed

It does work with the original eagle. You need to use the “mac” printed on the bottom without colons. The value printed on the bottom has too many characters for a mac and is different than the actual mac address that will show up in network logs (not sure why).

Hi Justin,

Is it still working for you now?

When i try to debug it it says connection reset…

Jon

Yes, it’s working for me. Do you still have it connected to rainforestcloud.com? I vaguely remember there being something about local vs cloud access and how you couldn’t have both at the same time. I have both “allow remote management” and “enable security” disabled.

hi justin,

ive checked that for data to be retrieved, i should have it on allow remote
management and security enabled.

When i tested the httpPost via postman (https://www.getpostman.com/) and
plugged in the proper values (content type, cloud ID, and etc) i get the
required reply from the server. So my issue now is does httpPost work in
the code, as it is always giving the a connection reset reply. very weird,
as its working for you but not for me.

thats why im thinking was there any missing items i forgot to include.

Jon

With my code, rainforestcloud.com is completely removed from the picture, so you need to have remote management and security disabled. You also need to be using a local, static IP address. If you can get results in postman from your local IP then it should work okay.

P.S. Your emailed responses are adding cruft to the thread.

I am by no means an expert, but have done API work in the past, so perhaps this helps.

This is how I was able to connect to my Eagle 200 (5 LED’s) directly. Earlier models will have a similar process I presume. So… Let’s get started.

How to setup and send commands via local LAN via Postman to the Eagle 200:

1. Login to https://portal.rainforestcloud.com/user/settings.

  • Navigate to Eagles on the left side
  • Copy down your Cloud ID and Install Code - you’ll need them for Postman
  • This is solely to obtain your credentials needed to connect locally
    image

**2. Setup a new collection in Postman

3. Setup the URL as shown with POST as the method

  • Update the IP to your local LAN IP assigned to the Rainforest box
  • Make sure method is POST and everything else is 100% as shown in the URL as rainforest has a typo in their docs and forgot to include the slash in HTTP within their doc examples
  • Enter the other text boxed in yellow exactly as shown
  • Authorization will be pre-populated. Don’t mess with it at the request level.
    image

**4. Enter and select additional boxed items as shown here

**5. Profit. Hope this helps get started. Beyond this will require more time to tinker and play with.

BTW… For Eagle 200 Users, it appears RFA has now given us a way to configure our our API push via their website. See the cloud tab which now has "Add New Upload Destination. Not sure if this is LAN to LAN or what, but promising to see a way to configure ourselves"

1 Like

This is an old topic, but I haven’t found any updates in regards to the Rainforest Eagle, so I thought I’d share my progress here.

I have the 4-light Eagle, and wrote a new device handler and smartapp for it using the Cloud API. I couldn’t get Justin’s to work with my device. If you stumble on this and want to give it a try, you can find the device handler and smartapp (you need both) here:

SmartApp

Device Handler

3 Likes

I have since migrated over to Hubitat, but I was inspired to rewrite my driver to implement the Eagle uploader API… I am no longer experiencing any lockups of my Eagle, and it’s working quite well. In case anyone is interest in porting the code over to SmartThings you can find it here

Any chance you have an updated icon/img url?

Edit: Also the output is not working properly:

The logger says error: java.lang.reflect.UndeclaredThrowableException @line 82 (refresh)

App is showing 0W

Remove the : in your cloud id and it should work. Mine wasn’t working, I removed the colons and now it’s working great!

Well, it was working until about 8:40 this morning then the line 82 error starting coming back again. :frowning:

**EDIT **
Had to reboot my eagle device and it started working again.

Considering that we will all have to migrate to the “new” app now, will this integration or any integration still work? Thanks

Yes, it’s still working for me

1 Like

Great. Thank you

Just switched to the “new” app and while I can see the current power value, it doesn’t automatically refresh like it did before (I have to manually pull the screen down to get the new value). Is this your experience ?