Skip to content

Commit 263761b

Browse files
authored
Create README.md
1 parent 89323ff commit 263761b

File tree

1 file changed

+145
-0
lines changed

1 file changed

+145
-0
lines changed

README.md

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
2+
# ESPAC Smart Wifi Thermostat
3+
4+
This piece of software is a thermostat, based on esphome / arduino, that drive airton AC's throught its available serial port.
5+
6+
"ESPAC" is available under two edition : "Wifi" (standalone webserver) and "Home assistant" with better integration.
7+
8+
It is a substitution to closed source "ACW02" wifi module / ref 409729, commonly sold with airton air conditioner, with my own QOL functionnalities added.
9+
10+
## Global Features
11+
12+
- Should Works with most Airton AC ( at least ref : 409934, 409935, 409936 )
13+
- Automation : Automatic double setpoint thermostat
14+
- Care : Timer protection - ensure compressor minimal runtime when kicked in.
15+
- Controls : Modes (heat, cold...), flaps position, fan speed, screen on/off, beeper on/off
16+
- Privacy : Lan communication through wifi (web server, home assistant api or both)
17+
- Home Assistant thermostat card (Home Assistant edition)
18+
- Customizable temperature sensor source (Home Assistant edition)
19+
20+
## Actual state of project
21+
22+
![espac unit](/images/header.webp)
23+
24+
```
25+
<proto
26+
data-measurement="mm"
27+
height="44"
28+
width="36"
29+
alt="9"
30+
weigth="14" unit="g"
31+
/>
32+
```
33+
It's small, light and easy to fit under the hood.
34+
35+
## Appendix
36+
37+
- [Start making your own](#start-make-your-own)
38+
- [Pinout & Soldering](#pinout-soldering)
39+
- [3D Model case to print](#3d-model-case-to-print)
40+
- [Flash Procedure](#flash-procedure)
41+
- [How to install](#how-to-install)
42+
- [Missing features and improvement](#missing-features-and-improvement)
43+
- [Support project](#support-project)
44+
- [Order an ESPAC wifi unit](#order-an-espac-wifi-unit)
45+
- [](#)
46+
47+
## Start making your own
48+
### What you need :
49+
50+
| Hardware | | |
51+
| ------------- | ------------- | ------------- |
52+
| ESP32 D1 mini | Required | ![d1mini](/images/d1mini.webp) |
53+
| JST connector - 4 pins - 2.54mm pitch | Required | ![jst](/images/jst.webp) |
54+
| 3D Printer | Optionnal | ![jst](/images/3dprinter.webp) |
55+
56+
That's it !
57+
58+
Of course, you also need a soldering iron and some tin to complete the job !
59+
60+
### Pinout & Soldering
61+
62+
This is how to solder the jst connector's wires on the d1 mini.
63+
64+
![Pinout & soldering](/images/soldering.webp)
65+
66+
| Wire | GPIO | Wire color D1 side | wire color AC side |
67+
| ------------- | ------------- | ------------- | ------------- |
68+
| 5V | VCC | Black | Red |
69+
| Ground | GND | Yellow | Purple |
70+
| TX | 16 | Red | Blue |
71+
| RX | 17 | White | Green |
72+
73+
### 3D Model case to print
74+
Small form factor case. Stl file avaiblable [here](/3d_case/espac_case_final.stl)
75+
76+
![case 3d model](/images/case.webp)
77+
78+
79+
## Home Assistant edition :
80+
Home assistant edition has to be flashed on your own with your Home assistant api key.
81+
82+
### Setup
83+
- Configure a new esphome device with your api, ota, wifi informations.
84+
- Add yaml configuration avaible [here](/home_assistant_edition/espac_configuration.yaml) to your device configuration.
85+
- Optional configuraion for an external temperature sensor. Please check yaml configuration.
86+
- Compile and Flash firmware with usb cable.
87+
- Plug device on indoor AC unit. [see](#how to install)
88+
- Device should be available in Home Assistant after soime time, then add it to you devices.
89+
- Add a new card to your Home Assistant dashboard. Example thermostat configuration card is available [here](/home_assistant_edition/thermostat_card).
90+
91+
### Home Assistant thermostat :
92+
93+
![home assistant thermostat](/images/ha_thermostat.webp)
94+
95+
## Wifi edition :
96+
97+
Wifi edition is web based thermostat, without esphome feature, directly connected to your local network through your home wifi hotspot.
98+
You can configure your thermostat with any browser on any device connected to your local network.
99+
100+
### Setup
101+
- Download firmware from release page
102+
- Flash firmware with usb cable
103+
- Plug on ac unit ! [see](#how to install)
104+
- Connect to device temporary wifi Access Point, name "ESPAC", password "12345678".
105+
- Open webpage http://192.168.1.4/, select your wifi network ssid, enter your wifi password, submit !
106+
- Device will then connect to your network and get an internal ip adressfrom your DHCP.
107+
- Connect to device with either mobile or desktop browser.
108+
109+
#### Standalone controls web interface :
110+
111+
![standalone thermostat](/images/standalone_thermostat.webp)
112+
113+
## How to install
114+
- It's as simple as to plug 4 pin jst connector on your airton compatible ac unit. Red LED must light instantly. if not, press wifi button on your remote control.
115+
- Wait until espac take control over unit. Blue light should blink at least once, wifi led whould light on AC unit, "fan_only" mode would kick in. ( can take up to 1 min )
116+
- Connect to configuration webpage (ip give by DHCP) and set your parameters ! ex : https://192.168.0.24
117+
118+
![plug jst connector](/images/plug.webp)
119+
![plug jst connector 2](/images/plug2.webp)
120+
121+
> [!WARNING]
122+
> Main voltage hazard. Please, security first ! if you dont know how to deal with main voltage and breaker, call an electrician.
123+
124+
## Missing features to implement
125+
- Eco mode
126+
- Timer
127+
- Humidity percent setting for "huimidity based" mode. (should be default 60% in actual state)
128+
- Automatic profile switching ( ie day / night )
129+
130+
## Support Project
131+
132+
if you want to support hard work, you can [buy me a beer](https://buymeacoffee.com/dohmotik)
133+
Thanks for your support !
134+
135+
## Order "wifi edition" unit
136+
137+
You can order a "wifi edition" unit from [buymeacoffee](https://buymeacoffee.com/dohmotik/e/436984)
138+
139+
All units are shipped "ready to plug" flashedf with wifi edition firmware available on our release page.
140+
141+
It can be flash, as you wish, with Home Assistant edition though its usb-c port.
142+
143+
Thanks.
144+
145+

0 commit comments

Comments
 (0)