Commit graph

75 commits

Author SHA1 Message Date
andig
85dbee393f Add shared javascript VMs and demo config 2021-01-04 16:18:05 +01:00
andig
6f0fb943dc
Add remaining modbus getters and setters (#550) 2020-12-31 12:54:25 +01:00
andig
7140d0ce86 Fix typo 2020-12-31 11:29:03 +01:00
andig
b30bb4e77e Add default scheme and port for http, websockets and modbus 2020-12-19 17:44:20 +01:00
andig
b8c4ff7354
Add openWB grid, pv and battery meters (#533)
* Add openWB grid, pv and battery meters
* Allow re-use of default MQTT client
2020-12-19 11:50:17 +01:00
andig
eaca642028
Use openWB timeout topic (#529) 2020-12-18 17:21:15 +01:00
andig
bd810bd89b
Refactor plugin configuration (#511) 2020-12-10 12:00:13 +01:00
andig
3455042e3f
Add javascript plugin (#510) 2020-12-08 14:09:51 +01:00
andig
bb688ec354 Add index to error message 2020-12-05 15:39:19 +01:00
andig
a0f2a35f35 Improve configuration error messages 2020-12-04 14:48:34 +01:00
andig
cf28ea19cf Improve configuration error messages 2020-11-24 14:29:48 +01:00
andig
505f9de0e1 Fix modbus device not configured 2020-11-23 18:48:40 +01:00
andig
9c56a31bac
Fix and speed-up tests (#470) 2020-11-23 16:22:40 +01:00
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