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.

Moderators: leecollings, remb0

Sandman79
Posts: 12
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 »

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: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
marcelr
Posts: 42
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 »

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: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

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: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

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: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

As soon as it works I could also make another converter PCB for you, I have components for a few more.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

Bravo!!!!!!!

Enviado desde mi GT-I9505 mediante Tapatalk
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

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: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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?
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

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

Enviado desde mi GT-I9505 mediante Tapatalk
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

Wonderfull work!

Enviado desde mi GT-I9505 mediante Tapatalk
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

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

Enviado desde mi GT-I9505 mediante Tapatalk
I mean which Resol VBus device are you using?
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

The sks3 version i think

Enviado desde mi GT-I9505 mediante Tapatalk
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

I ve SKSC3 + SKSCH1 + HKM2 + FWM35

Enviado desde mi GT-I9505 mediante Tapatalk
manbade
Posts: 11
Joined: Saturday 19 December 2015 21:01
Target OS: -
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by manbade »

And a DL1 broken

Enviado desde mi GT-I9505 mediante Tapatalk
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Support for the Resol VBUS protocol?

Post by bbqkees »

The SKSC3 (HC) send out data on multiple ID's, but this should work too.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest