Commit Graph

68 Commits

Author SHA1 Message Date
Josh Deprez 83ed014616
Fix format 2024-03-22 21:35:05 +11:00
Josh Deprez 278b594254
remove vendor 2024-03-22 21:14:02 +11:00
Josh Deprez 2d51ca7578
go mod vendor 2024-03-22 21:12:37 +11:00
Josh Deprez e10ad6736a
go 1.22; go get -u; go mod tidy 2024-03-22 21:11:49 +11:00
Josh Deprez 0bc862dee1
Update tariffs and vendor 2023-07-14 10:16:30 +10:00
Josh Deprez 0111ec3247
gofmt vendored files 2023-05-19 17:54:00 +10:00
Josh Deprez cc95ec83e7
Add Buildkite badge 2023-05-19 17:51:30 +10:00
Josh Deprez c846ac1ead
go fmt ./... 2023-05-19 17:50:26 +10:00
Josh Deprez 079cd7efc9
Shuffle and loop 2023-01-23 09:39:28 +11:00
Josh Deprez 097776962c
Tweak retry parameters 2023-01-22 19:57:20 +11:00
Josh Deprez 9d42148c64
Add better retry backoff 2023-01-22 19:21:49 +11:00
Josh Deprez d393a274aa
Try calling Connect 2023-01-22 17:55:06 +11:00
Josh Deprez 9039f13ae6
Fix off-by-one that I forgot about 2023-01-22 14:13:09 +11:00
Josh Deprez 9fe38095fb
Keep skipped values, split reads more 2023-01-22 13:51:05 +11:00
Josh Deprez 8408517b7d
RWMutex; update lastValues all at once 2023-01-21 20:48:47 +11:00
Josh Deprez fa7b18bc2d
tweak error messages 2023-01-21 17:08:11 +11:00
Josh Deprez 00b58cbdb9
Tweak log message 2023-01-21 17:02:24 +11:00
Josh Deprez 40b56ee7ec
Completely rearrange main.go 2023-01-21 16:59:12 +11:00
Josh Deprez d198f61ea9
Only go in runs of 50? 2023-01-16 18:09:08 +11:00
Josh Deprez 619e4409e1
Range var capturing? 2023-01-07 17:49:22 +11:00
Josh Deprez ea6f44e867
Make input registers GaugeFuncs 2023-01-07 17:37:54 +11:00
Josh Deprez 5fd288681b
Update README harder 2023-01-07 17:15:02 +11:00
Josh Deprez 59f6fb1443
Update README 2023-01-07 17:14:17 +11:00
Josh Deprez 93e9f6a7ba
Add LICENSE, fix minor lints 2023-01-07 16:41:15 +11:00
Josh Deprez 9f13f2818b
Move module path 2023-01-06 16:53:25 +11:00
Josh Deprez c49752492e
go 1.19 && go get -u && go mod tidy && go mod vendor 2023-01-06 15:26:59 +11:00
Josh Deprez d67d3a1899 go 1.18, update, tidy, vendor 2022-08-23 05:28:20 +00:00
Josh Deprez db1205e10d go get -u && go mod tidy && go mod vendor 2022-08-23 05:24:42 +00:00
Josh Deprez 5e15e86b4e Tariff changes 2022-08-23 05:19:43 +00:00
Josh Deprez b480a70fda other new tariffs 2021-08-19 12:35:01 +10:00
Josh Deprez 86e33d9b30 add readme 2021-08-18 20:58:40 +10:00
Josh Deprez 9f7ce80e0b change tariff (a bit late, woops) 2021-08-18 20:48:02 +10:00
Josh Deprez 11fae1e914 argh 2021-02-07 18:01:27 +11:00
Josh Deprez 222d71a8e0 better 2021-02-07 17:53:56 +11:00
Josh Deprez fbfda3b144 try multiple addresses 2021-02-07 17:52:20 +11:00
Josh Deprez ad38fcaf8d make log better 2021-02-03 21:28:24 +11:00
Josh Deprez fd006cdccb whoops 2021-02-03 21:27:41 +11:00
Josh Deprez e963740570 more required 2021-02-03 21:25:08 +11:00
Josh Deprez 3f886b0dfd add another check 2021-02-02 16:25:58 +11:00
Josh Deprez 27d7a7149a figured it out 2021-01-26 12:42:41 +11:00
Josh Deprez 00a7bfe502 remove commented out error 2021-01-26 12:20:06 +11:00
Josh Deprez 0fb1b066ae look for export counter 2021-01-26 12:17:22 +11:00
Josh Deprez 57c59041a6 expand register map 2021-01-26 10:24:25 +11:00
Josh Deprez ff0dc5a5e1 add more registers 2021-01-25 16:05:57 +11:00
Josh Deprez 9ace279f5e adjust default inverter addr 2021-01-24 16:31:12 +11:00
Josh Deprez 6cb7c7a23e ignore ds_store 2021-01-24 15:50:49 +11:00
Josh Deprez a508ed0ceb do something useful for status 2021-01-19 15:11:26 +11:00
Josh Deprez 942415760d separate modbus.go doesn't make sense for now 2021-01-12 10:49:06 +11:00
Josh Deprez 39a9b7434b remove stray space 2021-01-12 10:46:46 +11:00
Josh Deprez d97cb74f3f add skippable 2021-01-12 10:45:52 +11:00