# Ambient Weather App

**URL:** <https://community.homey.app/t/ambient-weather-app/82153>\
**Category:** Questions & Help\
**Created:** [June 11, 2023, 4:30pm UTC](https://community.homey.app/t/ambient-weather-app/82153 "2023-06-11T16:30:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laef\_Olson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/laef_olson/32/78493_2.png) [@Laef\_Olson](https://community.homey.app/u/Laef_Olson)\
**Post date:** [June 11, 2023, 4:30pm UTC](https://community.homey.app/t/ambient-weather-app/82153/1 "2023-06-11T16:30:03Z")

</div>

Wondering if anyone has seen this error on the Ambient Weather app when trying to add the weather station into Homey? Generated a new API key, submit it in the app, but it errors out with this message: "Cannot read properties of undefined (reading ‘location’)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f23d7f49cb554617a69054560ddc4473609f7c56.png)

---

<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:** [June 11, 2023, 5:33pm UTC](https://community.homey.app/t/ambient-weather-app/82153/2 "2023-06-11T17:33:26Z")

</div>

Probably you made a typing error, if possible, show your input so we can see if something is wrong.

---

<div class="post-metadata">

**Author:** ![Laef\_Olson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/laef_olson/32/78493_2.png) [@Laef\_Olson](https://community.homey.app/u/Laef_Olson)\
**Post date:** [June 11, 2023, 9:15pm UTC](https://community.homey.app/t/ambient-weather-app/82153/3 "2023-06-11T21:15:12Z")

</div>

I’ll try to provide the steps I’m following - I’ve tried it multiple times on both the mobile (IOS) and web app (using Chrome) and am using cut/paste from the Ambient website for the API key.

Select + New Device  
Select Ambient Weather  
Select Weather Station  
Select Connect in the dialog to Connect Weather Station to Homey  
The Ambient Weather dialog appears for API KEY input  
Log into my Ambient Weather account and copy the API KEY that I generated for Homey (I have one other API Key generated from my prior use of SmartThings.  
Paste into the dialog - I make sure that there are no extra characters or spaces  
Click Next  
brief flash of ‘searching for devices’ shows up, then jumps to the above dialog.

---

<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:** [June 12, 2023, 1:56am UTC](https://community.homey.app/t/ambient-weather-app/82153/4 "2023-06-12T01:56:09Z")

</div>

The first thing what came to mind is you probably haven’t allowed the Homey app to the phone’s location sensor?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [June 12, 2023, 3:13am UTC](https://community.homey.app/t/ambient-weather-app/82153/5 "2023-06-12T03:13:33Z")

</div>

After the failed attempt can you send a Diagnostics log so I can see if it shows where the error occurs?

---

<div class="post-metadata">

**Author:** ![Laef\_Olson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/laef_olson/32/78493_2.png) [@Laef\_Olson](https://community.homey.app/u/Laef_Olson)\
**Post date:** [June 14, 2023, 6:19pm UTC](https://community.homey.app/t/ambient-weather-app/82153/6 "2023-06-14T18:19:16Z")

</div>

Hi Peter - interesting thought, although I double checked and it is enabled.

---

<div class="post-metadata">

**Author:** ![Laef\_Olson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/laef_olson/32/78493_2.png) [@Laef\_Olson](https://community.homey.app/u/Laef_Olson)\
**Post date:** [June 14, 2023, 6:52pm UTC](https://community.homey.app/t/ambient-weather-app/82153/7 "2023-06-14T18:52:13Z")

</div>

Hi Adrian - thanks for the offer to look into it. The diagnostics code is 77A6889A

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [June 15, 2023, 5:30am UTC](https://community.homey.app/t/ambient-weather-app/82153/8 "2023-06-15T05:30:25Z")

</div>

I haven’t received a Diagnostics report. Did you make it from the App screen or from the Homey settings?

---

<div class="post-metadata">

**Author:** ![Laef\_Olson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/laef_olson/32/78493_2.png) [@Laef\_Olson](https://community.homey.app/u/Laef_Olson)\
**Post date:** [June 17, 2023, 6:54pm UTC](https://community.homey.app/t/ambient-weather-app/82153/9 "2023-06-17T18:54:39Z")

</div>

Yes - was doing it wrong. Did this one from the app screen.  
cadccc82-439f-498b-8924-9c5216a4c8cd

thx!  
Laef

---

<div class="post-metadata">

**Author:** ![Laef\_Olson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/laef_olson/32/78493_2.png) [@Laef\_Olson](https://community.homey.app/u/Laef_Olson)\
**Post date:** [June 17, 2023, 7:11pm UTC](https://community.homey.app/t/ambient-weather-app/82153/10 "2023-06-17T19:11:56Z")

</div>

Made another attempt to send a diagnostic report after a failed device add. 433818d0-db1e-4a63-a994-8524ede9cbd5
