Hendrik van Wyk
ddbaf605ea
Us go build instead of go install.
...
Go install places the binaries wherever the GOPATH is set which could be
some non related directory. Rather use go build and place the binaries in
this directory.
2019-01-19 14:47:46 +02:00
NC Thompson
ebcf686c4a
Added go version requirement
2019-01-15 22:05:29 +02:00
NC Thompson
fc9556b098
Updated readme
2019-01-15 22:03:50 +02:00
NC Thompson
e5da000fcb
Removed unused code
2019-01-15 21:55:42 +02:00
NC Thompson
40b05fe7e7
Add go modules file go.mod and go.sum
2019-01-15 21:52:38 +02:00
NC Thompson
0abf03751d
Removed vendor directory
2019-01-15 21:51:34 +02:00
Hendrik van Wyk
0fa0b513dc
Merge pull request #3 from hpdvanwyk/nictesting
...
Nictesting
2018-08-13 20:14:19 +02:00
Hendrik van Wyk
ad2d9856bf
Fixed battery power and current being incorrectly reported to Prometheus.
2017-09-21 19:37:10 +02:00
Hendrik van Wyk
a52af88bff
Use mk2if instead of datasource as data source.
...
This removes support for the python based mk2daemon.
2017-09-16 15:37:58 +02:00
Hendrik van Wyk
dd8ee443e2
Add timestamp to mk2info
2017-09-16 15:36:24 +02:00
Hendrik van Wyk
33ad6b8d1d
Vendor go-serial.
2017-09-16 15:25:31 +02:00
Hendrik van Wyk
44891b1795
Better cleanup code in invertercli.
2017-09-16 14:03:04 +02:00
Hendrik van Wyk
5bd6257bad
gofmt
2017-09-16 14:02:43 +02:00
Hendrik van Wyk
f89b619b23
That did nothing.
2017-09-16 13:34:05 +02:00
Hendrik van Wyk
0bd6b448b8
Make mk2ser wait for goroutine to finish on Close.
2017-09-16 13:32:23 +02:00
Hendrik van Wyk
337c897afc
Add more decimal points to the frequency output.
2017-09-16 13:13:32 +02:00
Hendrik van Wyk
58f446de81
Add channel based interface.
2017-09-16 13:13:23 +02:00
Hendrik van Wyk
7eb7037476
Build cli.
2017-09-16 13:06:11 +02:00
Hendrik van Wyk
a7f381af8e
Fix data race.
2017-09-16 13:06:01 +02:00
Hendrik van Wyk
1c4b44d5e3
Add command line parameter for address to listen on.
2017-09-16 12:05:51 +02:00
Hendrik van Wyk
2e623658ca
Use time provided by data poller instead of getting time again.
2017-09-16 12:05:15 +02:00
Hendrik van Wyk
74a3722b09
Fix my tests.
2017-09-16 11:53:45 +02:00
Hendrik van Wyk
ad170b556e
Merge branch 'prometheus_experiment' into nictesting
2017-09-16 11:40:49 +02:00
Hendrik van Wyk
f0420ebdc1
Unexport templateInput.
...
I did not know you could do that 2 years ago.
2017-09-14 21:34:43 +02:00
Hendrik van Wyk
38094da9de
Add date to html output.
2017-09-14 21:33:23 +02:00
NC Thompson
3d584caac1
Cleanup
2017-09-14 21:21:15 +02:00
NC Thompson
f95b358bd0
Added a frame locked indicator. Once frame lock is achieved, frame hunting will stop now.
2017-09-14 21:21:02 +02:00
NC Thompson
2ed6ba8947
CLI as example for mk2 lib
2017-09-14 09:43:04 +02:00
NC Thompson
012b0ee481
Added new go based Mk2 Interface
2017-09-14 09:42:51 +02:00
Hendrik van Wyk
53eda718d7
Add experimental prometheus support.
2017-09-13 21:39:37 +02:00
Hendrik van Wyk
169887f4a5
Only compile the invertergui binary.
2017-09-13 21:38:33 +02:00
Hendrik van Wyk
b4a7a6984d
Add dependencies for prometheus client.
2017-09-13 21:35:33 +02:00
Hendrik van Wyk
0c04eab1c1
Made charge tracker get time stamps from data poller instead of internally.
2015-02-28 15:46:55 +02:00
Hendrik van Wyk
70bdaa99eb
Added command line argument to set the capacity of the batteries used.
2015-02-28 15:16:29 +02:00
Hendrik van Wyk
1732b0c854
Fixed print being used instead of printf.
2015-02-28 15:14:35 +02:00
Hendrik van Wyk
3cd2faf3ef
Moved the polling of data from the webgui to its own dedicated poller.
...
This should simplify testing of webgui.
2015-02-28 15:14:15 +02:00
Hendrik van Wyk
2b63a81cec
Added munin logging support.
2015-02-08 16:10:34 +02:00
Hendrik van Wyk
29d6e21b57
Added missing license header.
2015-02-08 16:09:47 +02:00
Hendrik van Wyk
3cde999de9
Added a primitive battery charge monitor.
2015-02-08 11:28:04 +02:00
Hendrik van Wyk
e26aa12dce
Initial commit of source.
2015-02-08 10:13:36 +02:00
Hendrik van Wyk
a259812352
Initial commit
2015-02-07 17:20:35 +02:00