daq-tools / kotori

A flexible data historian based on InfluxDB, Grafana, MQTT, and more. Free, open, simple.
https://getkotori.org/
GNU Affero General Public License v3.0
107 stars 17 forks source link

DAQ: Add decoder for Fine Offset (FOSHK) weather station equipment #125

Open amotl opened 1 year ago

amotl commented 1 year ago

Dear all,

originally coming from GH-123, this patch brings in a more solid implementation for acquiring measurement data from weather stations manufactured by Fine Offset Electronics, based on the excellent ecowitt2mqtt program.

With kind regards, Andreas.

Details

The hardware is produced by Shenzhen Fine Offset Electronics Co., Ltd. (FOSHK) aka. Fine Offset aka. OFFSET. This includes brands that white-label Fine Offset equipment, such as:

  • Ambient Weather (U.S.)
  • Ecowitt (China, Hong Kong)
  • Froggit (Germany)

References

Backlog

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.26 :tada:

Comparison is base (fa580a6) 52.69% compared to head (1391232) 52.96%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #125 +/- ## ========================================== + Coverage 52.69% 52.96% +0.26% ========================================== Files 99 100 +1 Lines 5224 5251 +27 ========================================== + Hits 2753 2781 +28 + Misses 2471 2470 -1 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `52.96% <100.00%> (+0.26%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/daq-tools/kotori/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | Coverage Δ | | |---|---|---| | [kotori/daq/decoder/fineoffset.py](https://codecov.io/gh/daq-tools/kotori/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools#diff-a290b3JpL2RhcS9kZWNvZGVyL2ZpbmVvZmZzZXQucHk=) | `100.00% <100.00%> (ø)` | | | [kotori/io/protocol/http.py](https://codecov.io/gh/daq-tools/kotori/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools#diff-a290b3JpL2lvL3Byb3RvY29sL2h0dHAucHk=) | `82.94% <100.00%> (+0.17%)` | :arrow_up: | | [kotori/daq/graphing/grafana/dashboard.py](https://codecov.io/gh/daq-tools/kotori/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools#diff-a290b3JpL2RhcS9ncmFwaGluZy9ncmFmYW5hL2Rhc2hib2FyZC5weQ==) | `90.03% <0.00%> (+0.39%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.