Commit graph

62 commits

Author SHA1 Message Date
andig
84dd7d8f20
Fix modbus reading values ignored (#458) 2020-11-20 18:09:39 +01:00
andig
9090514a9e
Improve mqtt publishing (#421) 2020-11-11 18:28:02 +01:00
andig
b11381b7e6
Add openWB support via MQTT (#399) 2020-11-11 12:53:52 +01:00
andig
95cc086226
Replace VW We with VW Id api (#367) 2020-10-03 16:30:06 +02:00
andig
2bb983c547 Fix typos 2020-10-01 11:01:30 +02:00
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
c78a43b340
Refactor ChargeRemainder into ChargeFinishTimer (#352) 2020-09-16 08:00:57 +02:00
andig
90e23dadcc
Add ChargeRemainder api (#325) 2020-09-13 16:07:11 +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
abeded1075
Deprecate pkg/errors (#304) 2020-08-21 11:30:33 +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
1be64c7353 Return errors instead of fatal 2020-07-31 13:39:00 +02:00
andig
1e03a51eae Standardize error messages by removing config prefix 2020-07-29 14:22:44 +02:00
andig
b1de0950c2 Return errors instead of failing 2020-07-29 13:42:09 +02:00
andig
c12d52ca82
Add mqtt interface and document REST api (#243) 2020-07-26 13:55:41 +02:00
andig
38bb8cb7ab Improve configuration error messages 2020-07-25 16:12:47 +02:00
andig
985a16a91d Use Power as default reading for modbus plugin 2020-07-19 17:31: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
fade1d5ce2
Make caching include error states and simplify assertions (#191) 2020-06-12 21:16:06 +02:00
andig
a51144977d
Fix sunspec configuration (#185) 2020-05-24 15:40:19 +02:00
andig
71a4afa69a
Improve modbus configuration, add sunspec and float32 swapped readings (#184) 2020-05-24 14:41:10 +02:00
andig
458b501696
Update script.go 2020-05-21 12:28:25 +02:00
andig
2d64086086
Remove warning 2020-05-21 09:33:03 +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
andig
b2d6f8c724 Use embedded logger 2020-05-20 11:02:23 +02:00
andig
68cceb8404 Add Websocket plugin 2020-05-20 11:02:10 +02:00
andig
31475961a1
Support basic authorization (#149) 2020-05-14 17:55:49 +02:00
andig
b7c9069030
Add swapped word order encodings (#100) 2020-05-05 13:59:21 +02:00
andig
78733dfc55
Allow reading arbitrary modbus registers (#96) 2020-05-04 08:41:47 +02:00
andig
33c7747c7b
Add calc plugin (#93) 2020-05-02 21:34:16 +02:00
andig
eeef3f1fe8 Allow trusting self-signed certificates 2020-05-02 17:20:09 +02:00
andig
b930f78549
Make energy readings optional (#91) 2020-05-02 13:00:03 +02:00
andig
ec5b258e39
Expose and document scale parameter (#90) 2020-05-02 12:31:21 +02:00
andig
e809c4d5ed Add HTTP provider with jq ability (#72) 2020-04-30 16:28:30 +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
6cbfc55902 Minor fixes 2020-04-21 11:23:29 +02:00
andig
0e352c77d7
Make usage of loggers explicit (#45) 2020-04-21 11:19:49 +02:00
andig
f739470d9d
Add Modbus meter and grid inverter support (#44) 2020-04-21 11:19:12 +02:00
andig
fe8523dd86 Remove default mqtt timeout 2020-04-19 18:24:33 +02:00
andig
04092069a3 Apply %v default formatting if payload is empty 2020-04-15 09:01:13 +02:00
andig
92d298f93f Support openWB type composite status provider 2020-04-14 17:54:51 +02:00
andig
706ed627fa Support writing through mqtt 2020-04-14 17:53:11 +02:00
andig
516934ca6e
Improve provider and meter configuration (#33)
* Improve provider and meter configuration
* Drop mqtt check from script

* Handle retained topics

* Reduce dependencies
2020-04-14 13:26:25 +02:00