Commit graph

258 commits

Author SHA1 Message Date
duck
91d6de46cc
transport: Add OAuth Bearer Token HTTP transport authentication type (#5901) 2023-01-25 07:56:11 +01:00
nename0
6d7006fe65
chore. fix memory leak with Cacheable objects (#5782) 2023-01-14 15:16:53 +01:00
andig
f7acf467b2 Modbus: trim zero bytes when converting to string 2022-12-07 18:59:40 +01:00
andig
818792dab1
Javascript: fix a race condition during parallel setup (#5310) 2022-12-04 19:08:30 +01:00
Michael Panzer
675e944ce8
Calc: add division (div) operator (#5319) 2022-11-30 11:10:55 +01:00
andig
16ddaf118d Mqtt: fix a race condition during parallel setup 2022-11-28 17:15:04 +01:00
andig
91e1ceac38 Calc: fix config validation
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2022-09-18 19:41:17 +02:00
andig
1239ec1255
Calc: add sign function (#4494) 2022-09-18 12:16:47 +02:00
andig
4ec931d8ed Modbus: fix 5a7e9fa point decoding 2022-09-17 10:51:36 +02:00
andig
5a7e9fa56d Modbus: fix wrong sunspec reading retrieved
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2022-09-16 23:59:13 +02:00
premultiply
9314ea164b
Fix SunSpec energy units (#4347) 2022-09-08 21:58:03 +02:00
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
Some checks failed
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
Some checks failed
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)
Some checks failed
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