Skip to content

Commit ee712b1

Browse files
committed
add more docs on connections
1 parent 12a2ba1 commit ee712b1

File tree

4 files changed

+39
-2
lines changed

4 files changed

+39
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ want to use the HomeAssistant UI: look for Helpers and choose `Generic Thermosta
6060
* ESP32 relay board [bought on Aliexpress](https://it.aliexpress.com/item/1005007027676026.html?spm=a2g0o.order_list.order_list_main.31.42f53696cth4st&gatewayAdapt=glo2ita) (17.5€ in Oct 2025).
6161
Its main characteristics are:
6262

63-
* Sports an [ESP32-WROOM-32E module](./datasheets/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf)
63+
* Sports an [ESP32-WROOM-32E module](./datasheets/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf) with 240MHz clock, 320kB RAM, 4MB Flash
6464
* 5V DC power supply terminal
6565
* 8 relay channels, both NC and NO contacts available
6666

@@ -73,6 +73,14 @@ Its main characteristics are:
7373
* `DHT11`: Digital Temperature Humidity Sensor,
7474
see https://esphome.io/components/sensor/dht/
7575

76+
Alternative sensors I also tested in an instance of this ESPHome Package are:
77+
78+
* `MAX31855` and a K-type thermocouple for reading pipe temperature,
79+
see https://esphome.io/components/sensor/max31855/
80+
* `DHT22`: Digital Temperature Humidity Sensor,
81+
see https://esphome.io/components/sensor/dht/
82+
83+
7684
## ESP32 Relay Board Pinout
7785

7886
The ESP32 relay board currently being used has the following pinout:
@@ -96,6 +104,10 @@ In addition to these, the following GPIOs are used for the temperature sensors:
96104
* GPIO5: `DHT11` sensor
97105
* GPIO16 (MISO), GPIO17 (CLK) and GPIO15 (CS): for the SPI bus to read the `MAX6675` sensor
98106

107+
Graph of the ESP-to-sensor connections:
108+
109+
<img title="Sensors" alt="Sensors" src="images/ESP-to-sensors-connections.drawio.png">
110+
99111

100112
## Full ESPHome configuration
101113

@@ -126,7 +138,8 @@ esphome:
126138

127139
which is basically assigning the secrets defined in the ESPHome global "secrets.yaml" to the variables of this package.
128140
Then it's overriding just the name & friendly name from the package.
129-
141+
See e.g. [example-instance.yaml](./example-instance.yaml)
142+
and [example-instance-with-different-sensors.yaml](./example-instance-with-different-sensors.yaml).
130143

131144
## TODO
132145

datasheets/DHT22.pdf

371 KB
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
packages:
2+
remote_package_files:
3+
url: https://github.com/f18m/floor-heating-controller/
4+
files:
5+
- path: main.yaml
6+
vars:
7+
encryption_key: "MqLWuv12+mOVDxRI7E0dK8Vx0+xy1gnRHEkzhXMBCac="
8+
wifi_ssid: "Some-SSID"
9+
wifi_password: "supersecretpassword"
10+
wifi_ap_password: "deadbeefdead"
11+
ota_password: "deadbeefdeadbeefdeadbeefdeadbeef"
12+
ref: main # optional
13+
refresh: 1d # optional
14+
15+
sensor:
16+
# let's say you want to use DHT22 instead of DHT11 for ambient temperature;
17+
# just override the "model" field of the "ambient_sensor"
18+
- id: !extend ambient_sensor
19+
model: DHT22
20+
21+
# let's say you want to use MAX31855 instead of MAX6675 for heating pipe temperature
22+
# just override the "platform" of the "heating_pipe_sensor"
23+
- id: !extend heating_pipe_sensor
24+
platform: max31855
49.4 KB
Loading

0 commit comments

Comments
 (0)