Commit Graph

128 Commits

Author SHA1 Message Date
Jedri Visser 9f9e25a796 Merge pull request #36 from diebietse/dev
Update go, dependencies and CI
2023-03-05 19:15:58 +02:00
Jedri Visser c4a095a094 Update vendor 2023-03-03 21:53:10 +02:00
Jedri Visser bf4716e8df Update go, dependencies and ci 2023-03-03 21:53:08 +02:00
Nicholas Thompson 574e832152 Merge pull request #32 from diebietse/fix_frequency
build / inverter_gui_pipeline (push) Has been cancelled
Add frequency clip check
v2.2.0
2022-01-26 20:22:17 +02:00
Nicholas Thompson 2a84799832 Add frequency clip check
Add check to ensure frequency value is set to 0 when period counter hits maximum or minimum
Closes #31
2022-01-26 20:11:15 +02:00
Nicholas Thompson 8adf3c8261 Merge pull request #29 from diebietse/fix-signedness
No longer use RAM value scale signedness for info frames.
2022-01-25 10:32:56 +02:00
Hendrik van Wyk b3245aba9b No longer use RAM value scale signedness for info frames.
The signedness calculated along with the RAM value scale and offset was
incorrectly applied to the info frame value. This caused some values to
be interpreted as unsigned instead of signed leading to negative values
reporting as very large positive values.
2022-01-11 20:36:56 +02:00
Nicholas Thompson dac2149fbd Merge pull request #28 from Banshee1221/master
github ci: add arm v6 docker image builds
2021-12-09 12:30:55 +02:00
Eugene de Beste e501f6d125 github ci: add arm v6 docker image builds 2021-12-09 09:09:11 +02:00
Jedri Visser 341f26f197 Merge pull request #26 from diebietse/update
build / inverter_gui_pipeline (push) Has been cancelled
Update Dockerfile, vuejs and bootstrap
v2.1.1
2021-05-07 23:30:55 +02:00
Jedri Visser 5e28643a76 Update vuejs and bootstrap 2021-05-07 23:25:07 +02:00
Jedri Visser b35132451c Clean up Dockerfile 2021-05-07 22:57:45 +02:00
Nicholas Thompson 6b0aeae504 Merge pull request #25 from diebietse/readme-updates
build / inverter_gui_pipeline (push) Has been cancelled
Update README
v2.1.0
2021-05-06 23:11:02 +02:00
Jedri Visser 950c77886a Update README 2021-05-06 23:05:40 +02:00
Jedri Visser 51221d37d0 Merge pull request #24 from diebietse/github-builds
Move to github builds
2021-05-06 22:54:59 +02:00
Nicholas Thompson d02baa4e8d Add codecov support 2021-05-06 22:50:23 +02:00
Nicholas Thompson 41b3db0457 Update workspace dictonary 2021-05-06 22:46:43 +02:00
Nicholas Thompson b6c488b7d4 Move to github builds
Co-authored-by: Jedri Visser <git@jedrivisser.com>
2021-05-06 22:46:27 +02:00
Nicholas Thompson c4b09b7a14 Merge pull request #22 from diebietse/go-embed
Use Go embed to serve static files
2021-04-27 14:23:25 +02:00
Nicholas Thompson e201779341 Update vendor directory 2021-04-23 22:33:15 +02:00
Nicholas Thompson 321d19c5c2 Upgrade golangci version 2021-04-23 22:33:14 +02:00
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