-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MYsecretsSample.yaml
79 lines (65 loc) · 6.05 KB
/
MYsecretsSample.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
MAIN:
HOST: 10.10.90.10 # Broker IP Address Here
PORT: 1883 # This needs to be a number, usually 1883 as the MQTT port for tcp access
USER: "username" # MQTT Username Here
PWD: "password" # MQTT User Password Here
LOOP: 12 # This needs to be a number. Time in seconds for each loop. There are 10 sensors so each sensor will update ~this X 10.
DEVICE_NAME: "TargetDevice" # CamelChaseCase friendlier name for device (Shorter is better, Device_ID will be added)
AREA: "Basement" # The Default Home Assistant Area. Should match existing area in HA.
STETOPIC: "CottagePI/" # Topic in the MQTT Broker for State changes.
W1: # Data for One Wire sensors
ADDR_W101: "3c01f09662cd" # The address used to connect the sensor
NAME_W101: "Temperature 1" # Friendly name for the temperature sensor
W101_ID: "tmp01" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W102: "3c01f0968516" # The address used to connect the sensor
NAME_W102: "Temperature 2" # Friendly name for the temperature sensor
W102_ID: "tmp02" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W103: "3c01f0968510" # The address used to connect the sensor
NAME_W103: "Temperature 3" # Friendly name for the temperature sensor
W103_ID: "tmp03" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W104: "3c01f0968511" # The address used to connect the sensor
NAME_W104: "Temperature 4" # Friendly name for the temperature sensor
W104_ID: "tmp04" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W105: "3c01f0968512" # The address used to connect the sensor
NAME_W105: "Temperature 5" # Friendly name for the temperature sensor
W105_ID: "tmp05" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W106: "3c01f0968513" # The address used to connect the sensor
NAME_W106: "Temperature 6" # Friendly name for the temperature sensor
W106_ID: "tmp06" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W107: "3c01f0968514" # The address used to connect the sensor
NAME_W107: "Temperature 7" # Friendly name for the temperature sensor
W107_ID: "tmp07" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W108: "3c01f0968515" # The address used to connect the sensor
NAME_W108: "Temperature 8" # Friendly name for the temperature sensor
W108_ID: "tmp08" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W109: "3c01f0968519" # The address used to connect the sensor
NAME_W109: "Temperature 9" # Friendly name for the temperature sensor
W109_ID: "tmp09" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
ADDR_W110: "3c01f0968517" # The address used to connect the sensor
NAME_W110: "Temperature 10" # Friendly name for the temperature sensor
W110_ID: "tmp10" # lower_case_chase format Unique to Home Assistant Entity ID (Shorter is better, Device_ID will be added)
WHCONTROL:
SERVOGPIO: 17 # GPIO on the raspberry pi that is controlling the servo.
# (GPIO number, not PIN number!!)
WHTOPIC: "ThermoPI/whSet" # Topic in the MQTT Broker to monitor for commands. (angle)
PULSEFREQUENCY: 50 # Frequency of the pulses sent to the servo. (usually 50 or 100)
PWM0: 2.5 # The percentage of time that GPIO pin must be "ON" so that the motor
# will turn to angle 0. (usually 10 for 50hz or 5 for 100hz)
DIRECTION: CW # Set diretion of the servo,
# Looks for CW, anything else will flip the direction.
SERVOANGLE: 270 # The full scale angle on the servo motor you want to use.
# Cannot exceen the angle the unit is capable of delivering,
# Usually 180 or 270.
TRANGEMIN: 60 # For scaling MQTT command to the angle.
# This is the temperature represented by servo at angle 0.
TRANGEMAX: 145 # For scaling MQTT command to the angle.
# This is the temperature represented by servo at SERVOANGLE.
BINARY_SENSOR:
Tstat1_ID: "TstatBMT" # Unique to Home Assistant Entity ID (Shorter is better, Device_ID wil>
NAMETstat1: "BmtThermostat" # Friendly name for the temperature sensor
TSTATGPIO1: 26 # GPIO on the raspberry pi that is sensing the thermostat.
# (GPIO number, not PIN number!!)
Tstat2_ID: "TstatWKRM" # Unique to Home Assistant Entity ID (Shorter is better, Device_ID wil>
NAMETstat2: "WkRmThermostat" # Friendly name for the temperature sensor
TSTATGPIO2: 19 # GPIO on the raspberry pi that is sensing the thermostat.
# (GPIO number, not PIN number!!)