Commit Graph

24 Commits (master)

Author SHA1 Message Date
Elis Hirwing 316f8d5c7b
Watersensor: Add module for my watersensor 2019-05-19 13:03:11 +02:00
Elis Hirwing 9b06917166
Weather: Move to subdirectory 2019-05-19 11:56:09 +02:00
Elis Hirwing 9d4a8f5de5
Pollen: Move to subdirectory 2019-05-19 11:54:34 +02:00
Elis Hirwing 2d2dc6e1a3
SL: Move to subdirectory 2019-05-19 11:52:51 +02:00
Elis Hirwing ed065eb954
Clock: Move to subdirectory 2019-05-19 11:50:53 +02:00
Elis Hirwing 5ca25f0edd
Config: Move to subdirectory 2019-05-19 11:45:12 +02:00
Elis Hirwing 18c30f60fd
Move code around, add deps as submodules and add Makefile for easy building 2017-11-04 22:41:54 +01:00
Elis Hirwing 23d000aac0
Get weather in a goroutine as well 2017-11-04 22:16:08 +01:00
Elis Hirwing 1e50b13b76
Fetch SL data in a goroutine, but also make sure to not spam them
while the goroutine is running
2017-11-04 22:14:40 +01:00
Elis Hirwing 87e6ba7adf
Split out data fetching to function 2017-11-04 22:11:57 +01:00
Elis Hirwing 8f06b860fa
Do not crash if weather output is too short 2017-11-04 22:04:13 +01:00
Elis Hirwing 65640246f3
Filter out advertisement 2017-11-04 14:31:44 +01:00
Elis Hirwing 99686a12d2
Add weather module 2017-11-04 14:27:03 +01:00
Elis Hirwing 325eacbfdb
Add clock module 2017-11-04 12:22:32 +01:00
Elis Hirwing 7b274c7e3a
Split on newline before returning 2017-11-04 12:10:31 +01:00
Elis Hirwing e73fe6ea40
Move calculation of when refresh is to setting the value 2017-11-04 11:10:51 +01:00
Elis Hirwing 0dcb10805a
Only show times that are in the future 2017-11-04 11:05:47 +01:00
Elis Hirwing 02ac39af65
Allow the time formatting function return errors 2017-11-04 11:04:46 +01:00
Elis Hirwing 79a1693942
Check if it's time for refresh before refreshing 2017-11-04 10:52:18 +01:00
Elis Hirwing 2e8dd49a56
Store when last successful refresh happened 2017-11-04 10:51:31 +01:00
Elis Hirwing fb3a958aa3
Store latest successfully fetched data in struct 2017-11-04 10:51:29 +01:00
Elis Hirwing 2864ac8788
Move error handling 2017-11-04 10:31:21 +01:00
Elis Hirwing 358dac794e
Move parsedResponse struct definition up 2017-11-04 10:28:09 +01:00
Elis Hirwing af5786b04b
Start with some stuff 2017-10-15 12:08:31 +02:00