Nicholas Thompson
56c417fd0e
Upgrade dependencies
2021-04-23 22:33:14 +02:00
Nicholas Thompson
d3576031bb
Use go native embed lib for static assets
...
Use built in embed library to serve static files instead of the statik library
2021-04-23 22:33:14 +02:00
Nicholas Thompson
f6c3b38976
Upgrade to go 1.16
2021-04-23 22:33:14 +02:00
Hendrik van Wyk
cc8fa9d611
Merge pull request #20 from diebietse/scalefixes
...
Fix scaling decoding and munin race condition
v2.0.2
2020-10-08 12:29:58 +02:00
Hendrik van Wyk
49be089a23
Fix race condition in munin output.
...
The munin server used the same structure in two goroutines at once causing
possible data corruption. A copy of the structure is now used by the second
goroutine instead.
2020-10-08 12:25:39 +02:00
Hendrik van Wyk
157736a99d
Add optional debug logging for frame decoding.
2020-10-08 12:25:33 +02:00
Hendrik van Wyk
86f3f0c8e3
Fix scaling to more closely match the Victron documentation.
...
We were decoding the scale as unsigned while it is signed. We were also
ignoring the fact that the sign of the scale determines the signedness of
the value it scales.
2020-09-25 15:03:26 +02:00
Nicholas Thompson
c991503e33
Add mode-2 to scale factors
2020-09-19 18:38:00 +02:00
Nicholas Thompson
55ae241d92
Merge pull request #17 from diebietse/scale-factor-fixes
...
Fix scale factor issue #16
v2.0.1
2020-09-13 21:58:57 +02:00
Nicholas Thompson
ab346bcf90
Disable dead code check for RAM IDs
2020-09-13 21:14:24 +02:00
Nicholas Thompson
4c6df96051
Add unit test to scaleDecode
2020-09-13 20:56:26 +02:00
Nicholas Thompson
2a56dd24e4
Cleanup mk2 logging
2020-09-13 20:56:22 +02:00
Nicholas Thompson
65d9429a12
Add constants to frame decoder
2020-09-13 20:56:15 +02:00
Nicholas Thompson
5fb5ce5f12
Add check to scaling factors
...
Fix scaling append
2020-09-13 20:52:39 +02:00
Nicholas Thompson
3f783fabf8
Merge pull request #15 from diebietse/mqtt-plugin
...
Add n MQTT plugin to invertergui
v2.0.0
2020-06-15 17:14:42 +02:00
Nicholas Thompson
4f428d6bda
Update codecov limits to current coverage
2020-06-15 16:40:39 +02:00
Nicholas Thompson
eb737b6527
Update Go and lint version for travis CI
2020-06-15 14:27:10 +02:00
Nicholas Thompson
1840fae1aa
Update vendor for all new features
2020-06-15 14:05:59 +02:00
Nicholas Thompson
934c629a41
Update readme to reflect new usage
2020-06-15 14:00:30 +02:00
Nicholas Thompson
3798783154
change Mkefile to use docker source for linting
2020-06-15 13:28:50 +02:00
Nicholas Thompson
6ab917d35a
Update and improve logging library to logrus
2020-06-15 13:28:03 +02:00
Nicholas Thompson
c459fb22aa
Add vendoring to makefile
2020-06-15 12:49:23 +02:00
Nicholas Thompson
64ae21da53
Update config to be passed in as environment variables
2020-06-15 12:47:27 +02:00
Nicholas Thompson
67ba53fff4
Create an MQTT client plugin
2020-06-15 12:46:02 +02:00
Nicholas Thompson
4a72d24cdd
Plugin grouping to make reading the code easier
v1.1.0
2019-03-31 19:57:55 +02:00
Nicholas Thompson
92daf9191b
Moved frontend package to be part of webgui in plugin format and renamed it to static for a better description of the package
2019-03-31 19:57:55 +02:00
Nicholas Thompson
fd49891632
Add codecov to test
2019-03-31 19:57:55 +02:00
Nicholas Thompson
e74b0518e9
Remove old invalid test
2019-03-31 19:57:55 +02:00
Nicholas Thompson
0b324458f0
Added basic test to mk2driver to test know state.
2019-03-31 19:57:55 +02:00
Nicholas Thompson
8b0b4f64f1
Simplyfy the flags to specify a source
2019-03-31 19:57:55 +02:00
Nicholas Thompson
47e73a4eff
Concept plugin layout
2019-03-31 19:57:55 +02:00
Nicholas Thompson
d02de285d9
Changed the naming of mk2if to mk2driver
2019-03-31 19:57:55 +02:00
Nicholas Thompson
9236d6fa86
Add travis-ci badge for master
2019-03-15 11:30:47 +02:00
Nicholas Thompson
acdaa019cb
Add travis-ci file
2019-03-15 11:30:47 +02:00
Jedri Visser
01ce2da533
Show sparklines on Grafana dashboard
2019-03-14 23:02:27 +02:00
Jedri Visser
ba012a31fa
Add Grafana dashboard
v1.0.0
2019-03-14 21:09:39 +02:00
Jedri Visser
93250e69f7
Update docker images location
2019-03-14 12:38:41 +02:00
Nicholas Thompson
7351709e57
Add demo to readme
2019-03-13 22:02:26 +02:00
Nicholas Thompson
447d05a227
Add demo gif
2019-03-13 22:02:26 +02:00
Nicholas Thompson
a29781f025
Updated the serial library as the new library does not produce cgo errors and does not need the kernel headers to build
2019-03-13 21:13:09 +02:00
Nicholas Thompson
67fa25495f
Added Ini type to code snippet to help with preview
2019-03-13 00:18:20 +02:00
Nicholas Thompson
e5d8b0c26d
Added phony entries for Makefile
2019-03-13 00:18:20 +02:00
Nicholas Thompson
eb74b967c7
Changed naming of Client to ClientHandler
2019-03-13 00:18:20 +02:00
Nicholas Thompson
d30e0ecedd
README auto formatting
2019-03-13 00:18:20 +02:00
Nicholas Thompson
9c8d7d6260
Added Nginx proxy setup example to readme
2019-03-13 00:18:20 +02:00
Nicholas Thompson
aac4eaddf4
Updated makefile with new commands
2019-03-13 00:18:20 +02:00
Nicholas Thompson
3ecb2933cb
Using the explicit COPY command instead of ADD in docker build
2019-03-13 00:18:20 +02:00
Nicholas Thompson
95735ff319
Added flag parsing to input flag
2019-03-13 00:18:20 +02:00
Nicholas Thompson
eb06e40eb3
Added a favicon and updated the static container
2019-03-13 00:18:20 +02:00
Nicholas Thompson
f54bc3ce7d
Added auto reconnect to js code and included an error bar to indicate connection issues.
2019-03-13 00:18:20 +02:00