eguib
3875d2aca5
[senechome] issue #10679 : Extend with additional channels; refactor and various improvements ( #10687 )
...
* [senechome] Extend with additional channels; refactor; improve error handling (#10679 ). Merged PR 9535 (rename batteryState to system state)
- charge/discharge energy/current/voltage/min/maxCellVoltage/load cycles per battery pack
- current/power/voltage per MPP
- liveHouseConsumption/livePowerGenerator
- battery,case,MCU temperature
- wallbox1: state, charging power/current, liveEnergy
- improve error handling, catch malformed JSON exception to prevent crashing the binding
- merged PR: 9535 (rename batteryState to systemState)
- renamed SenecHomeLimitation to SenecHomePower and added more channels
- refactored SenecHomeHandler to reduce code duplication (added some nice helper methods)
Signed-off-by: Erwin Guib <eguib@web.de>
2021-05-29 14:29:20 +02:00
Korbinian Probst
b049d3d13b
[SenecHome] Catch and ignore malformed JSON ( #10657 )
...
* SENEC Home: Add SocketTimeoutException and MalformedJsonException
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* SENEC: Revert last commit
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* SENEC: Implement a counter that keeps the device online for random errors
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* Implement a print of the faulty response
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* Improve print of faulty response
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* Print all responses for debugging, catch MalformedJsonException explicitly
Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Add Infor print if JSON is wrong. Catch JsonSyntaxException. Remove errorCounter
Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Remove most debug code, move remaining messages to trace log level
Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Bring back catch of MalformedJsonException. Avoid null pointer exception in case response is null.
Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Collect error to print it in one message
Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
Co-authored-by: Korbinian Probst <korbinian.probst@gmx.de>
2021-05-19 22:18:15 +02:00
Wouter Born
d6364aceb1
Update license headers to 2021 ( #9620 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Korbinian Probst
65c3d5f6f9
[senechome] changed BatteryState to String ( #9521 )
...
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
2020-12-26 09:36:28 +01:00
Wouter Born
ac6f08908f
Use renamed Units class ( #9267 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +01:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml ( #9113 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
J-N-K
ba4c96d99d
[infrastructure] move infered nullness warnings to error and update EEA ( #8949 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-12 21:07:11 +01:00
Korbinian Probst
067a8f7953
[senechome] implement more data points (3.0) ( #8875 )
...
* Add KorbinianP to CODEOWNERS for senechome
* Implement Current, Voltage and Power for all three Phases
* Bugfix last commit, values are inside array
* Implement Grid Frequency
* Fix name of currentGridVoltagePerPhase
* Extend README.md with new parameters
* Implement SenecBatteryStateValue for easier comparison of values in rules
* Implement new statistic data points and battery voltage
batteryVoltage
liveBatCharge
liveBatDischarge
liveGridExport
* Bugfix item types
* Implement Review findings, change channelBatteryStateValue to QuantityType
* Revert change of channelBatteryStateValue from DecimalType to QuantityType
Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
2020-11-02 23:33:08 -08:00
Kai Kreuzer
6df6783b60
added migrated 2.x add-ons
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00