Commit Graph

48 Commits

Author SHA1 Message Date
Nicholas Thompson
eb4398d5b4 Added vscode settings for the project 2019-03-13 00:18:20 +02:00
Hendrik van Wyk
d6c6ee8627 Merge pull request #5 from hpdvanwyk/dockerfile
Dockerfile
2019-01-19 18:07:29 +02:00
NC Thompson
fa03f977ea Update the README with information on how to run the image and the locations of the docker image 2019-01-19 18:04:35 +02:00
NC Thompson
996b5486c2 Added docker build to Makefile to allow build call via make 2019-01-19 16:13:37 +02:00
NC Thompson
d77bd9c31b Add dockerfile 2019-01-19 16:12:58 +02:00
Hendrik van Wyk
81f423f487 Merge pull request #4 from hpdvanwyk/go_modules
Go modules
2019-01-19 15:20:06 +02:00
Hendrik van Wyk
b8f915ee92 Update the readme to include the MK2 RS232.
The MK2 RS232 version works with a USB to serial converter or directly
with a RS232 port. Update the readme with this information.
2019-01-19 15:05:54 +02:00
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