andig
bad8276aae
Improve handling of modbus readings
2020-09-28 17:09:07 +02:00
andig
26eeb05c05
Refactor http helper into util/request ( #362 )
2020-09-27 17:59:08 +02:00
andig
6f864049ee
Convert remaining fatals into error returns ( #357 )
2020-09-25 10:40:38 +02:00
andig
acbfc6a436
Use code generation best practices
2020-09-13 13:54:12 +02:00
andig
fd3ebdb6e1
Fix exposed modbus client not setting slave id by making the connection wrapper compatible with the wrapped connection ( #328 )
2020-09-03 17:40:14 +02:00
andig
e72c523769
Re-add modbus connection cache and wrap error and slave id handling in connection ( #320 )
2020-08-30 10:11:52 +02:00
andig
8e1eaf1eef
Fix invalid array access
2020-08-27 17:11:37 +02:00
andig
e7ee87b19a
Implement composition of optional interfaces using generator ( #310 )
2020-08-26 19:25:07 +02:00
andig
6b622b7df7
Remove the modbus connection cache and improve handling configuration errors ( #315 )
2020-08-26 15:51:52 +02:00
andig
81b72e2c06
Implement factory patterns for device configuration ( #303 )
2020-08-22 14:41:31 +02:00
andig
abeded1075
Deprecate pkg/errors ( #304 )
2020-08-21 11:30:33 +02:00
andig
9c0dd8e304
Remove invalid tests ( #284 )
2020-08-14 19:49:49 +02:00
andig
785ae1a417
Fix test errors caused by 8eca79a ( #282 )
2020-08-14 19:00:07 +02:00
andig
8eca79a675
Add more context to configuration errors to simplify diagnosis
2020-08-13 15:58:05 +02:00
andig
ec04b22739
Add currents to default meter ( #267 )
2020-08-04 22:33:01 +02:00
andig
b7be4dd75d
Support accessing SunSpec subdevices ( #262 )
2020-08-04 09:19:26 +02:00
andig
58177f60c1
Silence NaN reading errors by treating NaN as zero ( #261 )
2020-08-03 07:23:54 +02:00
andig
1e03a51eae
Standardize error messages by removing config prefix
2020-07-29 14:22:44 +02:00
andig
6043023a6a
Test sample configurations and ignore acceptable errors
2020-07-29 13:43:23 +02:00
andig
b1de0950c2
Return errors instead of failing
2020-07-29 13:42:09 +02:00
andig
9e7cf67128
Test sample configurations
2020-07-28 22:48:03 +02:00
andig
38bb8cb7ab
Improve configuration error messages
2020-07-25 16:12:47 +02:00
andig
7c864df08a
Introduce log levels per area ( #236 )
2020-07-20 09:34:47 +02:00
andig
173667a4de
Close modbus connection if operation fails to reestablish connection ( #221 )
2020-07-18 10:36:28 +02:00
andig
e34167ce7d
Implement multiple loadpoints and new UI ( #199 )
...
* Support multiple loadpoints
* Finalize loadpoint site split
* Simplify global voltage
* Fix push template error stopping main process
* Show only last error on retry
* Improve influx v1 compatibility
* Update push templates
* Revert influx v1 user change
2020-07-16 09:34:58 +02:00
andig
71a4afa69a
Improve modbus configuration, add sunspec and float32 swapped readings ( #184 )
2020-05-24 14:41:10 +02:00
andig
0490db10fa
Add util.Waiter for initial value and timeout handling ( #174 )
2020-05-20 15:54:16 +02:00
andig
7ecfe9d754
Simplify waiting for initial value similar to websocket plugin
2020-05-20 11:54:42 +02:00
Andreas Linde
23f51bc56d
Added Currents support to MCC and SMA ( #156 )
...
* Added Currents support to MCC
* Added currents to SMA
2020-05-15 22:33:37 +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
premultiply
66abd9ee4f
Fix import & export power ( #139 )
2020-05-13 13:57:15 +02:00
Andreas Linde
a44f4242fa
Fix SMA reporting negativ 0 value ( #126 )
2020-05-12 11:23:06 +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
andig
500f6fe80e
Add Tesla Powerwall ( #92 )
2020-05-02 21:33:58 +02:00
andig
60c46104c7
Fix energy always added
2020-05-02 17:19:41 +02:00
andig
b930f78549
Make energy readings optional ( #91 )
2020-05-02 13:00:03 +02:00
andig
c48b9b902c
Make SMA energy readings configurable ( #84 )
...
* Make SMA energy readings configurable
* Add decorator
2020-05-01 19:52:20 +02:00
andig
d60252234b
Add ModBus meters in addition to modbus providers ( #58 )
2020-04-29 13:15:29 +02:00
andig
1729399ef9
Split common utility functions into util package ( #64 )
2020-04-27 20:05:08 +02:00
andig
56ad3dad95
Opinionated refactor of SMA Energy Meter ( #65 )
2020-04-27 18:40:22 +02:00
Andreas Linde
0f7fe7ac97
Add support for SMA Home Manager and SMA Energy Meter as meters ( #59 )
2020-04-27 17:05:59 +02:00
andig
a1bb0dc594
Make meters configurable ( #55 )
2020-04-26 15:40:41 +02:00