Rainforest / Node Red / Hass.io

Hi!

I’ve been using Hass. io for the last six months or so and had a setup to monitor my power usage (SCE) via the following:

  • Rainforest Eagle (v1) sending POST via http://10.0.1.100:1880/rest/metering/upload

  • Received in Node Red via HTTP IN with the URL being /rest/metering/upload

  • A flow which converts the XML to JSON whereby I can extract the electricity demand data

  • Onward to Influx and Grafana for visualizing.

All has been working fine for months. As I understand there have been updates to Hass. io which may change slightly how this behavior works, or requires configuring.

I now receive 401 errors (HTTP unauthorized) from the Rainforest, which suggests that it is no longer able to post to Node Red within Hass. io

Could someone describe how this relationship should work now? The rainforest does not have any options to send username/password, it can only post its info to a URL.

Should I change something in the Node Red / Hass. io add-on config?

I am on HA 0.97.2, Node Red 4.0.7

Thank you for any help!!

Ford

Just a little extra info - I see this in the Hass.io Node Red add-on page:

[24/Aug/2019:15:34:08 -0700] 401 -(10.0.30.100) POST /rest/metering/upload HTTP/1.1 (Raven Uploader/v1)

Multiple occurrences like that which I understand to mean that the messages are coming in, i’m just not seeing why they are being 401’d. (10.0.30.100 is the rainforest)

My flow in node red has a 200 response going back to the HTTP IN node.

I don’t understand where HA even fits into your setup. You describe Rainforest->Node Red->Influx.

Sorry - to clarify.

Hass.io running on a pi3 with Node Red add-on

Rainforest is a separate box, sending via HTTP to the Node Red add-on.

Influx is installed on a separate linux box altogether, collects data from multiple different sources on the network.

So nothing at all to do with home assistant then.

Only thing that changed was I updated Hass.io!

I will edit the original post to change all references of HA to Hass.io.

Thank you