Commit graph

165 commits

Author SHA1 Message Date
andig
31475961a1
Support basic authorization (#149) 2020-05-14 17:55:49 +02:00
andig
f45abfe095
Simplify parameter distribution (#148) 2020-05-14 15:19:50 +02:00
andig
40ea628341 Add comment 2020-05-14 13:41:36 +02:00
andig
7b8a579627
Fix #141 (#143) 2020-05-13 15:34:07 +02:00
Andreas Linde
43af2e93d3
Added tests for SMA meter (#142)
- Restructure a bit to make it testable
- Added unit test for new `updatePower` method
2020-05-13 14:24:38 +02:00
andig
6a241eec3b
Simplify unpacking structs (#141) 2020-05-13 14:15:08 +02:00
premultiply
66abd9ee4f
Fix import & export power (#139) 2020-05-13 13:57:15 +02:00
andig
b3cfacdfb0
Handle empty JSON responses (#140) 2020-05-13 13:25:45 +02:00
andig
95f4fc6771
Ensure packages are validated by go mod tidy (#138) 2020-05-13 10:48:51 +02:00
andig
c284fa394b
Add getting started section (#135) 2020-05-12 21:08:45 +02:00
andig
33d45e314d
Improve PV mode stability (#112) 2020-05-12 18:31:41 +02:00
andig
d07b53c06e
Improve charge status handling (#131) 2020-05-12 15:22:16 +02:00
andig
8117f8c0b3
Set default http client timeout to avoid deadlocks (#132)
* Set default http client timeout to avoid deadlocks
* Return error instead of unexpected fatal
2020-05-12 12:29:15 +02:00
andig
12ca72ec2c
Support NRGKick bluetooth (#120) 2020-05-12 11:24:03 +02:00
Andreas Linde
a44f4242fa
Fix SMA reporting negativ 0 value (#126) 2020-05-12 11:23:06 +02:00
andig
bb0a7e6964
Configure stale bot (#130) 2020-05-12 11:20:03 +02:00
andig
41496e7910
Fix mode button only updated on reload (#129) 2020-05-12 10:52:48 +02:00
Andreas Linde
a09262988e Namespace api usage 2020-05-11 20:05:38 +02:00
andig
e3f02ab111
Ensure meters are updated even if charger is not available (#125) 2020-05-11 19:02:14 +02:00
andig
e3b8890e1b Remove route logging 2020-05-11 17:38:22 +02:00
Andreas Linde
0c18e47d8f
Added support for SMA device config by serial (#121)
* Added support for SMA device config by serial

- The SMA Home Manager or Energy Meter device can now be either defined via its IP or its serial number
- Only URI or serial number needs to be defined in the config file

* Add fatal error when serial and uri are missing
2020-05-11 10:07:53 +02:00
Andreas Linde
08cee90ea8
Add Porsche api support (#118) 2020-05-10 18:42:23 +02:00
Andreas Linde
0ba100bf44
Revert "Remove CurrentPower and TotalEnergy (#103)" (#119)
This reverts commit fdfb8dee06.
2020-05-10 18:06:14 +02:00
andig
f0303f4663 Apply on/off immediately (fix #108) 2020-05-10 10:17:06 +02:00
andig
3de2d37c74
Fix ui and config not updated (#115) 2020-05-09 12:51:37 +02:00
andig
0ceda8fe5d
Fix state handling and diagnostic messages (#114) 2020-05-08 16:20:53 +02:00
andig
c28917924d
Fix Tesla api usage and vehicle identification (#113) 2020-05-08 15:56:24 +02:00
andig
3569c34170 Ensure channels are always closed 2020-05-07 14:50:16 +02:00
andig
ec75340993 Show one significant digit for energy 2020-05-07 08:44:00 +02:00
andig
dbf46264c0 Close channels on the sending side to avoid panic 2020-05-07 08:36:26 +02:00
andig
65ab0c8979
Fix charged energy and add total energy (#110) 2020-05-07 08:22:08 +02:00
andig
1263a60cc5
Clarify code structure (#109) 2020-05-06 21:04:05 +02:00
andig
01ef46d47e
Apply now and off modes immediately (#108) 2020-05-06 20:54:37 +02:00
andig
4dd1c46497
Ensure charger target status is always updated even while car disconn… (#106) 2020-05-06 19:17:29 +02:00
Andreas Linde
f5f3257efd
Fixed mode setting not updated when reloading UI (#107)
This fixes the current load mode showing up highlighted when opening the UI on another browser(-tab) or device
2020-05-06 19:17:14 +02:00
andig
d17289d9ce
Split loadpoint and charger handler (#104) 2020-05-06 18:32:38 +02:00
Andreas Linde
fdfb8dee06
Remove CurrentPower and TotalEnergy (#103) 2020-05-06 14:16:44 +02:00
andig
377717b65c
Improve config validation (#102) 2020-05-06 11:33:38 +02:00
andig
280c4f32f0 Remove spf13/viper replacement and clean dependencies 2020-05-05 21:01:25 +02:00
andig
4c3f8a0c73
Fix UI and icon display (#101) 2020-05-05 16:54:31 +02:00
andig
b7c9069030
Add swapped word order encodings (#100) 2020-05-05 13:59:21 +02:00
andig
fe7f3e2d80 Log battery power 2020-05-04 19:58:44 +02:00
andig
8d5b35b267 Add link 2020-05-04 16:30:19 +02:00
andig
095afd0bf6 Improve docs and add KEBA docker hint 2020-05-04 14:22:42 +02:00
andig
78733dfc55
Allow reading arbitrary modbus registers (#96) 2020-05-04 08:41:47 +02:00
andig
ed7254407b Upgrade MBMD and add SDM72 meter 2020-05-04 08:39:29 +02:00
andig
33c7747c7b
Add calc plugin (#93) 2020-05-02 21:34:16 +02:00
andig
500f6fe80e
Add Tesla Powerwall (#92) 2020-05-02 21:33:58 +02:00
andig
eeef3f1fe8 Allow trusting self-signed certificates 2020-05-02 17:20:09 +02:00
andig
60c46104c7 Fix energy always added 2020-05-02 17:19:41 +02:00