Commit graph

46 commits

Author SHA1 Message Date
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
andig
ca75de87c1
Implement int/string/bool getters over mqtt (#30) 2020-04-13 18:53:56 +02:00
andig
c8f58117f9 Detect initial update independently from timeout 2020-04-10 15:28:44 +02:00
andig
5a69cf7fd0 Prevent panic if mqtt not configured 2020-04-09 13:19:06 +02:00
andig
2bfeed5451
Use mockable clock (#26) 2020-04-09 13:10:22 +02:00
andig
cf89044898 Refactor file structure 2020-04-06 15:11:52 +02:00
andig
8d84892069 Improve creation of cached getters 2020-04-03 18:58:44 +02:00
andig
8d7cabf004 Fix cached getter type not compatible and improve diagnostic messages 2020-03-30 08:12:42 +02:00
andig
6bf4b28902
Refactor configuration handling (#12) 2020-03-22 17:58:44 +01:00
andig
1d1ad3dba6 Add missing comments 2020-03-22 15:23:16 +01:00
andig
91968984ec Fix charger disabled on start due to mqtt readings not available 2020-03-22 15:19:47 +01:00
andig
da74ce17fd Refactor to support Wallbe dip 10 enable/disable 2020-03-18 16:16:35 +01:00
andig
3c503b333d Initial commit 2020-03-06 08:24:05 +01:00