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

**URL:** <https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [August 15, 2022, 1:06pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368 "2022-08-15T13:06:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_Diekman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacob_diekman/32/56876_2.png) [@Jacob\_Diekman](https://community.homey.app/u/Jacob_Diekman)\
**Post date:** [August 15, 2022, 1:06pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/1 "2022-08-15T13:06:09Z")

</div>

I try to collect temperature data from a owserver (one wire data collector) the data is exposed as [http://192.168.31/details.xml](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?

 ![Schermafbeelding 2022-08-15 om 15.03.32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a4904f3cf6792b857cfea3eda1207ebac7911379.png)

 ![Schermafbeelding 2022-08-15 om 15.16.20](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/52ac15b173869fd8efed86b2d527c35bf3a2d9fe.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 15, 2022, 1:46pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/2 "2022-08-15T13:46:12Z")

</div>

Try to use this card instead:

> ![Screenshot_20220815-154510_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/f/9fa222e3bc9afbd916eb5839069273d358f62411.jpeg)

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

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 15, 2022, 2:51pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/3 "2022-08-15T14:51:29Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/100c2fc0594b681b590edfb1e3c9ae31326932c6.png)

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

---

<div class="post-metadata">

**Author:** ![Jacob\_Diekman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacob_diekman/32/56876_2.png) [@Jacob\_Diekman](https://community.homey.app/u/Jacob_Diekman)\
**Post date:** [August 15, 2022, 7:06pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/4 "2022-08-15T19:06:53Z")

</div>

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?

 ![Schermafbeelding 2022-08-15 om 21.03.13](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/8529f8a42bb918c48964d9db3898a9567d02a192.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 15, 2022, 9:20pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/5 "2022-08-15T21:20:42Z")

</div>

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](https://community.homey.app/t/parse-value-from-html-text-web-page-homeyscript/66879/2)

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

```auto
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)
}

```

---

<div class="post-metadata">

**Author:** ![Jacob\_Diekman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacob_diekman/32/56876_2.png) [@Jacob\_Diekman](https://community.homey.app/u/Jacob_Diekman)\
**Post date:** [August 16, 2022, 8:56am UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/6 "2022-08-16T08:56:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [October 10, 2023, 6:45pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/7 "2023-10-10T18:45:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jacob\_Diekman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacob_diekman/32/56876_2.png) [@Jacob\_Diekman](https://community.homey.app/u/Jacob_Diekman)\
**Post date:** [October 11, 2023, 3:22pm UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/8 "2023-10-11T15:22:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 16, 2023, 8:53am UTC](https://community.homey.app/t/can-somebody-point-me-in-the-correct-direction-on-http-request-flow-cards/67368/9 "2023-11-16T08:53:15Z")

</div>

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/](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](https://community.homey.app/t/app-embedded-data-system/94145)
