Commit graph

12 commits

Author SHA1 Message Date
Bendodroid 93d1c173b4
Move persistence stuff to own package 2024-02-07 17:07:51 +01:00
Bendodroid 1c0442386f
util.go only contains persistent state handling so rename accordingly 2024-02-07 17:07:50 +01:00
Bendodroid 09c56e74f2
Rename constant for persistent state file and fix it at compile-time 2024-02-07 17:07:49 +01:00
Bendodroid 334ddacc96
Rename module 2024-02-07 17:07:45 +01: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