Commit graph

10 commits

Author SHA1 Message Date
a53a5c3517 feat: SpaceAPI v15 support
Delete types/v14.go, replace with v15.go.

Rename internal types to not include message version.
I don't currently see the need to support multiple message
versions that have incompatible layouts.
v15 is backwards compatible with v14, so the config example now
specifies both.

Rename the "response" field in the config file to "static" as
dynamic/static makes more sense from the user's perspective.
(Internally it's still SpaceapidConfig.{Dynamic,Response}
to align with type names and usage.)
2026-07-25 23:04:20 +02:00
b54d4a39cd fix(config): Mention what that list of paths in the log is 2026-07-25 22:49:58 +02:00
1d49948615 fix(config): Remove redundant space from log message 2026-07-25 21:16:49 +02:00
ccf3981d8d docs: Improve log output for missing config 2024-08-03 22:18:47 +02:00
732045645a refactor!: Change config path env var name 2024-08-03 22:18:41 +02:00
8c1adae040
Rename module 2024-05-26 20:52:15 +02:00
9166a78fb7
Add -c flag to specify list of config files
- Environment variable also accepts comma-separated list
  - Overwrites cli arguments
2024-01-14 21:56:11 +01:00
6e1a8ac0e6
Initialize sensors map with static parts when parsing config 2024-01-14 01:02:30 +01:00
b2f62c7bb0
First implementation of new config format
- Functionally equivalent to old version at present
- Temperature and Humidity sensors not handled yet
- Moved HTTP handlers around
2024-01-13 23:27:24 +01:00
4b41acfa7b
Major Refactoring
- Move components to separate packages
- Fix HTTP header for 401 response
- Add documentation
2023-11-09 22:30:03 +01:00