Commit graph

184 commits

Author SHA1 Message Date
andig
5bdf309d8a
Mqtt: limit number of inflight token waits (#10131) 2023-10-03 11:19:30 +02:00
andig
e14fdf6822
Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
Michael Geers
baa593cec8
Allow set float for http plugin (#9381) 2023-08-14 22:17:37 +02:00
andig
4b4587a286 Mqtt: fix setter not cleared 2023-07-18 18:43:34 +02:00
andig
a0dfabb229
Plugins: trace xml transformations (#8879) 2023-07-16 20:37:37 +02:00
kscholty
228a01a0fc
Modbus: add coils (#8385) 2023-06-11 12:19:39 +02:00
andig
39a404c51f Mqtt: disable message ordering to improve performance 2023-06-07 11:52:10 +02:00
andig
b88e145085 Mqtt: simplify setters 2023-06-07 10:07:38 +02:00
andig
38777d1e61 Mqtt: refactor error handling 2023-06-04 14:57:25 +02:00
andig
cdead48ec5
Plugins: make javascript return values more permissive (#8106) 2023-05-20 17:17:20 +02:00
Markus Heberling
cba97832db
Plugins: allow chaining of input/output plugins (#7836) 2023-05-18 14:08:05 +02:00
andig
0d1c0531ad
Mqtt: increase token wait duration and send asynchronously (#7820) 2023-05-06 10:06:09 +02:00
andig
93eb81a2eb Revert "Mqtt: handle messages asynchronously (#7687)"
This reverts commit 77a8a323b3.
2023-05-04 08:24:49 +02:00
andig
e9ac325592
chore: drop gorilla/websocket (#7768) 2023-05-01 19:55:30 +02:00
andig
1b33b1eff0 Revert "chore: drop gorilla/websocket (#7751)"
This reverts commit d327fe71fd.
2023-05-01 10:45:34 +02:00
andig
d327fe71fd
chore: drop gorilla/websocket (#7751) 2023-04-30 14:59:19 +02:00
andig
77a8a323b3
Mqtt: handle messages asynchronously (#7687) 2023-04-27 14:17:29 +02:00
andig
98025255e4
Websocket plugin: apply jq when receiving value (#7640)
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 / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled
2023-04-24 19:11:33 +02:00
andig
6f1333946a
Websocket plugin: fix and simplify 2023-04-13 09:01:04 +02:00
Markus Heberling
c14c873dcc
Add Go plugin (#6672) 2023-04-08 21:56:01 +02:00
andig
a163020b69
Plugins: allow const plugin to have a pipeline for testing (#7055) 2023-03-25 19:19:14 +01:00
andig
091190e1a2 chore: use time.Tick 2023-03-21 21:47:35 +01:00
andig
1f689bfb59
Add const provider (#6718) 2023-03-09 12:25:56 +01:00
Tobias Bayer
68ce1d1983
Add exponential backoff retries for failed cache refresh (#6252) 2023-02-18 16:37:57 +01:00
andig
593304a8e2 chore: use strings.CutPrefix 2023-02-12 13:25:26 +01:00
andig
23f6cec1fb
Http: allow path parameters for setters (#6196) 2023-02-11 13:33:33 +01:00
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