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.
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 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:
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
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?
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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
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
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?
Sandman79 wrote:I think Kees planned to make a few originally. I still hope he does.
It is still in my planning, but no real date yet.
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/
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?
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?
delphi wrote:
Do you have any "extra" board, that want to sell?
I still have not made them yet, no time.
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/
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.
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.