-
bf2c28d741
refactor(linux): linux device API implements the device API interface
Joshua Rich
2023-05-19 22:36:03 +1000
-
714736926f
refactor(device): create an API interface for devices
Joshua Rich
2023-05-19 22:34:31 +1000
-
1f1442b954
fix(sensors): bail on error getting sensor workers
Joshua Rich
2023-05-19 22:02:04 +1000
-
bceea60df9
refactor(device,linux,sensors)!: remove sensorinfo struct, move sensor workers into device API
Joshua Rich
2023-05-19 21:26:05 +1000
-
dc6e4b1890
fix(hass): don't run response handler if request was never sent
Joshua Rich
2023-05-19 20:47:13 +1000
-
a0acce0bc4
test(device): add device tests
Joshua Rich
2023-05-19 20:46:57 +1000
-
3eef1884a6
test(config): clean up tests
Joshua Rich
2023-05-19 17:22:43 +1000
-
c46792f735
fix(agent): better initial window size for sensors display
Joshua Rich
2023-05-19 15:13:37 +1000
-
f7fb4b9c13
feat(agent): add a (very rough) window to display all sensors and their states
Joshua Rich
2023-05-19 13:46:14 +1000
-
45448affcc
refactor(agent,sensors): move SensorTracker to a global variable in agent
Joshua Rich
2023-05-19 13:45:19 +1000
-
c068ae1c92
test(sensors): update state tests
Joshua Rich
2023-05-19 13:43:34 +1000
-
a7e1d8311f
feat(agent): report Home Assistant version in About dialog
Joshua Rich
2023-05-18 10:56:32 +1000
-
3ef943e193
feat(agent): add tray menu option to access fyne settings
Joshua Rich
2023-05-18 10:47:36 +1000
-
d91308b85a
refactor(agent): move HassConfig to a globally accessible variable in agent
Joshua Rich
2023-05-18 10:38:57 +1000
-
3cedf7093c
refactor(config): implement a refresh function for config interface
Joshua Rich
2023-05-18 10:32:02 +1000
-
d53eb02090
fix(linux): bail early if the matched signal doesn't have a body
Joshua Rich
2023-05-17 22:27:34 +1000
-
0aab18225c
refactor(linux): avoid declaring local variable
Joshua Rich
2023-05-17 15:45:38 +1000
-
22a4b7ff06
fix(linux): remove outdated external package for geoclue/location
Joshua Rich
2023-05-17 15:42:07 +1000
-
1733c505da
refactor(linux): add more DBus helper functions
Joshua Rich
2023-05-17 14:52:24 +1000
-
8c89544f95
fix(agent): correct config validation returns
Joshua Rich
2023-05-17 12:05:13 +1000
-
8ae0aa9202
refactor(agent,device): pass app name and version from agent to device
Joshua Rich
2023-05-17 11:44:12 +1000
-
9dd38ccccb
refactor(agent): move signal handling into function
Joshua Rich
2023-05-17 11:43:30 +1000
-
be8e51069c
refactor(device): remove unused function
Joshua Rich
2023-05-17 10:43:27 +1000
-
e03548c748
refactor(agent): simplify NewAgent function
Joshua Rich
2023-05-17 10:42:47 +1000
-
6ecfc8ea21
fix(hass): cancel websocket connection context when done message received
Joshua Rich
2023-05-16 18:01:04 +1000
-
a888d5fee3
fix(device): use a context with timeout for fetching external ip
Joshua Rich
2023-05-16 18:00:14 +1000
-
d3d419a897
refactor(cmd): clean up logging/debugging/profiling startup
Joshua Rich
2023-05-16 16:27:36 +1000
-
8856bb2ced
fix(linux): clean up finding processes
Joshua Rich
2023-05-16 16:23:22 +1000
-
f40971d72e
fix(hass): make sure api context is cancelled/closed in all branches
Joshua Rich
2023-05-16 16:19:40 +1000
-
5fa930be43
refactor(hass): HassConfig implements Config
Joshua Rich
2023-05-16 14:32:08 +1000
-
f028c710c6
test(hass): fix api tests
Joshua Rich
2023-05-16 13:46:53 +1000
-
8bf783c82a
test(hass): fix hass api tests
Joshua Rich
2023-05-16 13:37:51 +1000
-
cdebff6177
test(config): add unit tests
Joshua Rich
2023-05-16 13:37:29 +1000
-
b8f16a99ea
refactor(agent,config,hass): move to new Config interface
Joshua Rich
2023-05-16 13:36:59 +1000
-
6bbb7f1ee5
refactor(agent,config): create a config interface and use with agent
Joshua Rich
2023-05-16 11:50:30 +1000
-
f4deee866f
chore: update go packages
Joshua Rich
2023-05-16 09:44:26 +1000
-
d1a7da53fb
refactor(agent): removed unused config field
Joshua Rich
2023-05-16 09:32:54 +1000
-
823d7bf9bc
refactor(config): clean up unused code paths
Joshua Rich
2023-05-16 09:32:33 +1000
-
42ff9f03f7
fix(agent): waitgroup decrement for worker finish
Joshua Rich
2023-05-16 09:12:31 +1000
-
e676bb24b0
Merge branch 'main' of github.com:joshuar/go-hass-agent
Joshua Rich
2023-05-15 23:11:14 +1000
-
-
fc3716b0fe
refactor(linux): propagate context with DBus watches
Joshua Rich
2023-05-15 23:10:17 +1000
-
a6d9577009
refactor(agent,sensors): improve waitgroup usage
Joshua Rich
2023-05-15 23:09:44 +1000
-
64ab6913cf
refactor(agent,hass): simplify notification channel handling
Joshua Rich
2023-05-15 22:07:07 +1000
-
6d1a97ac0b
refactor(agent,sensors): restructure sensor tracking logic
Joshua Rich
2023-05-15 21:49:25 +1000
-
16e8f57722
Merge pull request #14 from joshuar/release-please--branches--main
v0.4.0
Joshua Rich
2023-05-15 15:29:49 +1000
-
-
7404fed955
chore(main): release 0.4.0
github-actions[bot]
2023-05-14 07:55:02 +0000
-
-
9e106c49a7
test(config): add tests for config package
Joshua Rich
2023-05-14 17:54:16 +1000
-
33242fe735
refactor(config): update config fetch/store functions
Joshua Rich
2023-05-14 17:36:25 +1000
-
f941fb6caf
fix(hass): id increment for websocket requests
Joshua Rich
2023-05-14 17:15:35 +1000
-
42437ca6e5
test(hass): add tests for APIRequest function
Joshua Rich
2023-05-14 11:02:56 +1000
-
6428b77fb1
fix(hass): improve websocket resiliency with ping/pong logic
Joshua Rich
2023-05-13 14:14:11 +1000
-
0b72531d63
refactor(linux): use a common function for polling sensors
Joshua Rich
2023-05-13 13:00:54 +1000
-
2ad561a62d
docs(README): add details on headless mode
Joshua Rich
2023-05-13 11:49:03 +1000
-
9b8f5198a7
fix(hass): fix backoff package dependency
Joshua Rich
2023-05-13 11:10:16 +1000
-
dce0ee3b10
Merge branch 'main' of github.com:joshuar/go-hass-agent
Joshua Rich
2023-05-13 11:06:48 +1000
-
-
90b9a82eb5
feat: add a way to run "headless" (without any GUI)
Joshua Rich
2023-05-13 11:05:57 +1000
-
2fd034dde3
refactor(agent): simplify Run() function
Joshua Rich
2023-05-13 10:51:43 +1000
-
0fa27ade51
feat(cmd): add a "register" command
Joshua Rich
2023-05-13 10:39:17 +1000
-
30e2735683
fix(agent): ensure preferences get saved
Joshua Rich
2023-05-13 10:38:32 +1000
-
06e5deddb7
refactor(agent): move some logic into helper functions
Joshua Rich
2023-05-13 10:38:00 +1000
-
d268cffc9d
feat(hass): add backoff functionality for registration requests
Joshua Rich
2023-05-13 10:10:44 +1000
-
09c4b2ce28
Merge pull request #13 from joshuar/release-please--branches--main
v0.3.5
Joshua Rich
2023-05-11 17:50:47 +1000
-
-
b544239792
chore(main): release 0.3.5
github-actions[bot]
2023-05-11 07:49:38 +0000
-
-
b613696729
chore: release 0.3.5
Joshua Rich
2023-05-11 17:49:02 +1000
-
7f75a5232d
feat(agent): add "report issue" and "request feature" actions to tray icon menu
Joshua Rich
2023-05-09 10:05:30 +1000
-
f8fccd275f
fix(linux): uptime sensor now measured in hours
Joshua Rich
2023-05-09 09:56:59 +1000
-
5b785a7649
refactor(hass): adjust websocket debug logging
Joshua Rich
2023-05-09 09:56:39 +1000
-
2607346773
fix(hass): fix websocket not working and migrate to different websocket package
Joshua Rich
2023-05-09 08:43:11 +1000
-
246e8f89f8
refactor(sensors): more consistent debuyg logging of sensor states
Joshua Rich
2023-05-08 18:06:31 +1000
-
f61088ae5a
refactor(hass): change debug logging output
Joshua Rich
2023-05-08 18:02:54 +1000
-
363a147a1e
refactor(sensors): better format for debug messages
Joshua Rich
2023-05-08 17:59:51 +1000
-
60466a23cb
ci(release_please): adjust steps for goreleaser
Joshua Rich
2023-05-08 09:45:45 +1000
-
18dca594b2
Merge pull request #12 from joshuar/release-please--branches--main
v0.3.0
Joshua Rich
2023-05-08 09:33:53 +1000
-
-
6ee65838f2
ci(release-please): combine release-please and goreleaser github actions
Joshua Rich
2023-05-08 09:28:26 +1000
-
0050c76676
docs(README): update sensors listed in README
Joshua Rich
2023-05-08 09:09:02 +1000
-
c9aeecac31
chore(main): release 0.3.0
github-actions[bot]
2023-05-07 05:46:27 +0000
-
-
1b5cbb1d70
feat(linux): add uptime and last boot sensors
Joshua Rich
2023-05-07 15:45:46 +1000
-
c77c4beeab
fix(linux): remove spew
Joshua Rich
2023-05-07 14:46:39 +1000
-
5a18911dec
feat(linux): improve network connection sensor code
Joshua Rich
2023-05-07 11:15:04 +1000
-
ed5a8ad025
chore(git): clean-up .gitignore
Joshua Rich
2023-05-06 13:38:49 +1000
-
89569dd75e
feat(linux): move to a single dbus watch for networkmanager
Joshua Rich
2023-05-06 13:37:36 +1000
-
a07448d130
ci(release-please): clean-up configuration
Joshua Rich
2023-05-06 12:18:30 +1000
-
0a16bd2cc8
fix(build): fix dependencies for rpm/deb packages
Joshua Rich
2023-05-05 15:05:58 +1000
-
25af3ef097
Merge pull request #11 from joshuar/release-please--branches--main
v0.2.0
Joshua Rich
2023-05-03 08:44:44 +1000
-
-
6c96d46f17
chore(main): release 0.2.0
github-actions[bot]
2023-05-02 22:43:32 +0000
-
-
118dbc45e6
chore: release 0.2.0
Joshua Rich
2023-05-03 08:43:04 +1000
-
0b8e5bffc2
fix(agent): remove spew debug message
Joshua Rich
2023-05-02 09:58:22 +1000
-
e533f91739
feat(sensors): use nutsDB registry backend by default
Joshua Rich
2023-05-02 09:53:00 +1000
-
37484f4a18
test(sensors): update tracker tests to utilise Registry interface
Joshua Rich
2023-05-02 09:52:30 +1000
-
6a7cb84a94
feat(sensors): add a nutsDB registry backend
Joshua Rich
2023-05-02 09:51:14 +1000
-
80c4c0abdc
feat(sensors): implement a Registry interface
Joshua Rich
2023-05-02 09:50:10 +1000
-
84526ab700
chore: release 0.1.1
Joshua Rich
2023-05-01 16:34:32 +1000
-
47dce3427c
feat: better handling of app interrupt/termination
Joshua Rich
2023-05-01 10:41:39 +1000
-
2b9a7ff03c
refactor(sensors): clean up exporting and move logic from agent
Joshua Rich
2023-04-30 13:19:52 +1000
-
46a1d17d88
refactor(linux): remove remaining unnecessary exports
Joshua Rich
2023-04-30 10:37:17 +1000
-
06b761d60f
refactor(linux): remove more unnecessary exports
Joshua Rich
2023-04-30 10:30:00 +1000
-
79428bf655
refactor(linux): don't export some internal types
Joshua Rich
2023-04-30 10:25:47 +1000
-
13a289837b
refactor(linux): don't export newBus function
Joshua Rich
2023-04-30 10:04:19 +1000
-
3b87082b19
refactor(linux): better error handling for GetData.As* usage
Joshua Rich
2023-04-30 10:02:45 +1000
-
5940e7c99b
refactor(linux): refactor dbus access to use builders
Joshua Rich
2023-04-30 09:48:05 +1000