Skip to content

Commit

Permalink
Corrected readme.md title.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolla authored May 2, 2022
1 parent 399ca86 commit 1f94a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WeatherFlow Smart Weather API WebSocket .NET Example
# .Net WeatherFlow Tempest API Websocket Example
This project originally started as a proof of concept looking at using .NET Core's native ClientWebSocket class (https://docs.microsoft.com/en-us/dotnet/api/system.net.websockets.clientwebsocket?view=netcore-3.1).

After a little research into the .NET WebSocket Client and a great article I found on The Codegarden (https://thecodegarden.net/websocket-client-dotnet) that provided the following code it became obvious that I needed a class wrapper providing Async use of the ClientWebSocket class.
Expand Down Expand Up @@ -75,4 +75,4 @@ In Visual Studio you can do this by right clicking the project in solution explo

You will need to replace the token, station id and device id with your access token, station and device id. You can get an access token by signing in to https://tempestwx.com/, going to settings, scroll down to More and selecting Data Authorizations. Your station and device id can be pulled from the URL. For example, go to weather, select you station (right corner icon) and click on the temperature. When the graph appears the URL (i.e. https://tempestwx.com/station/12345/graph/67890/temp/2) will contain the station id and device id.

I hope this is of some help to those using the WeatherFlow Smart Weather API WebSocket (https://weatherflow.github.io/Tempest/api/ws.html) or wanting to understand WebSocket processing in .NET core. If you have any question or issues with the example please contact me through the GitHub issues feature.
I hope this is of some help to those using the WeatherFlow Smart Weather API WebSocket (https://weatherflow.github.io/Tempest/api/ws.html) or wanting to understand WebSocket processing in .NET core. If you have any question or issues with the example please contact me through the GitHub issues feature.

0 comments on commit 1f94a65

Please sign in to comment.