andig
1f425e913e
EVnotify: fix template
2022-08-25 08:53:47 +02:00
andig
14693d2267
chore: don't initialise zero-valued structs
2022-08-18 18:33:25 +02:00
andig
5e0ac24c70
Modbus: guard against panic ( #3907 )
2022-07-21 18:07:34 +02:00
andig
815cc58555
chore: apply gofumpt
2022-07-12 11:20:05 +02:00
andig
f618cdf980
Pipeline: add default value if regex doesn't match ( #3646 )
2022-06-16 09:06:03 +02:00
andig
3a7e68e291
Simplify waiter implementation, eliminate sync.Cond ( #3629 )
2022-06-13 09:05:03 +02:00
andig
ff1cd4150e
Use api.ErrTimeout only for retryable device communication
2022-06-05 16:02:18 +02:00
andig
69666f2262
Prometheus: align with other providers
2022-06-05 12:23:07 +02:00
Luca Berneking
c5f6ffc51a
Add Prometheus provider ( #3555 )
...
Allows to load a scalar metrics from prometheus
Example config:
```
meters:
- name: pv
type: custom
power:
source: prometheus
uri: http://prometheus:9090
query: "scalar(p_realtime)"
```
2022-06-05 11:18:21 +02:00
andig
306169219a
Plugins: require xml header for detection
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
2022-05-28 13:48:00 +02:00
andig
1ca16067f6
Modbus: remove duplicate delay
2022-05-07 16:51:56 +02:00
andig
8af991d682
Mqtt: support encrypted connections ( #3292 )
2022-05-01 15:28:01 +02:00
andig
bc4545e173
chore: fix linter
2022-04-17 22:36:22 +02:00
andig
9ecbbdd977
Regex: allow full match
2022-04-05 07:54:23 +02:00
andig
1bfd0f6355
Require Go 1.18 and use generics ( #2116 )
2022-04-02 12:47:26 +02:00
andig
7649eff46a
Remove deprecated use of type instead of source for specifying plugin ( #2899 )
2022-03-17 16:39:22 +01:00
andig
5ce7be45bb
Prepare for removing deprecated type identifier ( #2685 )
2022-02-23 14:28:53 +01:00
andig
6a768f010b
Modbus: fix panic when accessing non-existing block/point
2022-02-08 16:02:23 +01:00
andig
4c509288c6
OpenWB: ensure sending retained messages ( #2446 )
2022-02-03 18:19:55 +01:00
andig
b6631cc9d5
Calc: support multiplication ( #2444 )
2022-01-30 13:26:08 +01:00
andig
11cd612026
Refactor modbus config ( #2373 )
2022-01-26 09:20:55 +01:00
andig
9bb68bd819
OpenWB: fix config timeout on pv
2022-01-20 16:32:27 +01:00
andig
2bad26596e
Modbus: expose request delay ( #2109 )
2022-01-10 17:12:10 +01:00
andig
d8a652ffe2
Modbus: add delay setting ( #2228 )
2022-01-07 19:58:41 +01:00
andig
159e0304c5
Add missing auth settings
Default / Build (push) Failing after 1m37s
Default / Build UI (push) Failing after 24s
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
2022-01-02 16:17:02 +01:00
andig
d97e8d18e5
Refactor data processing into pipeline component ( #2169 )
2021-12-31 16:11:10 +01:00
Andreas Linde
219a0d7b20
Add xml transformation to HTTP provider with Kostal Piko MP Plus example ( #2120 )
...
- Added automatic transformation of XML responses into JSON, so the data can be used with jq
- Add Kostal Piko MP Plus template that uses the above addition
2021-12-28 21:54:40 +01:00
andig
c5e2d978e8
Http: fix sending request body
2021-12-22 17:26:13 +01:00
andig
cd43f09263
Make waiter always expect initial value even if timeout is zero ( #2031 )
Default / Build (push) Failing after 1m46s
Default / Build UI (push) Failing after 2m12s
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
2021-12-12 20:06:41 +01:00
andig
8323f2f100
Mqtt: allow secure connection using client options ( #2025 )
2021-12-11 13:28:35 +01:00
andig
94e2a28839
Mqtt: fix handler not returning when initial value not received ( #2008 )
2021-12-10 11:02:14 +01:00
andig
6ad297a9f0
Refactor mqtt broker connection handling ( #2003 )
2021-12-09 07:57:17 +01:00
andig
c8e4d23955
chore: remove stray logger
2021-12-08 15:31:48 +01:00
Andreas Linde
cb3c8efb1e
SMA: improve error handling ( #1975 )
2021-12-02 11:12:26 +01:00
andig
5735ab6515
Remove basic auth headers from logs ( #1974 )
2021-12-01 21:40:00 +01:00
Andreas Linde
0b248d55cb
Add javascript and decoding support to the http plugin ( #1944 )
...
This allows to run javascript code on the data returned by the HTTP call, optionally processed via jq and decoded, e.g. hex values into ints and floats
2021-11-28 22:23:55 +01:00
andig
7a54e50a3c
chore: introduce CoilOn const ( #1927 )
2021-11-24 09:20:59 +01:00
andig
4c5020a25e
Modbus: add timeout setting ( #1930 )
2021-11-23 11:11:34 +01:00
andig
5e586fcea4
Create transport package ( #1838 )
2021-11-19 21:09:57 +01:00
andig
fe217debbf
chore: fix ruleguard errors
2021-11-14 12:09:17 +01:00
andig
4eafc9453f
OpenWB: add rfid authorization
2021-11-11 20:03:55 +01:00
andig
1ba175bd5c
Mqtt: fix clearing retained topics
2021-10-10 13:39:59 +02:00
andig
b47914d80f
Move optional provider params to separate option functions
2021-10-09 10:36:52 +02:00
andig
8fc319708f
Http/Script provider: add scale parameter
2021-10-04 13:41:46 +02:00
andig
f68d540491
Speedup tests
2021-10-04 12:14:01 +02:00
andig
712e3cba11
Mqtt: reset /set listener to be able to receive same command multiple times ( #1697 )
2021-10-04 11:46:21 +02:00
andig
850c117f23
HTTP: add digest auth ( #1693 )
2021-10-03 11:16:49 +02:00
Markus Thierolf
9e864a458d
Http: add cache option ( #1612 )
2021-09-22 15:21:38 +02:00
Andreas Linde
b3a97bf461
JS: add underscore javascript lib ( #1502 )
...
This change is required to actually use the underscore javascript library, as documented here: https://github.com/robertkrimen/otto#underscore
2021-09-07 20:04:47 +02:00
andig
c77e455809
Update evcc repo uri
2021-08-21 12:53:25 +02:00