API Key v.s. Application Key

I’m configuring an Ambient Personal Weather Station and I must enter an API Key and an Application Key. Ambient PWS only generates an API. Where do I find an Application Key? I’m new to HA and I just can’t figure this out.

The Ambient Personal Weather Station Docs say:

Using this integration requires both an Application Key and an API Key. To generate both, simply utilize the profile section of your Ambient Weather dashboard.

Do you mean that you logged in there and generated an API Key, but that it gives you no place to generate an Application Key?

The Ambient Weather REST API docs indicate that both can be created from the same page.

A Google Search turned up lots of information about Application Keys. Let us know which things you’ve checked so we know where to start helping.

Daniel,

I thank you for your quick response.

My Ambient Weather Account page had two API’s that were already generated so I used them but they didn’t work. I generated a new API that then allowed me to generate an Application Key.

I did read the Ambient Weather REST API docs but is was not clear to me as how to generate the Application Key. Still learning.

Again, I thank you for your time and consideration.

1 Like

@williamwhoch I am in the same bind. Did you figure out how to generate the application Key? I am only able to generate the API key. There is a place the generate the application key, but after I type in the application name, the app key comes as blank. You assistance is appreciated.

I also had this same issue, but I have solved it.

Here’s what you do:
Generate an API key (long hex)

Then there will be a box that says something like “Each developer also needs an application key. Click here to create one”. Write a sentence or two explaining that you are linking your weather station to HomeAssistant if you’d like. Go ahead and submit it. Then you will have a second line created with another long hex string. This is your application key!

Example:
ambienet-ha

The first is the API key. The second row where it says (application key) is the application key. It’s not very clear in the Ambient Weather dashboard, but this worked for me. Report back if it worked for you!

3 Likes

Thank you this worked for me too. What was throwing me off is that the application key is under the same column called API Key. The (application key) is the qualifier.

I was able to generate both the API and application keys, but I keep getting the message that the API key is invalid. What am I missing? I am also a HASS noob. I appreciate the help!InvalidAPI

UPDATE: It finally decided to work! Let’s see if I can consolidate all of the output though.

1 Like

I’m in the same boat. I generated both keys, and even put them in the configuration.yaml just in case.

How long did it take it to work? I’m guessing it has to propagate the API/App key across servers or something.

Update: It took about an hour to start working. Just be patient

For me it took about 5 minutes after I generated the API before it was accepted.