# Homey in de camper?

**URL:** https://community.homey.app/t/homey-in-de-camper/51609
**Category:** Vragen & hulp
**Created:** [September 13, 2021, 4:58pm UTC](https://community.homey.app/t/homey-in-de-camper/51609 "2021-09-13T16:58:48Z")
**Posts on this page:** 1
**Showing post:** 13

<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: [November 2, 2025, 7:07pm UTC](https://community.homey.app/t/homey-in-de-camper/51609/13 "2025-11-02T19:07:35Z")

</div>

Als je straat + plaats wil laten weergeven, kun je dit gebruiken

 ![screenshot_20251017_225335_homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/ba6abc7f0b2ca1224e7ee0cafced22cb60d6cc83.jpeg)

Als je dit als een advanced flow opzet, dan kun je de verandering in zowel latitude als longitude als trigger gebruiken.

Bijbehorend Homeyscript:

```auto
const latitude = args[0].split(",")[0];
// just to test:
//const latitude = 52.8351544;

const longitude = args[0].split(",")[1];
// just to test:
//const longitude = 4.2507911;

const response = await fetch(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${latitude}&lon=${longitude}`)
//
const data = await response.json();

// Check if (correct) data is returned
if (!data.address.village || !data.address.road) {
    throw new Error("No data returned for: \nlatitude = " + latitude
    + "\nlongitude =" + longitude + "\n response = " + response + "\n data = " + data);
}

const aDdress = data.address.road + " " + data.address.house_number + " " + data.address.village;
//console.log("Address:\n" + aDdress); 

const addRess = '"' + aDdress + '"';
await tag('address_found', addRess);

return true;  
 

```

---

_[View the full topic](https://community.homey.app/t/homey-in-de-camper/51609)._
