Commit graph

29 commits

Author SHA1 Message Date
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
Josh Deprez
be41ca7c63 remove vendor, but fork modbus pkg for now 2021-01-10 15:14:38 +11:00
Josh Deprez
e672276374 tariffs and vendoring 2021-01-10 14:43:46 +11:00
Josh Deprez
ffd5f497cf catch occasional size mismatch? 2021-01-09 16:35:30 +11:00
Josh Deprez
9fbf73c1e9 is the truncate really necessary? 2021-01-06 21:39:43 +11:00
Josh Deprez
1ecb5ecdba use smaller container as base 2021-01-05 20:47:41 +11:00
Josh Deprez
4396ec6592 connect to device via name in case of further network blips 2021-01-04 16:21:29 +11:00
Josh Deprez
833dcb07f6 die if webserver dies 2021-01-04 10:43:04 +11:00
Josh Deprez
1507dcc158 start http only after successful scrape 2021-01-04 10:42:14 +11:00
Josh Deprez
c194de1861 Add a basic dockerfile 2021-01-01 21:18:17 +11:00
Josh Deprez
da677e9c6f tweaks 2021-01-01 20:00:07 +11:00
Josh Deprez
30ef059ce4 maybe it needs a lock? 2021-01-01 19:50:24 +11:00
Josh Deprez
b9c49613fe clean commit 2021-01-01 16:51:16 +11:00