Skip to content

Arduino library to provide easy access to network WeatherFlow data

License

Notifications You must be signed in to change notification settings

dacarson/WeatherFlowApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github License Github Release

WeatherFlowApi

Description

This light weight Arduino library has a class (WeatherFlowData) that process WeatherFlow event as defined here: WeatherFlow Tempest UDP Reference When a class is successfully processed, a user defined callback is called.

WeatherFlowUdp inherits from WeatherFlowData, and will setup a UDP listener for WeatherFlow data packets being broadcast on the local network, and will feed them to WeatherFlowData for processing.

An independant helper class, WeatherFlowStrings takes the enumerated types from WeatherFlowData and returns strings. The strings are stored in PROGMEM, aka it returns F() strings.

Examples

The examples folder contains these examples:

  • SerialPrinter

This example prints all the values of the event that caused the callback to be invoked. The example shows how to setup WeatherFlowUdp with a callback. It prints all the values of the most recently processed event.

  • PrometheusPublisher

This example publishes the WeatherFlow data as a Prometheus data source. It shows how to access all the data stored by WeatherFlowData and iterate through it.

License

This library is licensed under MIT License

About

Arduino library to provide easy access to network WeatherFlow data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages