-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.yaml
53 lines (47 loc) · 983 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
consoleLoglevel: WARNING
port: 8080
enableWebUI: false
sensors:
- RecircTemp:
plugin: DummySensor
fakeTemp: 66
# - RecircTemp:
# plugin: W1Sensor
# id: 28-000004b8240b
# offset: 1.2
actors:
- Heater:
plugin: DummyActor
- Pump:
plugin: DummyActor
# - Pump:
# plugin: GPIOActor
# gpio: 17
# - Heater:
# plugin: GPIOActor
# gpio: 18
# pwmFrequency: 2
controllers:
- KettleController:
plugin: PIDLogic
logicCoeffs:
p: 50
i: 2
d: 10
actor: Heater
sensor: RecircTemp
initialSetpoint: 67
extensions:
- web:
plugin: SimpleWebView
endpoints:
- enable
- setpoint
- pump
connections:
- web.enable=>KettleController.state
- Heater.power=>web.heaterpower
- RecircTemp.temperature=>web.recirtemp
- web.setpoint=>KettleController.setpoint
- KettleController.setpoint=>web.setpoint
- web.pump=>Pump.state