I have a URL and XML response:

<?xml version="1.0" encoding="utf-8"?>
<xml><result>200 OK</result><credit>277.0000</credit></xml>

I have added an sensor "HTTP XML/REST VALUE" , I just want the value of "credit".

But the sensor is now counting number of times "Credit" is used = "1".

What am I doing wrong?


Article Comments

Hello,
we appreciate your inquiry.

Within the Sensor's Settings there's a setting called Sensor Value which can either be:

  • Use the value of the selected XML node
  • Use the number of occurrences of the selected XML node or its children/siblings

For the desired result (Reading/displaying the value) kindly set it to Use the value of the selected XML node.

Best regards,


Oct, 2015 - Permalink