Previous values (adamaps-ingest-2026, adamaps-read-2026, mapnet-ingest-2026) were inline defaults across adamaps + adacam-api + varroa. The ingest key was briefly anon-visible during the 2026-05-27 Forgejo public-flip when adacam-api + varroa were public for a short window before the leak was spotted. New values live in Vaultwarden: - AdaMaps — API_KEY (ingest) - AdaMaps — READ_KEY Validators now hard-fail at boot if the env var is missing. Service is on hold today; when it resumes, both env vars must be set.
21 lines
483 B
Desktop File
21 lines
483 B
Desktop File
[Unit]
|
|
Description=Blackbox Air Quality Aggregator
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
Restart=always
|
|
RestartSec=10
|
|
ExecStart=/usr/bin/python3 /home/pi/air-aggregator.py
|
|
Environment=BEE_URL=http://192.168.197.1:5000
|
|
Environment=ADAMAPS_URL=https://api.adamaps.org
|
|
Environment=ADAMAPS_KEY=
|
|
Environment=DEVICE_ID=blackbox-pi
|
|
Environment=PMS_PORT=/dev/ttyS0
|
|
Environment=SEND_INTERVAL=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|