Support for the Resol VBUS protocol?

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Sandman79
Posts: 24
Joined: Wednesday 30 September 2015 20:30
Target OS: NAS (Synology & others)
Domoticz version:
Location: Belgium
Contact:

Support for the Resol VBUS protocol?

Post by Sandman79 » Saturday 10 October 2015 7:57

I was wondering if there is any chance there will be support for the Resol VBUS -protocol?
Resol is a German firm that makes lots of heat/ solar controllers for solarboilers.
There a many ways to log your pv panels or smart meter, but not many options to log your solar boiler.

Here is some information about the Vbus protocol:
https://danielwippermann.github.io/resol-vbus/docs.html

https://groups.google.com/forum/#!forum/resol-vbus

I would like to help if possible to make this possible, but I am not a programmer by any means... :(

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Thursday 12 November 2015 12:37

Actually I am in the process of making an Arduino interface for the Resol VBUS devices.
Just waiting for a few more components from China before I can get started.

What this will do initially is read out my Oranier/Resol Deltatherm FK woodstove controller and send JSON URL's to Domoticz via Ethernet.
These JSON URL's are f.i. temperature values of the sensors and the state of the pump, 3-way valve etc.
(And do a lot of other fancy stuff like controlling an I2C display next to the woodstove but this is another story).

The VBUS protocol is a bit like RS485 but not exactly the same so a few external components are needed to wire the VBUS pins of the controller to the Arduino.

Resol also sells a VBUS ethernet bridge but there is no fun in that for me.
And besides, my solution will cost around 15~20 Euro's.

If it works I will post an update about this, but do not pin me on an exact date as it is just a hobby project.
With a few parameter adjustments for your specific controller and Domoticz device ID's this could also work for you.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

marcelr
Posts: 59
Joined: Friday 22 May 2015 21:10
Target OS: Linux
Domoticz version: svn 2470
Location: Ehv, NL
Contact:

Re: Support for the Resol VBUS protocol?

Post by marcelr » Thursday 12 November 2015 13:00

I have a resol DL2 hooked up to my solar boiler plant. The DL2 logs data, and whenever I open my (homebrew) website for that plant, it downloads and processes the data. DL2 data storage is decoded VBus, IIRC. Data packet formats vary slightly per controller, so you cannot really port everything form one controller to the next, without some extra work.

grtz,

marcelr

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Thursday 12 November 2015 14:30

marcelr wrote: Data packet formats vary slightly per controller, so you cannot really port everything form one controller to the next, without some extra work.
Indeed. But there is quite an extensive list available of controllers and their packet format.
So it should not be that hard to port once there is a working version for one type of controller.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Tuesday 08 December 2015 23:24

This week I made a first attempt at reading out the data.

I made a small circuit and a tiny Arduino sketch to read the VBUS data and output it 'as-is' on the serial port of the Arduino.

Image

With the Resol service center software I could connect to the serial port of the Arduino and the data actually makes sense.

Image

This means with the help of the circuit the VBUS data is received correctly by the Arduino.
So the hardware side is OK. I need to make a real PCB for the final version but for now it will do.

The next step is decoding the data on the Arduino and send this via JSON URL's to Domoticz.

I looked into several open source VBUS libraries and with a few hours of work one could create a hardware plugin for Domoticz supporting all Resol devices.
Data can be received by Domoticz via the serial port and decoding can also be done by Domoticz internally.

However, I want to do the decoding on the Arduino because I want to include other non-Resol sensors and actuators as well.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Saturday 19 December 2015 22:49

Hello!
I am working in a similar project. Reading rs485 to arduino and serve in html, share with openhab and upload to thinkspeak.
In this moment im wating a china rs485 module and collecting data to interface.
Is a good new know other people working in the same project.
Are you using a pc to retrieve data? Or directly to vbus.
Thanks.


Enviado desde mi GT-I9505 mediante Tapatalk

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Monday 21 December 2015 13:30

manbade wrote:Hello!
I am working in a similar project. Reading rs485 to arduino and serve in html, share with openhab and upload to thinkspeak.
In this moment im wating a china rs485 module and collecting data to interface.
I already tried a Chinese RS485 module but they did not work for me.
So I built my own.

For the first test I hooked up the Arduino as a serial interface to my PC but in the end it will process the data on the Arduino.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Monday 21 December 2015 13:32

bbqkees wrote:
manbade wrote:Hello!
I am working in a similar project. Reading rs485 to arduino and serve in html, share with openhab and upload to thinkspeak.
In this moment im wating a china rs485 module and collecting data to interface.
I already tried a Chinese RS485 module but they did not work for me.
So I built my own.

For the first test I hooked up the Arduino as a serial interface to my PC but in the end it will process the data on the Arduino.
Im following your steps.
Thanks

Enviado desde mi GT-I9505 mediante Tapatalk

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Monday 21 December 2015 16:42

As soon as it works I could also make another converter PCB for you, I have components for a few more.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Friday 15 January 2016 10:17

Small update here: I finally got it working.

I can now read the VBus datagrams of my controller, decode them and send the values to Domoticz via HTTP GET requests.
All the 'magic' happens on an Arduino with an ethernet shield.

I will create a Wiki article soon.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 10:19

Bravo!!!!!!!

Enviado desde mi GT-I9505 mediante Tapatalk

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 10:21

If u send the electronic schema I could build the rs485 driver asap. Or has you connect directly the arduino pins to rs485?

Enviado desde mi GT-I9505 mediante Tapatalk

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Friday 15 January 2016 11:11

manbade wrote:If u send the electronic schema I could build the rs485 driver asap. Or has you connect directly the arduino pins to rs485?
It is not RS485.

I have used this circuit:
https://piamble.wordpress.com/2014/06/1 ... ple-touch/
You need to omit the 2 resistors at the end.

Currently it is still in the breadboard-stage but I am planning to create a 5V and 3.3V switchable PCB for it and order some from China.

The circuit connects to the RX pin of the Arduino Mega Serial1 port.
If you do not have a Mega but f.i. an Uno you might need to use AltSoftSerial.

Which controller do you have?
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 11:19

Ive mega, uno,esp8266, stm32......... various

Enviado desde mi GT-I9505 mediante Tapatalk

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 11:20

Wonderfull work!

Enviado desde mi GT-I9505 mediante Tapatalk

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Friday 15 January 2016 11:23

manbade wrote:Ive mega, uno,esp8266, stm32......... various

Enviado desde mi GT-I9505 mediante Tapatalk
I mean which Resol VBus device are you using?
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 11:24

The sks3 version i think

Enviado desde mi GT-I9505 mediante Tapatalk

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 11:27

I ve SKSC3 + SKSCH1 + HKM2 + FWM35

Enviado desde mi GT-I9505 mediante Tapatalk

manbade
Posts: 11
Joined: Saturday 19 December 2015 22:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade » Friday 15 January 2016 11:29

And a DL1 broken

Enviado desde mi GT-I9505 mediante Tapatalk

User avatar
bbqkees
Posts: 415
Joined: Sunday 17 August 2014 21:01
Target OS: Raspberry Pi
Domoticz version: 3.5x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees » Friday 15 January 2016 13:10

The SKSC3 (HC) send out data on multiple ID's, but this should work too.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest