PHPackages                             weatherflux/weatherflux - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. weatherflux/weatherflux

ActiveLibrary[Database &amp; ORM](/categories/database)

weatherflux/weatherflux
=======================

A gateway to listen WeatherFlow stations on a local network and write weather data in InfluxDB 2.

2.1.4(5y ago)3511MITPHPPHP &gt;=7.4

Since Jan 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Pierre-Lannoy/WeatherFlux)[ Packagist](https://packagist.org/packages/weatherflux/weatherflux)[ Docs](https://github.com/Pierre-Lannoy/WeatherFlux)[ RSS](/packages/weatherflux-weatherflux/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (4)Versions (17)Used By (0)

WeatherFlux
===========

[](#weatherflux)

WeatherFlux is a simple gateway that listen on the local network to messages sent by WeatherFlow station(s) and send them to an [InfluxDB 2.x](https://www.influxdata.com/products/influxdb/) server.

You can run WeatherFlux on:

- any system supporting Docker version 19 or greater (WeatherFlux dockerized version);
- any POSIX compatible operating system (Linux, OSX, BSD) supporting PHP 7.4 or greater and composer 2.0 or greater (WeatherFlux standalone version).

WeatherFlux on Docker
---------------------

[](#weatherflux-on-docker)

[![Docker Image Version (tag latest semver)](https://camo.githubusercontent.com/6456da3d71e84e94e1268cd72d125538579a651ac50cc7f017c5b958105bd573/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f762f7069657272656c616e6e6f792f77656174686572666c75782f6c61746573743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6456da3d71e84e94e1268cd72d125538579a651ac50cc7f017c5b958105bd573/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f762f7069657272656c616e6e6f792f77656174686572666c75782f6c61746573743f7374796c653d666c61742d737175617265)[![Docker Cloud Build Status](https://camo.githubusercontent.com/cb7af3fa47c4beee774fe3923761b7cb30435723c69ba974788243b050073cf7/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f636c6f75642f6275696c642f7069657272656c616e6e6f792f77656174686572666c75783f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/cb7af3fa47c4beee774fe3923761b7cb30435723c69ba974788243b050073cf7/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f636c6f75642f6275696c642f7069657272656c616e6e6f792f77656174686572666c75783f7374796c653d666c61742d737175617265)[![Docker Image Size (tag)](https://camo.githubusercontent.com/30c8f11d74b3340693a7a6087b317c7666fa2f79476eb247df94ca74b5fe1cf2/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f696d6167652d73697a652f7069657272656c616e6e6f792f77656174686572666c75782f6c61746573743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/30c8f11d74b3340693a7a6087b317c7666fa2f79476eb247df94ca74b5fe1cf2/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f696d6167652d73697a652f7069657272656c616e6e6f792f77656174686572666c75782f6c61746573743f7374796c653d666c61742d737175617265)

To run WeatherFlux on Docker, just type:

```
docker run -itdp 50222:50222/udp -v /my/local/path:/usr/share/weatherflux/config pierrelannoy/weatherflux:latest

```

where `/my/local/path` is a valid path on the host.

Then, [adjust the settings](https://github.com/Pierre-Lannoy/WeatherFlux/blob/master/CONFIG.md) in the `/my/local/path/config.json` file.

WeatherFlux as standalone tool
------------------------------

[](#weatherflux-as-standalone-tool)

[![Packagist Version](https://camo.githubusercontent.com/a2c7ea717a1b1579db4ec96edd6e4e4a800244470b5ae89c8e06e64ecc2c5ffa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656174686572666c75782f77656174686572666c75783f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/a2c7ea717a1b1579db4ec96edd6e4e4a800244470b5ae89c8e06e64ecc2c5ffa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656174686572666c75782f77656174686572666c75783f7374796c653d666c61742d737175617265)[![Packagist PHP Version Support](https://camo.githubusercontent.com/0d6819418dce545392adb2ceb1bbf27244b9403a9bf2cf7c92d2fb3bed6ed08d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77656174686572666c75782f77656174686572666c75783f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0d6819418dce545392adb2ceb1bbf27244b9403a9bf2cf7c92d2fb3bed6ed08d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77656174686572666c75782f77656174686572666c75783f7374796c653d666c61742d737175617265)[![Packagist License](https://camo.githubusercontent.com/9a5f633689037e8a0c7e13819a8de25d4db371f8afb9ba109a25cf1ab6eb8813/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77656174686572666c75782f77656174686572666c75783f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9a5f633689037e8a0c7e13819a8de25d4db371f8afb9ba109a25cf1ab6eb8813/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77656174686572666c75782f77656174686572666c75783f7374796c653d666c61742d737175617265)

If you don't want - or can't - use the dockerized version of WeatherFlux, you can use it as a standalone tool. If so, installing WeatherFlux is simple as:

```
composer require weatherflux/weatherflux

```

Then, creating a configuration file named `config.json`:

```
mkdir ./config && cp ./vendor/weatherflux/weatherflux/config-blank.json ./config/config.json
```

[Adjust the settings](https://github.com/Pierre-Lannoy/WeatherFlux/blob/master/CONFIG.md) in this newly created file to match your environment and your needs.

### Running WeatherFlux as standalone tool

[](#running-weatherflux-as-standalone-tool)

To just listen the local network and display discovered devices (without recording anything), start WeatherFlux in **o***bserver* mode

```
php vendor/weatherflux/weatherflux/weatherflux.php start -o
```

To listen the local network and send data to InfluxDB (with console output), start WeatherFlux in **c***onsole* mode

```
php vendor/weatherflux/weatherflux/weatherflux.php start -c
```

To listen the local network and send data to InfluxDB (unattended), start WeatherFlux in **d***aemon* mode

```
php vendor/weatherflux/weatherflux/weatherflux.php start -d
```

If WeatherFlux is started in daemon mode, you can stop it as follow:

```
php vendor/weatherflux/weatherflux/weatherflux.php stop
```

For other modes, just hit `CTRL+C` to stop it.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

15

Last Release

1974d ago

Major Versions

1.1.2 → 2.0.02021-01-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/0564a4892b58bb26ccca2b31db9ad1f283f604bed8e1d611c46501244caaef50?d=identicon)[pierrelannoy](/maintainers/pierrelannoy)

---

Top Contributors

[![Pierre-Lannoy](https://avatars.githubusercontent.com/u/15095492?v=4)](https://github.com/Pierre-Lannoy "Pierre-Lannoy (87 commits)")

---

Tags

influxdbweatherweather-stationweatherflowinfluxdbweatherweatherflow

### Embed Badge

![Health badge](/badges/weatherflux-weatherflux/health.svg)

```
[![Health](https://phpackages.com/badges/weatherflux-weatherflux/health.svg)](https://phpackages.com/packages/weatherflux-weatherflux)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1396.0k38](/packages/mahocommerce-maho)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
