Commit graph

13 commits

Author SHA1 Message Date
Bendodroid 7218177625
Refactor environment sensor URL path generation 2024-05-26 20:52:23 +02:00
Bendodroid 72f5a67989
Move persistence stuff to own package 2024-05-26 20:52:21 +02:00
Bendodroid 742fb2be58
util.go only contains persistent state handling so rename accordingly 2024-05-26 20:52:20 +02:00
Bendodroid c7c6086d11
Rename constant for persistent state file and fix it at compile-time 2024-05-26 20:52:19 +02:00
Bendodroid 8c1adae040
Rename module 2024-05-26 20:52:15 +02:00
Bendodroid 04b7efd74a
Open the persistent file just for writing when saving 2024-01-14 21:54:43 +01:00
Bendodroid 44143c0c2d
Save sensor values to persistent-state.json 2024-01-14 02:02:55 +01:00
Bendodroid 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
Bendodroid ae9b429950
Add log output in util.MergeOldState 2024-01-13 23:25:07 +01:00
Bendodroid 883d25898e
Small refactoring 2024-01-06 19:43:51 +01:00
Bendodroid baf73f33e7
Make the signal handler work properly 2023-11-10 04:01:46 +01:00
Bendodroid 8a1cf0456a
First working? version with persistent state 2023-11-10 03:24:12 +01:00
Bendodroid 4b41acfa7b
Major Refactoring
- Move components to separate packages
- Fix HTTP header for 401 response
- Add documentation
2023-11-09 22:30:03 +01:00