Skip to content

Commit 95a393c

Browse files
committed
document hardware connection
1 parent bdb2983 commit 95a393c

File tree

3 files changed

+61
-3
lines changed

3 files changed

+61
-3
lines changed

README.md

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ You can find the sample configuration YAML and image in the [`docs/home-assistan
2323
## Components
2424

2525
- m5stack Canbus Kit
26-
- 5V power supply adapter
26+
- 5V power supply
27+
- standdard usb power adapter
28+
- [step-down converter](https://www.aliexpress.com/item/1005002797242220.html) \
29+
[usb-c connector](https://www.aliexpress.com/item/1005005068786615.html) (2pin type-c male)
2730
- Any ethernet cable (RJ45 connector)
28-
- A micro USB cable to connect the m5stack Atom Lite to your computer
31+
- A USB-C cable to connect the m5stack Atom Lite to your computer
2932

3033
### Prepare Atom Lite
3134

@@ -61,11 +64,66 @@ This uses esphome to prepare the atom lite for home assistant
6164

6265
6. Use the [zehnder-comfoair-can.yaml](zehnder-comfoair-can.yaml) as template to edit your newly created yaml file
6366

64-
To be continued...
67+
### Hardware
68+
69+
1. Strip one side of the ethernet cable
70+
2. Connect the orange, white-orange, white-green wires to the `m5stack can` connector (see diagram + pictures below).
71+
3. Connect the blue and white-green to the step-down converter
72+
4. Connect the usb-c connector to the m5stack atom controller
73+
5. Connect the other side of the cable to the RJ45 port of the ventilation unit (located at the top, behind the sliding cover).
74+
75+
76+
### Connection diagram
77+
78+
```
79+
80+
|----------------+
81+
| |
82+
| [ComfoAir] |
83+
| | m5stack can
84+
| | +++++++++++++++++++++ +-----------------+
85+
| RJ45 o------| (orange) CAN-H o------------o CAN-H |
86+
|----------------+ | (w/orange) CAN-L o------------o CAN-L usb-c O-----+
87+
| (w/green) GND o-------+----o GND | |
88+
| (blue) +12V o---+ | +-----------------+ |
89+
+++++++++++++++++++++ | | |
90+
| | +-----------+ |
91+
| +----o o----+ |
92+
| | Mini560 | +------+
93+
+--------o o----+
94+
+-----------+
95+
```
96+
97+
Here some pictures of the current setup connected to the Zehnder ComfoAir Q
98+
99+
![m5stack with step-down converter][m5stack_mini560]
100+
![m5stack test installation][m5stack_installed]
101+
102+
103+
## Credits
104+
105+
Based on https://github.com/yoziru/esphome-zehnder-comfoair which uses an [Olimex ESP32-EVB](https://github.com/OLIMEX/ESP32-EVB) with CAN interface.
106+
107+
Inspired by
108+
109+
- https://github.com/vekexasia/comfoair-esp32
110+
- https://github.com/michaelarnauts/aiocomfoconnect
111+
- https://github.com/felixstorm/esphome-custom-components
112+
- [https://github.com/mat3u/comfoair-esp32](https://github.com/mat3u/comfoair-esp32/tree/hacomfoairmqtt-compatibility)
113+
- [https://github.com/hcouplet/comfoair-esp32](https://github.com/hcouplet/comfoair-esp32/tree/hacomfoairmqtt-compatibility)
114+
115+
A lot of this repo was inspired by the reverse engineering [here](https://github.com/marco-hoyer/zcan/issues/1).
116+
117+
- [ComfoControl Protocol](https://github.com/michaelarnauts/aiocomfoconnect/blob/master/docs/PROTOCOL.md)
118+
- [RMI PROTOCOL](https://github.com/michaelarnauts/aiocomfoconnect/blob/master/docs/PROTOCOL-RMI.md)
119+
- [PDO PROTOCOL](https://github.com/michaelarnauts/aiocomfoconnect/blob/master/docs/PROTOCOL-PDO.md)
120+
65121

66122
[ha_dashboard_top]: ./docs/ha_dashboard_top.png
67123
[ha_dashboard_bottom]: ./docs/ha_dashboard_bottom.png
68124
[m5stack_can]: ./docs/m5stack.png
125+
[m5stack_mini560]: ./docs/m5stack_mini560.png
126+
[m5stack_installed]: ./docs/m5stack_installed.png
69127
[esphome_adopt]: ./docs/esphome_adopt.png
70128
[esphome_rename]: ./docs/esphome_rename.png
71129
[esphome_ready]: ./docs/esphome_ready.png

docs/m5stack_installed.png

465 KB
Loading

docs/m5stack_mini560.png

475 KB
Loading

0 commit comments

Comments
 (0)