Can somebody point me in the correct direction on HTTP request flow cards

I try to collect temperature data from a owserver (one wire data collector) the data is exposed as http://192.168.31/details.xml . There is a partial example of this file below
I try to collect the DS18B20 temperature and put it in a variable called Temp_DS18B20 with the use of this flow. No error but also al my clues for the THEN card are not working. What am I doing wrong?

Try to use this card instead:

Install Better Logic and create the desired Better Logic variables up front.

Note, the “variable” entry is clickable and shows a list of BL variables to pick

image

think 10 Seconds is too much for Homey, better try > Minutes

Hi gent’s thanks for the remarks. Followed them, but now I have no response and no data.
Is the JSONpath expression correct as in shown the flowcard example? I have tried various possibilities but seem to lack sufficient knowledge on what I am doing
Is it possible to drill down to this temperature from an webbrowser to test the JSON path?

I suddenly thought of an other recent topic, because of .xml
Maybe you can get some ideas from it
https://community.homey.app/t/parse-value-from-html-text-web-page-homeyscript/66879/2?u=peter_kawa

To update a Homey Logics variable with HomeyScript, create a NumVar called ‘Temp_DS18B20’ add the following code:

await Homey.logic.updateVariable({id: 'variable_ID', variable: { value: 123 } });
// You can retrieve the Variable ID(s) by pre-running this small command in Homey Script:
// Replace MyVar with your var name
let varName = "Temp_DS18B20"
const logicVars = await Homey.logic.getVariables()
for (var iLogicVar in logicVars){
  if (logicVars[iLogicVar].name == varName)
  log("Variable: " + logicVars[iLogicVar].name + "\nValue: " + logicVars[iLogicVar].value + "\nID: " + logicVars[iLogicVar].id)
}

Peter, Thanks for your suggestion, I also found the topic you referred to but dit not at all understand how to reform it to my wishes. I will test your proposal and have to start learning HomeyScript after all because I have to import much more values before really making the step from Vera3 to Homey
Regards,
Jacob

1 Like

Hi, I have the same OW Server t omeasure temperatures.

I have an php site that send the temperatures to homey but my webserver broke down and i want to get rid of that extra step.

Did you solve the issue and get the xml in to homey?

/Rikard

Rikard, I did not succeed in directly fetching data from the OW-Server by Homey. However with Home Assistant on a Raspberry PI and node-red integration installed in it I could read the OW-Server data end in turn collect it in Homey by means of the HA community app.

Hi Jacob

I made an app

It converts the xml from the details.xml and make a small json-sting that homey logic can handle.

https://homey.app/sv-se/app/com.embeddeddatasystems.convertxml/Embedded-Data-Systems/

and the forum with example

https://community.homey.app/t/app-embedded-data-system/94145