Weatherflow Tempest v0.1.0 WeatherflowTempest.Client

Listens for packets from Weatherflow devices on the LAN and stores their latest state/update in its own state.

Outputs events via WeatherflowTempest.PubSub.udp_event_broadcast/2.

Events containing observations are flattened into a single observation with all observation keys as top-level keys.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Get a list of serial numbers of Weatherflow Hubs that have been heard from

Get all the latest data that the client has received

Get the total number of UDP packets and errors received by the client

Link to this section Functions

Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function get_hub_serials()

Get a list of serial numbers of Weatherflow Hubs that have been heard from.

Get all the latest data that the client has received.

Link to this function get_packet_stats()

Get the total number of UDP packets and errors received by the client.