Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Get official weather warnings from the Finnish Meteorological Institute and feed them in a TAK mission

License

NotificationsYou must be signed in to change notification settings

sgofferj/tak-feeder-weather-warnings-fmi

Repository files navigation

Build and publish the container image

tak-feeder-weather-warnings-fmi

(C) 2025 Stefan Gofferje

Licensed under the GNU General Public License V3 or later.

Warning

DO NOT USE FOR PRODUCTION YET - STILL TESTING

Description

The Finnish Meteorological Institute provides free API access to the weather data from their sensor network. This feeder getsweather warning data from the Finnish Meteorological Institute, processes them and adds them to a TAK server mission. Outdatedwarning areas are automatically removed from the mission.

Note

Because the feeder uses the mission API, the Datasync plugin is required on the client side. The EUDs should also be reasonablynew because depending on the filter configuration, the mission can contain A LOT (hundreds) of polygon objects which will bringolder EUDs quickly down to their knees.For the same reason, this feeder can cause quite a lot of traffic. Be smart when configuring update UPDATE_INTERVAL and filters!

Configuration

The following values are supported and can be provided either as environment variables or through an .env-file.

VariableDefaultUsePurpose
COT_URLemptymandatoryTAK server full URL, e.g. ssl://takserver:8089
UPDATE_INTERVAL3600optionalInterval between data updates in seconds - how often should we get data?
CLIENT_CERTemptymandatoryUser certificate in PEM format
CLIENT_KEYemptymandatoryUser certificate key file in PEM format
API_HOSTemptymandatoryhost or IP for the TAK server API
API_PORT8443optionalTAK server API port
MY_UIDfmi.0001optionalSets the UID used by the feeder
LANGen-GBoptionalFeed language to be fetched (en-GB, fi-FI, sv-FI)
MISSION_NAMEWeatherwarningsoptionalName of the mission
FILTER_URGENCYExpected,ImmediateoptionalCase-sensitive, comma-separated list of urgency codes filter for. Available codes: Immediate, Expected, Future.
FILTER_EVENTCODEforestFireWeather,hotWeather,rain,
seaThunderstorm,seaWind,
thunderstorm,wind
optionalCase-sensitive, comma-separated list of event codes to filter for. Default includes all known.

Certificates

These are the server-issued certificate and key files. Before using, the password needs to be removed from the key file withopenssl rsa -in cert.key -out cert-nopw.key. OpenSSL will ask for the key password which usually is "atakatak".

Container use

First, get your certificate and key and copy them to a suitable folder which needs to be added as a volume to the container.

Image

The image is built for AMD64 and ARM64 and pushed to ghcr.io:ghcr.io/sgofferj/tak-feeder-weather-warnings-fmi:latest

Docker compose

Here is an example for a docker-compose.yml file:

version: '2.0'services:  weather-fmi:    image: ghcr.io/sgofferj/tak-feeder-weather-warnings-fmi:latest    restart: always    networks:      - default    volumes:      - <path to data-directory>:/data:ro    environment:      - COT_URL=ssl://tak-server.domain.tld:8089      - CLIENT_CERT=/data/cert.pem      - CLIENT_KEY=/data/key.pem      - API_HOST=takserver.domain.tldnetworks:  default:

About

Get official weather warnings from the Finnish Meteorological Institute and feed them in a TAK mission

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

[8]ページ先頭

©2009-2025 Movatter.jp