Hello all,
I am trying to retrieve data from an xml file on an ethernet-connected energy meter on my local network.
When I connect to the meter using a browser (Chrome) at 192.168.1.60/readings.xml and use the Developer window to look at the content I see the following:
<?xml version="1.0" encoding="ISO-8859-1"?>
<response>
<readings_instrument_values><![CDATA[<table class='parametersTable fullWidth'><tr class='tableRow'><td class='separatorCell' colspan='12'>REAL TIME</td></tr><tr class='tableRow'><td class='paramCell1'>V1N<div class='black'>=</div></td><td class='valueCell'><div class='numericalValue'> 237.5</div>
// I've truncated this, suffice to say it's the data that I'm interested in
</readings_instrument_values>
</response>
The content also displays as a normal webpage with a browser-imposed title that reads:
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
It then displays the entire content that is shown in the Developer window.
When I perform the same request using an http request node, I get the following payload as a string:
<?xml version="1.0" encoding="ISO-8859-1"?>
<response>
<readings_instrument_values></readings_instrument_values>
</response>
...or in other words it is missing the useful data that I expected to see between <readings_instrument_values> and </readings_instrument_values>
Can anyone suggest what I should be doing to get the http request to bring all of the content over? Or a different method to retrieve the data?
Any suggestions gratefully received.