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

spm97
Posts: 7
Joined: Thursday 12 November 2020 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by spm97 »

Looking at Javalin's picture I think I found my opps and plan to re-do it tonight...Thank you Javalin !
Just curious - in your final pic it looks like you have another analog line coming into the same ardunio. What is that from ?

bbqkees : How much do you want for one of the PCBs ?
spm97
Posts: 7
Joined: Thursday 12 November 2020 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by spm97 »

bbqkees : Looking at your original breadboard pic, I can't clearly see the colors. What size is the resistor between pins two and five ? I thought it should be 22k, which should be red-red-orange.
spm97
Posts: 7
Joined: Thursday 12 November 2020 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by spm97 »

Ok - rebuilt mine using Javalin's pic as reference. I had a real stupid mistake on mine which is why it didn't work (Output to analog on pin 1 of the LM339N, not pin 2!)

It's now working...mostly. I'll need to wait for the sun to be out to make sure its getting motor speed, etc. Plus it didn't get the time right. But it did get the temperature of the tank and the panels, so I know the board is talking to the resol controller. Now (I think) it's just a software problem, likely due to the way the fields are mapped.

There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?

Thank you bbqkees and javalin for your help !!!
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 »

spm97 wrote: Wednesday 18 November 2020 9:42 There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?
@SPM97 the 100nF you mean? That's a small smoothing cap recommended by the datasheet of the LM393.

I worked a bit on a prototype for a Wi-Fi Gateway for the VBUS but put it aside to do other stuff. Stil have to look into it again.
Image
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
javalin
Posts: 71
Joined: Tuesday 30 April 2019 16:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Portugal
Contact:

Re: Support for the Resol VBUS protocol?

Post by javalin »

bbqkees wrote: Wednesday 18 November 2020 9:51
spm97 wrote: Wednesday 18 November 2020 9:42 There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?
@SPM97 the 100nF you mean? That's a small smoothing cap recommended by the datasheet of the LM393.

I worked a bit on a prototype for a Wi-Fi Gateway for the VBUS but put it aside to do other stuff. Stil have to look into it again.
Image
Looks very nice!! :D
Go ahead with it! :arrow:
javalin
Posts: 71
Joined: Tuesday 30 April 2019 16:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Portugal
Contact:

Re: Support for the Resol VBUS protocol?

Post by javalin »

spm97 wrote: Wednesday 18 November 2020 9:42 Ok - rebuilt mine using Javalin's pic as reference. I had a real stupid mistake on mine which is why it didn't work (Output to analog on pin 1 of the LM339N, not pin 2!)

It's now working...mostly. I'll need to wait for the sun to be out to make sure its getting motor speed, etc. Plus it didn't get the time right. But it did get the temperature of the tank and the panels, so I know the board is talking to the resol controller. Now (I think) it's just a software problem, likely due to the way the fields are mapped.

There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?

Thank you bbqkees and javalin for your help !!!
I'm happy that you've gotten it. I don't use a capacitor and it has been working fine for a year. I use my own custom version of the bbqkees script that send the data via Wi-Fi. The first thing you have to do is configure the parameters of the arduino script to be able to visualize the temperatures, number of hours of operation relay, time, heatquantity (kwh), etc. What is the model of your controller? I sent an attachment to look my floorplan in domoticz.

PS: The two wires that you see in the last photo are for the PZEM energy meter that I have placed to measure the consumption of the pump and booster heater tank.
Attachments
floorplan.JPG
floorplan.JPG (48.76 KiB) Viewed 1637 times
spm97
Posts: 7
Joined: Thursday 12 November 2020 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by spm97 »

Ok - so mine is running and logging ! It's a deltasol BS, ID's as a 427B, so I had to update the code for all the correct offsets for pump hours and system time.

I'll post some pics next time I have it apart.
spm97
Posts: 7
Joined: Thursday 12 November 2020 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by spm97 »

I finally had a chance to pull mine apart and get some pics. It's not the prettiest, but it works :-)

It's an Arduino Uno, a custom shield I made from a prototyping shield, and then a fairly stock display.
image004.jpg
image004.jpg (156.75 KiB) Viewed 1454 times
The modification to the display is it was using pins 8 and 9 for en and rs. That conflicts with the softserial used by the vbus lib, so I hacked it to use pins 2 and 3.
hacked_display.jpg
hacked_display.jpg (34.73 KiB) Viewed 1454 times
Here is the custom board, zoomed in. The blue light should come on when the pump is running (it doesnt because the connection broke lose; I still need to fix that). You'll notice the RTC. It isnt used, as it also conflicts with softserial.
main_board.jpg
main_board.jpg (98 KiB) Viewed 1454 times


Let me know if you have any comments or feedback.
spm97
Posts: 7
Joined: Thursday 12 November 2020 21:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by spm97 »

And here it is working !
image005.jpg
image005.jpg (59.85 KiB) Viewed 1454 times
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 »

Nice. My board stopped working early this year, still have to look at it again.
I made a PCB design 2 years ago but that is also in a drawer somewhere.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
TheWalrus
Posts: 6
Joined: Monday 11 January 2021 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by TheWalrus »

I am also wanting to build this scheme for my Solar Pump.

But i cant't get my hands on an LM339N. Anyone knows where to order this component ?
User avatar
waltervl
Posts: 5762
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Support for the Resol VBUS protocol?

Post by waltervl »

TheWalrus wrote: Wednesday 30 March 2022 10:31 I am also wanting to build this scheme for my Solar Pump.

But i cant't get my hands on an LM339N. Anyone knows where to order this component ?
https://www.electrabreda.nl/lm-serie/10 ... w-pwr.html
https://www.knutselaar.eu/Store/5-x-lm339n.html
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
TheWalrus
Posts: 6
Joined: Monday 11 January 2021 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by TheWalrus »

Thank you Walter. I just ordered one at the Breda shop.
TheWalrus
Posts: 6
Joined: Monday 11 January 2021 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by TheWalrus »

I have all the components. But then i discovered i need some protcocol codes.

I have Deltasol SL. Anyone knows the VBusprotocol specification for the Deltasol SL ?

Update:

It works. i can read the Boiler temp and the collector temp. So i only using the default code. Thats good enough for me.

Thanks everone for this forum thread.
Ghanoudj
Posts: 1
Joined: Sunday 01 May 2022 2:23
Target OS: Windows
Domoticz version:
Contact:

Re: Support for the Resol VBUS protocol?

Post by Ghanoudj »

Hello,

Is it possible to have arduino code to implement this setup ?

Thanks for the work
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest