Commit Graph
Select branches
Hide Pull Requests
main
release-please--branches--main
#10
#102
#103
#104
#105
#106
#109
#11
#110
#111
#112
#113
#114
#115
#117
#118
#119
#12
#120
#127
#13
#130
#134
#135
#139
#14
#141
#143
#146
#149
#15
#152
#153
#154
#155
#156
#158
#16
#160
#161
#162
#164
#165
#166
#167
#168
#169
#17
#172
#173
#174
#175
#176
#177
#178
#179
#18
#180
#181
#182
#183
#184
#185
#187
#188
#189
#19
#190
#193
#196
#197
#198
#199
#20
#201
#203
#204
#205
#206
#207
#208
#209
#21
#210
#211
#212
#213
#214
#215
#216
#217
#218
#219
#22
#220
#221
#225
#226
#227
#228
#23
#230
#231
#232
#233
#237
#238
#239
#24
#240
#241
#242
#243
#244
#245
#246
#247
#248
#25
#251
#253
#254
#255
#256
#257
#258
#259
#26
#261
#262
#263
#264
#265
#269
#27
#270
#271
#272
#273
#274
#278
#279
#28
#280
#281
#282
#283
#284
#285
#286
#287
#288
#289
#29
#290
#293
#294
#295
#296
#297
#299
#30
#300
#301
#302
#303
#304
#305
#306
#307
#308
#31
#310
#311
#312
#313
#314
#315
#316
#317
#318
#319
#32
#321
#322
#323
#324
#325
#326
#327
#328
#33
#330
#331
#332
#333
#334
#335
#336
#337
#338
#339
#34
#340
#341
#342
#344
#345
#346
#347
#348
#349
#35
#350
#351
#352
#354
#355
#356
#357
#358
#359
#36
#360
#361
#362
#363
#364
#365
#366
#367
#368
#37
#371
#372
#373
#377
#378
#379
#38
#380
#384
#384
#39
#4
#40
#41
#42
#43
#44
#45
#46
#49
#50
#51
#53
#54
#56
#57
#59
#60
#62
#64
#67
#68
#69
#7
#70
#73
#75
#76
#77
#78
#79
#8
#80
#81
#82
#83
#84
#85
#86
#88
#89
#9
#90
#91
#92
#93
#94
#95
#96
#97
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5-alpha
v0.0.6
v0.0.7
v0.1.0
v0.2.0
v0.3.0
v0.3.5
v0.4.0
v1.0.0
v1.0.1
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v10.0.0
v10.0.1
v10.1.0
v10.1.1
v10.2.0
v10.2.1
v10.3.0
v10.3.1
v10.3.2
v10.4.0
v10.5.0
v10.5.1
v11.0.0
v11.1.0
v11.1.1
v2.0.0
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.2.0
v3.3.0
v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.1.0
v4.1.1
v5.0.0
v5.0.1
v5.0.2
v5.1.0
v5.1.1
v5.1.2
v5.2.0
v5.3.0
v5.3.1
v6.0.0
v6.0.1
v6.0.2
v6.0.3
v6.1.0
v6.1.1
v6.1.2
v6.2.0
v6.3.0
v6.3.1
v6.4.0
v6.5.0
v7.0.0
v7.0.1
v7.1.0
v7.2.0
v7.3.0
v7.3.1
v8.0.0
v9.0.0
v9.1.0
v9.1.1
v9.2.0
v9.3.0
v9.4.0
v9.5.0
v9.5.1
v9.5.2
v9.6.0
Select branches
Hide Pull Requests
main
release-please--branches--main
#10
#102
#103
#104
#105
#106
#109
#11
#110
#111
#112
#113
#114
#115
#117
#118
#119
#12
#120
#127
#13
#130
#134
#135
#139
#14
#141
#143
#146
#149
#15
#152
#153
#154
#155
#156
#158
#16
#160
#161
#162
#164
#165
#166
#167
#168
#169
#17
#172
#173
#174
#175
#176
#177
#178
#179
#18
#180
#181
#182
#183
#184
#185
#187
#188
#189
#19
#190
#193
#196
#197
#198
#199
#20
#201
#203
#204
#205
#206
#207
#208
#209
#21
#210
#211
#212
#213
#214
#215
#216
#217
#218
#219
#22
#220
#221
#225
#226
#227
#228
#23
#230
#231
#232
#233
#237
#238
#239
#24
#240
#241
#242
#243
#244
#245
#246
#247
#248
#25
#251
#253
#254
#255
#256
#257
#258
#259
#26
#261
#262
#263
#264
#265
#269
#27
#270
#271
#272
#273
#274
#278
#279
#28
#280
#281
#282
#283
#284
#285
#286
#287
#288
#289
#29
#290
#293
#294
#295
#296
#297
#299
#30
#300
#301
#302
#303
#304
#305
#306
#307
#308
#31
#310
#311
#312
#313
#314
#315
#316
#317
#318
#319
#32
#321
#322
#323
#324
#325
#326
#327
#328
#33
#330
#331
#332
#333
#334
#335
#336
#337
#338
#339
#34
#340
#341
#342
#344
#345
#346
#347
#348
#349
#35
#350
#351
#352
#354
#355
#356
#357
#358
#359
#36
#360
#361
#362
#363
#364
#365
#366
#367
#368
#37
#371
#372
#373
#377
#378
#379
#38
#380
#384
#384
#39
#4
#40
#41
#42
#43
#44
#45
#46
#49
#50
#51
#53
#54
#56
#57
#59
#60
#62
#64
#67
#68
#69
#7
#70
#73
#75
#76
#77
#78
#79
#8
#80
#81
#82
#83
#84
#85
#86
#88
#89
#9
#90
#91
#92
#93
#94
#95
#96
#97
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5-alpha
v0.0.6
v0.0.7
v0.1.0
v0.2.0
v0.3.0
v0.3.5
v0.4.0
v1.0.0
v1.0.1
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v10.0.0
v10.0.1
v10.1.0
v10.1.1
v10.2.0
v10.2.1
v10.3.0
v10.3.1
v10.3.2
v10.4.0
v10.5.0
v10.5.1
v11.0.0
v11.1.0
v11.1.1
v2.0.0
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.2.0
v3.3.0
v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.1.0
v4.1.1
v5.0.0
v5.0.1
v5.0.2
v5.1.0
v5.1.1
v5.1.2
v5.2.0
v5.3.0
v5.3.1
v6.0.0
v6.0.1
v6.0.2
v6.0.3
v6.1.0
v6.1.1
v6.1.2
v6.2.0
v6.3.0
v6.3.1
v6.4.0
v6.5.0
v7.0.0
v7.0.1
v7.1.0
v7.2.0
v7.3.0
v7.3.1
v8.0.0
v9.0.0
v9.1.0
v9.1.1
v9.2.0
v9.3.0
v9.4.0
v9.5.0
v9.5.1
v9.5.2
v9.6.0
-
b8010201cd
Add desktop file.
Joshua Rich
2023-04-10 11:40:27 +1000 -
0e5e0c580c
Add a
Joshua Rich
2023-04-10 11:39:36 +1000 -
4584f91dde
Better naming of batteries in Linux. Add a screenshot of the registration window for use in the README. Add usage details to the README. Fix appSensor types.
Joshua Rich
2023-04-10 10:20:47 +1000 -
c2d985da93
Fix state class on app sensors. Code clean-up in Linux network sensors.
Joshua Rich
2023-04-10 09:50:32 +1000 -
bcbe03ee14
Add licensing. Better sensor icons for Linux network sensors.
Joshua Rich
2023-04-10 09:45:12 +1000 -
5ef33ad6e6
Rewrite app tracking on Linux to avoid intermediate state.
Joshua Rich
2023-04-09 23:02:35 +1000 -
4edc428a3f
Fix up info and version commands. Add more details to About dialog window.
Joshua Rich
2023-04-09 21:24:59 +1000 -
71549447a5
Add network sensors on Linux. Better config loading process with initial code to validate. Better registration process.
Joshua Rich
2023-04-09 21:09:05 +1000 -
37cdac5692
Better websocket handling. Add initial code for tracking network sensors in Linux. Improvements to DBus API for Linux and more helper functions. Minor code tweaks and renaming in other places.
Joshua Rich
2023-04-08 13:46:26 +1000 -
e8a487ae03
Platform/device specific sensor workers now register themselves centrally, to be started by the agent. Simplify location updater to utilise existing sensor updater logic. Document how to add new sensors.
Joshua Rich
2023-04-07 12:53:56 +1000 -
2e7bf75901
Switch mdns packages.
Joshua Rich
2023-04-06 11:22:54 +1000 -
ab783b3530
Some renaming.
Joshua Rich
2023-04-06 10:46:46 +1000 -
e69de27acd
Lots of code moves to logically place functions/structs and avoid import cycles. Move sensor tracking logic to single agent function. Avoid creating aliases of sensorState struct. Now device code for sensors just sends an update with necessary details and this function handles creating and tracking a HA sensor for it centrally.
Joshua Rich
2023-04-06 10:08:21 +1000 -
7e6a5a7194
sensorState using iotas for deviceClass and stateClass. Sensor name and id formatting.
Joshua Rich
2023-04-05 16:59:32 +1000 -
a97eec024c
Some naming improvements. Battery sensor updates should use the sensorUpdate interface.
Joshua Rich
2023-04-05 16:07:05 +1000 -
1fe2db5b82
Better .gitignore (deny all except...).
Joshua Rich
2023-04-05 10:33:42 +1000 -
cfa0107262
DRY with appSensor code. For battery sensors on Linux, create appropriate sensors based on the battery type.
Joshua Rich
2023-04-05 10:25:18 +1000 -
2a99083e65
sensorUpdate is not battery specific anymore.
Joshua Rich
2023-04-04 19:07:45 +1000 -
15c81ddcc9
The hass response interface now requires a ResponseHandler() function that will handle its own response. Battery sensor worker rewritten to avoid overhead of tracking batteries and sensors to just track sensors. Battery sensors on Linux rewritten to handle tracking batteries and only sending updates for battery properties that change (as per sent from DBus).
Joshua Rich
2023-04-04 16:23:08 +1000 -
f18c16b7a0
Remove uneeded declarations. Add some documentation to code.
Joshua Rich
2023-04-04 10:36:02 +1000 -
182296ae67
Rewrite battery_linux code to avoid a timer loop.
Joshua Rich
2023-04-03 17:55:55 +1000 -
f5b79a092d
Add helper code for Linux DBus access. Utilise this helper code in sensors. Define a way to pass this helper code through a context.
Joshua Rich
2023-04-03 12:05:04 +1000 -
37fa3473f3
Move config to its own package. Create methods to add config as context value. Use a context with a config value attached in worker functions. Create a sensorState struct. Make each sensor type be this base struct.
Joshua Rich
2023-04-02 13:59:12 +1000 -
5ef6292f59
More major work to utilise and inherit a context set at the root level, and handle it being cancelled. Add more helper functions for Linux. Rename and move some code (Home Assistant websocket/api related).
Joshua Rich
2023-04-01 21:19:42 +1000 -
cf2cb19001
Major rework of notifications and websocket code. All sensor workers should shut down cleanly. Related to above, better use of contexts and inheritance of them.
Joshua Rich
2023-04-01 12:10:54 +1000 -
9f662b1c51
All sensor workers now support clean-up on app close.
Joshua Rich
2023-03-31 17:09:22 +1000 -
3624fe7ea3
Add a battery state sensor for Linux.
Joshua Rich
2023-03-31 16:22:30 +1000 -
d0c43da3f5
Improved app registration window layout and logic.
Joshua Rich
2023-03-31 14:35:50 +1000 -
ea903af59a
Battery sensors updates on Linux use ticker-based polling.
Joshua Rich
2023-03-31 11:40:29 +1000 -
0d0f8146bd
Linux battery sensors PoC code. More cleverer use of interfaces. A sensor can satisfy being its own request to HA as well.
Joshua Rich
2023-03-31 10:17:57 +1000 -
d69f68b2ed
Major restructure of codebase. Better handling of notifications websocket. HASS API requests can be run in own goroutine.
Joshua Rich
2023-03-30 09:42:57 +1000 -
d657e8bd98
Lots of restructure so that root command is simpler. Remove processRequests handler. Requests can be done as needed.
Joshua Rich
2023-03-29 13:12:03 +1000 -
a3f2221bb0
Add an icon. Try to improve network handling for notifications websocket. Fix active apps sensors.
Joshua Rich
2023-03-28 18:49:51 +1000 -
692036cff4
Update debug messages to have call traces.
Joshua Rich
2023-03-28 11:29:42 +1000 -
ff6a2a881a
Notifications working.
Joshua Rich
2023-03-27 18:28:54 +1000 -
be9c78f2cd
Initial implementation of notification handling.
Joshua Rich
2023-03-27 16:29:39 +1000 -
b1cb532fda
More code clean-up.
Joshua Rich
2023-03-26 18:03:45 +1000 -
8025d8432d
Code clean up.
Joshua Rich
2023-03-26 15:43:21 +1000 -
5876630c1d
Adjusted app sensor to provide an active app and running apps count sensor. App sensor request response handling.
Joshua Rich
2023-03-26 11:50:08 +1000 -
270bf8925e
Working active app sensor!
Joshua Rich
2023-03-25 13:02:14 +1000 -
32d1f9ac2a
Better logic for wating on config to load. Location now updates for Linux devices.
Joshua Rich
2023-03-22 14:13:39 +1000 -
60c556d2d9
Switch to using github.com/rs/zerolog instead of logrus (which is in maintenance mode). Linux location info. Location info runner.
Joshua Rich
2023-03-22 13:09:33 +1000 -
7cc39b7848
Simplify startup.
Joshua Rich
2023-03-21 14:34:10 +1000 -
afc0cd3010
Registration flow working. App now properly runs in tray without a root window shown.
Joshua Rich
2023-03-21 10:37:58 +1000 -
928cd832c2
Better registration logic. Add the beginnings of the systray.
Joshua Rich
2023-03-17 15:44:29 +1000 -
7a425e4e82
Initial commit. Anisble playbook to set up a Home Assistant server for testing against via Podman. Functionality to request (and/or find) registration info from the user.
Joshua Rich
2023-03-17 10:41:40 +1000