Support for the Resol VBUS protocol?
Moderators: leecollings, remb0
- 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?
Serial debug output looking good:
Still need a bit of bit-shifting or masking regarding the temp values because sometimes the value is reported as negative, which should not happen.
I also used the floorplan option in Domoticz to show the diagram of my system:
Still need a bit of bit-shifting or masking regarding the temp values because sometimes the value is reported as negative, which should not happen.
I also used the floorplan option in Domoticz to show the diagram of my system:
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
- nayr
- Posts: 354
- Joined: Tuesday 11 November 2014 18:42
- Target OS: Linux
- Domoticz version: github
- Location: Denver, CO - USA
- Contact:
Re: Support for the Resol VBUS protocol?
Check out the MQTT interface before getting into a bunch of http gets, it was designed for these tasks..
I am in the midst of rewriting all my custom apps to interface via MQTT, its much cleaner and makes scripting on the domoticz side friendly when your not creating logic loops.
Its still json, but the workflow is better with two way communication... the http gets are cheap and easy, but better suited for one unidirectional input/output.. your not setting up and tearing down connections repeatedly for starters... it keeps an open connection running between the two continuously, really shines when you have multiple devices your updating at the same time.
Wish I would have found it before I wrote all these json get interfaces, just some advice.
I am in the midst of rewriting all my custom apps to interface via MQTT, its much cleaner and makes scripting on the domoticz side friendly when your not creating logic loops.
Its still json, but the workflow is better with two way communication... the http gets are cheap and easy, but better suited for one unidirectional input/output.. your not setting up and tearing down connections repeatedly for starters... it keeps an open connection running between the two continuously, really shines when you have multiple devices your updating at the same time.
Wish I would have found it before I wrote all these json get interfaces, just some advice.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
- 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?
Ok thanks for the tip. Will have a look at it.nayr wrote:Check out the MQTT interface before getting into a bunch of http gets, it was designed for these tasks..
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
- 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?
I solved the issues I had with incorrect temperature values.
Everything looks fine now.
There were also a number of gaps in the reporting, they appear to be solved too.
The code needs a bit of cleanup, additional commenting and removal of my IP's and IDX'es before I can publish it.
This is my temporary setup:
Everything looks fine now.
There were also a number of gaps in the reporting, they appear to be solved too.
The code needs a bit of cleanup, additional commenting and removal of my IP's and IDX'es before I can publish it.
This is my temporary setup:
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
- 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?
Code has been published here: https://github.com/bbqkees/vbus-arduino-domoticz
If someone has some improvements let me know.
Also made a Wiki page: http://www.domoticz.com/wiki/VBusDecoder
If someone has some improvements let me know.
Also made a Wiki page: http://www.domoticz.com/wiki/VBusDecoder
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 1
- Joined: Wednesday 03 February 2016 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Joure
- Contact:
Re: Support for the Resol VBUS protocol?
I am in possession of a solar water heater with Resol BX controller with VBus output. Try the VBus read with UART and Arduino Mega and the program of bbqkees. What should I omit in this program to read out only S1, S2, S3, S4, P1 and P2 via serial Pc? 0x7421 is the code for my Resol BX. Who can help me?
- 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?
If you only want to interface it with a pc you would only need to load a serial copy sketch in the arduino (See the examples in the Arduino IDE).
You can then use the Arduino als serial input for the default Resol software.
The Resol software will decode the datagrams.
If you want the data in Domoticz via serial, you would need to add a (Python) script on the Pi combined with vbusdecode.cpp to decode the data and send it to Domoticz. You can remove the Arduino and connect the UART circuit directly to the Pi.
By the way, the sketch and setup I made is running for a few months now without a single hickup.
You can then use the Arduino als serial input for the default Resol software.
The Resol software will decode the datagrams.
If you want the data in Domoticz via serial, you would need to add a (Python) script on the Pi combined with vbusdecode.cpp to decode the data and send it to Domoticz. You can remove the Arduino and connect the UART circuit directly to the Pi.
By the way, the sketch and setup I made is running for a few months now without a single hickup.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 43
- Joined: Tuesday 03 May 2016 10:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5108
- Location: Barendrecht
- Contact:
Re: Support for the Resol VBUS protocol?
Great work, bbqkees.
I went the easy way and bought a DL2. In the topic below I wrote down how I read the values to my Domoticz setup:
viewtopic.php?f=34&t=11818&p=84886#p84886
I went the easy way and bought a DL2. In the topic below I wrote down how I read the values to my Domoticz setup:
viewtopic.php?f=34&t=11818&p=84886#p84886
Hardware: Raspberry Pi 2B | RFXCOM RFXtrx433E v1 | Synology DS213+ | KaKu Clones | Conrad RSL switches | KAKu Doorbell Clone | USB Webcam | ICY Thermostat | Resol DL2 | Imatic Relay Board | Eminent 6230 | Eminent 6220 | iMatic 16 ports Relay Board
- 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?
Indeed an easier method, I will update the wiki page to include youe method too.MarceldeJongNL wrote:Great work, bbqkees.
I went the easy way and bought a DL2.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 26
- Joined: Saturday 18 June 2016 21:05
- Target OS: Linux
- Domoticz version: Latest
- Location: The Netherlands
- Contact:
Re: Support for the Resol VBUS protocol?
Yes!! Just got my system installed yesterday. It comes with a Deltasol CS plus controller from Resol. Already monitoring my pv system using raspberry PI and looking at logging the boiler and collector data as well.
I am not good at building circuit boards. Anyone willing to sell me a complete stacked board for reading vbus data that I can connect to a raspberry PI serial port?
Thanks!
Met vriendelijke groet
Bjorn
I am not good at building circuit boards. Anyone willing to sell me a complete stacked board for reading vbus data that I can connect to a raspberry PI serial port?
Thanks!
Met vriendelijke groet
Bjorn
-
- Posts: 12
- Joined: Wednesday 30 September 2015 20:30
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Belgium
- Contact:
Re: Support for the Resol VBUS protocol?
I think Kees planned to make a few originally. I still hope he does.
Re: Support for the Resol VBUS protocol?
hi,
I'm French , ....
I need help for connect my Domoticz Pi 2 of my Resol / Viessmann solar with a RS485/usb adapteur.
Cann You help me ?
Thank a lot
I'm French , ....
I need help for connect my Domoticz Pi 2 of my Resol / Viessmann solar with a RS485/usb adapteur.
Cann You help me ?
Thank a lot
- 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?
It is still in my planning, but no real date yet.Sandman79 wrote:I think Kees planned to make a few originally. I still hope he does.
I am working on a board that works for all my uses but if equipped with just the VBUS circuit it will plug into both the Pi and the Arduino Mega/Uno.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Re: Support for the Resol VBUS protocol?
Hi @all. Yesterday I got a resol controller, the DeltaSol BX PLUS. I found these posts about VBUS and arduino. Can anyone show me a detail documentation/circuit diagram to connect the vbus to an arduino. I saw the image from bbqkees, but a couldnt see the components.
@bbqkees, is it possible to contact me or show the circuit or parts?
Iam not so firm with hardware, maybe there is a simple solution?
Thanks
@bbqkees, is it possible to contact me or show the circuit or parts?
Iam not so firm with hardware, maybe there is a simple solution?
Thanks
- 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?
Please check my Github page: https://github.com/bbqkees/vbus-arduino-domoticz for all the details.drego wrote:Hi @all. Yesterday I got a resol controller, the DeltaSol BX PLUS. I found these posts about VBUS and arduino. Can anyone show me a detail documentation/circuit diagram to connect the vbus to an arduino. I saw the image from bbqkees, but a couldnt see the components.
@bbqkees, is it possible to contact me or show the circuit or parts?
Iam not so firm with hardware, maybe there is a simple solution?
Thanks
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 1
- Joined: Sunday 23 July 2017 1:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Support for the Resol VBUS protocol?
Hi, I have one DeltaSol SL, and want to use with an esp8266 (some as arduino but with wifi).
Do you have any "extra" board, that want to sell?
Thanks a lot and congratulations by your excelent work.
Do you have any "extra" board, that want to sell?
Thanks a lot and congratulations by your excelent work.
- 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?
I still have not made them yet, no time.delphi wrote:
Do you have any "extra" board, that want to sell?
If you would order the components from Aliexpress/Ebay etc and buy a small breadboard it is not that hard to put it together.
The schematic is quite simple:
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Re: Support for the Resol VBUS protocol?
Hi bbqkees,
I've been using your resol vbus code to get my barebones arduino to interface with my deltasol. I've contributed some of the code to your github site. However, I have re-jigged your code locally to work as a library so that ultimately i can integrate with mysensors too. So my question is can i contribute this library to your github page, or if you wish to maintain your code as a standalone domoticz program can I get permission to create my own github project with my adaptation of your code.
While I've taken some stuff out such as http requests, networking etc. I think you could easily rewrite your code to use the library to get the best of both worlds. ie. you host the library and the ino program using the library which does all that your code does now.
Forgive me if i'm being rude but i'm not able to contact you on git hub.
Also, thanks for writing the code in the first place.
I've been using your resol vbus code to get my barebones arduino to interface with my deltasol. I've contributed some of the code to your github site. However, I have re-jigged your code locally to work as a library so that ultimately i can integrate with mysensors too. So my question is can i contribute this library to your github page, or if you wish to maintain your code as a standalone domoticz program can I get permission to create my own github project with my adaptation of your code.
While I've taken some stuff out such as http requests, networking etc. I think you could easily rewrite your code to use the library to get the best of both worlds. ie. you host the library and the ino program using the library which does all that your code does now.
Forgive me if i'm being rude but i'm not able to contact you on git hub.
Also, thanks for writing the code in the first place.
Re: Support for the Resol VBUS protocol?
Hello fatbeard.
Exactly github is for this that you are talking about.
One guy have an idea and orher people contribute for improve the performance, caracteristics or whatever.
If you have only a comment then open an issue but in case of your contribution is big or absolutely different, then usually the people write his own github page.
The best option is ever tell everybody where has you forked the idea.
In this case, mentioning our friend bbqkees.
Usually other people take an old idea and improve it to share with the world.
F
enviado desde mi Sinclair Spectrum 16k
Exactly github is for this that you are talking about.
One guy have an idea and orher people contribute for improve the performance, caracteristics or whatever.
If you have only a comment then open an issue but in case of your contribution is big or absolutely different, then usually the people write his own github page.
The best option is ever tell everybody where has you forked the idea.
In this case, mentioning our friend bbqkees.
Usually other people take an old idea and improve it to share with the world.
F
enviado desde mi Sinclair Spectrum 16k
Re: Support for the Resol VBUS protocol?
I have the components for do this but i havent the time for do it.
enviado desde mi Sinclair Spectrum 16k
enviado desde mi Sinclair Spectrum 16k
Who is online
Users browsing this forum: No registered users and 0 guests