# Is there an API for station messages?

**URL:** <https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503>\
**Category:** Third-Party Integrations\
**Tags:** api, tempest\
**Created:** [May 28, 2024, 3:52pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503 "2024-05-28T15:52:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Best\_codes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/best_codes/32/16121_2.png) [@Best\_codes](https://community.tempest.earth/u/Best_codes)\
**Post date:** [May 28, 2024, 3:52pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/1 "2024-05-28T15:52:12Z")

</div>

I know there is an API for most Tempest station data, but I can’t find one for station messages. By station messages, I mean this:

https://tempestwx.com/settings/station/${id}/messages  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/3X/a/e/ae3c7113b11464aa17c628888afd02c2a655ca25.png)

So, my question is, is there an easy way to access those messages? They get sent to my phone somehow… I’d like to integrate them into my custom home & weather dashboard too.

Thank you guys for any help you can give.

---

<div class="post-metadata">

**Author:** ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)\
**Post date:** [May 28, 2024, 8:21pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/2 "2024-05-28T20:21:25Z")

</div>

They are available via the Websocket interface if you register a listener…

[https://weatherflow.github.io/Tempest/api/ws.html](https://weatherflow.github.io/Tempest/api/ws.html)

---

<div class="post-metadata">

**Author:** ![Best\_codes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/best_codes/32/16121_2.png) [@Best\_codes](https://community.tempest.earth/u/Best_codes)\
**Post date:** [June 10, 2024, 5:49pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/3 "2024-06-10T17:49:18Z")

</div>

@vreihen Of course, but there is obviously a database somewhere of all of those messages. My question is, can the API access this database?

---

<div class="post-metadata">

**Author:** ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)\
**Post date:** [June 10, 2024, 6:23pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/4 "2024-06-10T18:23:32Z")

</div>

You’d have to say which messages you’re referring to as there are others (rain start for example)

[Lightning](https://apidocs.tempestwx.com/reference/lightning) says the last 60 minutes of strikes is available if that’s what you are asking. The TempestOne (link below) seems to say realtime lightning even requires a commercial add-on but that makes little sense if the other docs are true and you can simply use websockets to listen.

But they have so many old and new docs that seem (seem) to conflict that I’m uncertain. I don’t understand the difference between the sets of pages among [Quick Start](https://apidocs.tempestwx.com/reference/quick-start) and [WeatherFlow Tempest API & Developer Platform](https://weatherflow.github.io/Tempest/api/) and which one(s) might be the authoritative source for a personal one-station user.

Similarly also don’t understand what you’d get as a personal one-station user for their commercial offerings ([Station and Service Offerings Comparison Table | Tempest](https://business.tempest.earth/compare-station-solutions))

Their wording and offerings just confuse the heck out of me.

It’s also funny that their Tempest Home specifies no more than two sensors when as a (now recovered) field tester I had more than that online at a time years ago vs. one hub.

---

<div class="post-metadata">

**Author:** ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)\
**Post date:** [June 10, 2024, 8:11pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/5 "2024-06-10T20:11:08Z")

</div>

Why would they store event messages (not measurements) in a database? It has zero value once it is sent, and would (in aggregate) cost money to store…

---

<div class="post-metadata">

**Author:** ![Best\_codes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/best_codes/32/16121_2.png) [@Best\_codes](https://community.tempest.earth/u/Best_codes)\
**Post date:** [June 15, 2024, 7:29pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/6 "2024-06-15T19:29:10Z")

</div>

@vreihen @vinceskahan Do you have a station? Visit the link in my first post to see what I’m talking about.

These can be like:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/3X/0/7/07ac5f3514d50a0c2c11168d56f62daec21496e4.png)

Or even like these:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/3X/3/b/3b61808399d0cfab576159e691ca7e6a768a6ab6.png)

My station has 145 messages, so I have seen no evidence of a limit yet. They go all the way back to `Sunday, May 19th 2024`, which is when I received this device.

I’ve already seen all the APIs for accessing current data and events and stuff, but obviously, if my Tempest can access 145 messages, some of which occurred almost a month ago, there must be some type of database with an API interface to retrieve these (because how does the app and website do it)?

Thank you both for your help, though. 😃

---

<div class="post-metadata">

**Author:** ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)\
**Post date:** [June 15, 2024, 7:30pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/7 "2024-06-15T19:30:58Z")

</div>

> [@Best\_codes](#):
>
> there must be some type of database with an API interface to retrieve these

Probably yes for the first part, and no (for the users) for the second part…

There is a lot of your data that you cannot receive such as your raw readings, tunings, etc.

---

<div class="post-metadata">

**Author:** ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)\
**Post date:** [June 15, 2024, 9:08pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/8 "2024-06-15T21:08:48Z")

</div>

No, I do not have “a” station. 😉 However, I do receive instantaneous status emails for several of the above events (plus a few that most people here have never seen) for all of my WF-T stations as they happen…

> | Subject: | Tempest: Device offline - Sky Production (mast) |
> | --- | --- |
> | Date: | Sat, 15 Jun 2024 20:30:44 +0000 |
> | From: | WeatherFlow [noreply@weatherflow.com](mailto:noreply@weatherflow.com) |
> | Reply-To: | WeatherFlow [support@weatherflow.com](mailto:support@weatherflow.com) |
> | To: | Redacted [vreihen@redacted](mailto:vreihen@redacted) |
> 
> Your WeatherFlow Sky device named Sky Production (mast) at station The Land of Misfit Toys (beta) stopped sending data. Check that it has power and/or try moving your Sky closer to your WeatherFlow Hub.
> 
> For additional help, check out these [troubleshooting tips](https://help.weatherflow.com/hc/en-us/articles/360050786593#Tempest).
> 
> * * *
> 
> [Contact Customer Support](https://help.weatherflow.com/hc/en-us/requests/new)  
> Online help resources: [help.weatherflow.com](https://help.weatherflow.com)  
> Get help from others: [community.weatherflow.com](https://community.weatherflow.com)

They appear to be keeping about 30 days worth of logs around for troubleshooting purposes, only accessible via the web and probably to the support department folks. Feel free to screen-scrape them from the web if you really need them so badly…

---

<div class="post-metadata">

**Author:** ![Best\_codes](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/best_codes/32/16121_2.png) [@Best\_codes](https://community.tempest.earth/u/Best_codes)\
**Post date:** [June 16, 2024, 1:10pm UTC](https://community.tempest.earth/t/is-there-an-api-for-station-messages/24503/9 "2024-06-16T13:10:33Z")

</div>

@vreihen I think I’ve found out how they store the data. They use a Firebase app on Google Firebase (with a database). The API is not intended to be public, so I don’t think I’ll mess with it too much.

Thanks for your help!
