You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-2Lines changed: 50 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,57 @@ Readout the Resol VBus interface of an Oranier Aquacontrol III (= rebranded Reso
6
6
7
7
Transfer of data via ethernet to Domoticz home automation software.
8
8
9
+
## What does it do?
10
+
This sketch reads the VBus data and depending on the format of the controller decodes the data and puts in in variables.
11
+
You can then send the values via HTTP GET requests to Domoticz (Or do whatever you want with it).
12
+
13
+
## Controller support
14
+
Currently supports the following controllers:
15
+
* Resol DeltaTherm FK (0x5611)
16
+
* Oranier Aquacontrol III (0x5611)
17
+
* Conergy DT5 (0x3271)
18
+
If it does not find any of the supported controllers, it will try to decode the first 2 frames which usually contain Temp 1 to 4.
19
+
9
20
## Hardware:
10
-
* VBus interface circuit
21
+
* VBus RX interface circuit
11
22
* Arduino Mega + Wiznet Ethernet Shield
12
23
* Raspberry Pi with Domoticz
13
24
14
-
*Code will follow if properly tested on the Arduino*
25
+
VBus is NOT RS485. So you need a specific converter circuit to make the VBus data readable for the Arduino UART.
26
+
See f.i. [Here](https://piamble.wordpress.com/tag/vbus/).
27
+
28
+
This sketch uses the Arduino Mega and the Wiznet 5100 ethernet shield.
29
+
You can also use another Arduino like the Uno but that one only has one hardware serial port.
30
+
31
+
Serial1 is used for the VBus module.
32
+
Serial is used to debug the output to PC.
33
+
Vbus serial works with 9600 Baudrate and 8N1.
34
+
35
+
Arduino Mega:
36
+
* Serial on pins 0 (RX) and 1 (TX),
37
+
* Serial1 on pins 19 (RX) and 18 (TX),
38
+
* Serial2 on pins 17 (RX) and 16 (TX),
39
+
* Serial3 on pins 15 (RX) and 14 (TX).
40
+
41
+
Arduino non-Mega:
42
+
You can use f.i. AltSoftSerial() instead of Serial1. This sketch should work with AltSoftSerial.
43
+
If you do use it, you need to put the VBus input on the correct softserial pin!
44
+
If you do not need the debugging option, use 'normal' Serial.
45
+
46
+
### My controller is not in your list, how can I add it?
47
+
Go to http://danielwippermann.github.io/resol-vbus/vbus-packets.html
48
+
and find your controller. In the list you can see which information the controller sends.
49
+
You need the controller ID and offset, bitsize and names of all the variables.
50
+
Now use the examples for the DT5 and FK in VBusRead() to create a new entry for your own controller.
51
+
This might be not that easy.
52
+
53
+
If you have tested it and it works, please add a Pull request so I can integrate your controller here.
54
+
55
+
### Is this sketch the pinnacle of proper programming?
56
+
Not by any means, but it works.
57
+
58
+
### Should I have made a library instead of a complete sketch?
59
+
Maybe, but this allows for better modification by myself or others. Also depending on the Arduino you need to set another Serial port. This is easier to do in the sketch.
0 commit comments