# Transition from Home assistant to Homey

**URL:** <https://community.homey.app/t/transition-from-home-assistant-to-homey/66555>\
**Category:** Devices\
**Tags:** app\
**Created:** [July 27, 2022, 4:34am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555 "2022-07-27T04:34:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![michalbern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michalbern/32/56540_2.png) [@michalbern](https://community.homey.app/u/michalbern)\
**Post date:** [July 27, 2022, 4:34am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/1 "2022-07-27T04:34:51Z")

</div>

I need an advice. in home assistant I read the temperature from an XML file:

 ![Výstřižek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a09227b7f497983851baefca788658c4e1a4894e.jpeg)

And I read the value by code:  
sensor:

- platform: rest  
name: Aquarium Temperature  
resource: [http://192.168.1.XXX:80/cgi-bin/status.xml](http://192.168.1.XXX:80/cgi-bin/status.xml)  
value\_template: “{{ value\_json.status.probes.probe[0].value }}”  
unit\_of\_measurement: “°C”  
username: admin  
password: 1234  
force\_update: true

and

sensor:

- platform: rest  
name: Aquarium pH  
resource: [http://192.168.1.XXX:80/cgi-bin/status.xml](http://192.168.1.XXX:80/cgi-bin/status.xml)  
value\_template: “{{ value\_json.status.probes.probe[1].value }}”  
unit\_of\_measurement: " "  
username: admin  
password: 1234  
force\_update: true

how can i do it in Homey

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 27, 2022, 4:40am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/2 "2022-07-27T04:40:44Z")

</div>

The [HTTP Request Flowcards app](https://homey.app/a/com.internet/) supports XML. To create a “sensor device” you need to use a virtual device using the [Virtual Devices app](https://homey.app/a/com.arjankranenburg.virtual/).

---

<div class="post-metadata">

**Author:** ![michalbern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michalbern/32/56540_2.png) [@michalbern](https://community.homey.app/u/michalbern)\
**Post date:** [July 27, 2022, 4:42am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/3 "2022-07-27T04:42:38Z")

</div>

I tried that and it doesn’t work. I’m a complete beginner

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 27, 2022, 4:46am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/4 "2022-07-27T04:46:11Z")

</div>

> [@michalbern](#):
>
> and it doesn’t work

So what did you try, and why didn’t it work?

---

<div class="post-metadata">

**Author:** ![michalbern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michalbern/32/56540_2.png) [@michalbern](https://community.homey.app/u/michalbern)\
**Post date:** [July 27, 2022, 5:02am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/6 "2022-07-27T05:02:40Z")

</div>

I don’t know which card to use

Some things I don’t understand how they work and my English is very bad it doesn’t help much

I have Virtual Devices, but I don’t know how to upload the value to it

 ![Výstřižek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/c/7c2b6bfeaa26ef748c675c29778740b1629f1ff1.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 27, 2022, 5:52am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/7 "2022-07-27T05:52:53Z")

</div>

Here’s an example to get you going:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/a/6a1f2fd014d4a5ae76896cb153bc1e11147cee2d.jpeg)

Some things to note:

- Change `admin` and `1234` in the URL to your username/password values. Make sure they are [URL-encoded](https://www.urlencoder.org/).
- Change `192.168.23.5:12345` to your IP-address/port number (`192.168.1.XXX:80`)
- `myStatus` is a random trigger name; it connects the “GET” card with the “JSONpath waarde/value” card (when the GET request has been performed, it will look for trigger cards with that name and trigger them)
- Create a virtual device of type “sensor” with (at least) the capability “Measured temperature”

---

<div class="post-metadata">

**Author:** ![michalbern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michalbern/32/56540_2.png) [@michalbern](https://community.homey.app/u/michalbern)\
**Post date:** [July 28, 2022, 3:32am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/8 "2022-07-28T03:32:07Z")

</div>

Thanks for the advice, but I still don’t know what I’m doing wrong

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6838f3979d9fd308b6bae996a5dc2699badb1c54.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 28, 2022, 5:50am UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/9 "2022-07-28T05:50:24Z")

</div>

I’m pretty sure the “#Temperature” tag isn’t the right one, because it’s not provided by the “JSONpath value” card. In my case, the tag that contains the temperature value is called “value numerical” (or something similar, I only see the Dutch translation).

In the dialog where you pick the tag, the tags related to that flow are shown at the top:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/19a1c5e2ef6701a8764de157d7876e90912b3579.png)  
(“Deze Flow” = “This Flow”, “waarde” = “value”)

---

<div class="post-metadata">

**Author:** ![michalbern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michalbern/32/56540_2.png) [@michalbern](https://community.homey.app/u/michalbern)\
**Post date:** [July 29, 2022, 1:29pm UTC](https://community.homey.app/t/transition-from-home-assistant-to-homey/66555/10 "2022-07-29T13:29:16Z")

</div>

Thank you, it works for me now
