Commit graph

62 commits

Author SHA1 Message Date
cc95ec83e7
Add Buildkite badge 2023-05-19 17:51:30 +10:00
c846ac1ead
go fmt ./... 2023-05-19 17:50:26 +10:00
079cd7efc9
Shuffle and loop 2023-01-23 09:39:28 +11:00
097776962c
Tweak retry parameters 2023-01-22 19:57:20 +11:00
9d42148c64
Add better retry backoff 2023-01-22 19:21:49 +11:00
d393a274aa
Try calling Connect 2023-01-22 17:55:06 +11:00
9039f13ae6
Fix off-by-one that I forgot about 2023-01-22 14:13:09 +11:00
9fe38095fb
Keep skipped values, split reads more 2023-01-22 13:51:05 +11:00
8408517b7d
RWMutex; update lastValues all at once 2023-01-21 20:48:47 +11:00
fa7b18bc2d
tweak error messages 2023-01-21 17:08:11 +11:00
00b58cbdb9
Tweak log message 2023-01-21 17:02:24 +11:00
40b56ee7ec
Completely rearrange main.go 2023-01-21 16:59:12 +11:00
d198f61ea9
Only go in runs of 50? 2023-01-16 18:09:08 +11:00
619e4409e1
Range var capturing? 2023-01-07 17:49:22 +11:00
ea6f44e867
Make input registers GaugeFuncs 2023-01-07 17:37:54 +11:00
5fd288681b
Update README harder 2023-01-07 17:15:02 +11:00
59f6fb1443
Update README 2023-01-07 17:14:17 +11:00
93e9f6a7ba
Add LICENSE, fix minor lints 2023-01-07 16:41:15 +11:00
9f13f2818b
Move module path 2023-01-06 16:53:25 +11:00
c49752492e
go 1.19 && go get -u && go mod tidy && go mod vendor 2023-01-06 15:26:59 +11:00
d67d3a1899 go 1.18, update, tidy, vendor 2022-08-23 05:28:20 +00:00
db1205e10d go get -u && go mod tidy && go mod vendor 2022-08-23 05:24:42 +00:00
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
Josh Deprez
206c82b9e4 delete some unused files 2021-01-11 14:14:45 +11:00
Josh Deprez
dc10d3b6de typo 2021-01-11 13:59:50 +11:00
Josh Deprez
fac81285da add sanity check on uint values 2021-01-11 10:21:53 +11:00
Josh Deprez
c16b5f973e re-add that truncate in case it's related to misreads 2021-01-10 20:51:14 +11:00
Josh Deprez
137a895704 vendor again 2021-01-10 15:20:11 +11:00
Josh Deprez
3fb2673343 add comment on function I added 2021-01-10 15:16:56 +11:00