humiditycalc/README.md
2024-12-05 22:33:35 +01:00

431 B

humiditycalc

BOTH slow- every req talks to api

ENV

MODES: CALC, WEATHER, BOTH
BOTH is standard

OPENWEATHERMAP_API_KEY is required in WEATHER and BOTH mode

DEFAULT:
MODE=CALC

Standalone:
MODE=BOTH
OPENWEATHERMAP_API_KEY=yourkey
LATITUDE=
LONGITUDE=

WEATHER:
MODE=WEATHER
OPENWEATHERMAP_API_KEY=yourkey
DB_HOST=
DB_PORT=
DB_NAME=
DB_PASSWORD=
DB=

OPTINAL:
PORT=80