Skip to content

[Feature Request] Weather module: Expand support/features of the WeatherFlow provider #4107

@PDStig

Description

@PDStig

Prerequisites

  • I am running the latest version of MagicMirror², and know that this feature is not available now.
  • I know my issue is not related to a third-party module.
  • I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request

I propose an expansion of the current weather module (and the WeatherFlow provider) to support real-time data (through the WebSocket API), lightning detection, precipitation amount for current, and battery.

Describe the Use Case

These features do not currently exist (either in the weather module itself or for the WeatherFlow provider).

  • WebSockets: support real-time weather data (WeatherFlow: can send wind information every 3 seconds, and lightning data when detected)
  • Lightning detection: the weather module does not currently support this at all. But I believe it is a critical safety feature to have (when supported) to know when a station has detected lightning.
  • Precipitation amount (current): While I see it supported for hourly and daily, I don't see it implemented for current. It is supported in the WeatherFlow API.
  • Battery: I think that this is just a QOL feature to know if your Tempest WeatherFlow station's battery is going bad. Normally, it always works unless you live in the far north/south with long periods of darkness.

Describe Preferred Solution

As typical and standard for the weather module and other default modules of MagicMirror.

The WebSocket feature may be tricky. It must be implemented through the Fetcher (or have its own "WSFetcher" class). But this could also come in handy for other modules.

Describe Alternatives

No response

Related Code

No response

Additional Information

I own a Tempest WeatherFlow station. I am willing to provide any first-party testing for the WeatherFlow provider necessary.

Participation

  • I am willing to submit a pull request for this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions