Transition from Home assistant to Homey

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

And I read the value by code:

  • platform: rest
    name: Aquarium Temperature
    resource: 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



  • platform: rest
    name: Aquarium pH
    resource: 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

The HTTP Request Flowcards app supports XML. To create a “sensor device” you need to use a virtual device using the Virtual Devices app.

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

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

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

Here’s an example to get you going:

Some things to note:

  • Change admin and 1234 in the URL to your username/password values. Make sure they are URL-encoded.
  • Change 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”
1 Like

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

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:

(“Deze Flow” = “This Flow”, “waarde” = “value”)

Thank you, it works for me now