VBus adapters (USB and Ethernet) on Mac/Linux

2,373 views
Skip to first unread message

Oscar Sarabando

unread,
Jan 5, 2011, 6:50:19 AM1/5/11
to resol...@googlegroups.com
Hi!

I need to have access to my Resol controller, and I'm thinking of
getting one of the VBus adapters from Resol (either USB or Ethernet).

Has anyone managed to find out if the USB adapter works on the Mac?
I'm guessing the internal USB/Serial convertion is done using a common
chip (like the FTDI or Prolific ones), and a generic driver would work
well for "virtual" serial port access on the Mac and Linux. Is it so?

On the Ethernet (LAN) module there is no connection/driver issues, I'm
sure. But how is the protocol managed? From what I read, I think the
controller sends it's data automatically every X seconds over VBus,
but on the TCP/IP side of things there is no single peer to listen...
is the data sent by broadcast? Is the protocol (data format) the same?
Does it have a built-in web page I can access and scavenge data from?

I'm developing a Home Automation system, and I need to log the 4
temperatures (tank upper, tank lower, solar panels, and wood-based
solid fuel boiler), and when the pumps are working (solar and solid
fuel boiler circuits).

Thanks for your help!
--
Óscar Sarabando

Patrick

unread,
Jan 5, 2011, 7:15:54 AM1/5/11
to resol...@googlegroups.com
Hi

Look at here:

http://hobbyelektronik.org/w/index.php/VBus-Decoder

After you send the init pass on the TCP-Stack, the controller send
cont. all the data
The IP-Port is: 7053

You must send the following after you receive "+HELLO":

PASS vbus (if you leave the orig pass)

Receive: +OK: Password accepted'

Then send:

DATA,$0A,$0D (CR/LF)

the Data comes....


pat

2011/1/5 Oscar Sarabando <oscar.s...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "Resol Vbus" group.
> To post to this group, send email to resol...@googlegroups.com.
> To unsubscribe from this group, send email to
> resol-vbus+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/resol-vbus?hl=en.
>
>

Flink

unread,
Jan 6, 2011, 8:40:52 AM1/6/11
to Resol Vbus
Hi again!

Thanks for your answer. I don't yet have any of the interface
adapters, I'm just trying to choose one based on wether it works on
Mac, Linux and Windows, and on it's price.

Are you talking about the VBus/LAN interface adapter? Is the DATA,$0A,
$0D (CR/LF) command documented somewhere? Is the incomming data like
the VBus protocol (byte-for-byte) or does the adapter influence
something?

From what you tell me, the LAN adapter seems easy to work with on any
operating system. Do you remember the price you payed for it
(approximate)?

Thanks!
--
Óscar Sarabando

Flink

unread,
Jan 6, 2011, 8:41:25 AM1/6/11
to Resol Vbus
Hi again!

Thanks for your answer. I don't yet have any of the interface
adapters, I'm just trying to choose one based on wether it works on
Mac, Linux and Windows, and on it's price.

Are you talking about the VBus/LAN interface adapter? Is the DATA,$0A,
$0D (CR/LF) command documented somewhere? Is the incomming data like
the VBus protocol (byte-for-byte) or does the adapter influence
something?

From what you tell me, the LAN adapter seems easy to work with on any
operating system. Do you remember the price you payed for it
(approximate)?

Thanks!
--
Óscar Sarabando


On Jan 5, 12:15 pm, Patrick <val...@gmx.net> wrote:
> Hi
>
> Look at here:
>
> http://hobbyelektronik.org/w/index.php/VBus-Decoder
>
> After you send the init pass on the TCP-Stack, the controller send
> cont. all the data
> The IP-Port is: 7053
>
> You must send the following after you receive "+HELLO":
>
> PASS vbus (if you leave the orig pass)
>
> Receive: +OK: Password accepted'
>
> Then send:
>
> DATA,$0A,$0D (CR/LF)
>
> the Data comes....
>
> pat
>
> 2011/1/5 Oscar Sarabando <oscar.saraba...@gmail.com>:

Patrick

unread,
Jan 6, 2011, 9:26:24 AM1/6/11
to resol...@googlegroups.com
Hi

> Thanks for your answer. I don't yet have any of the interface
> adapters, I'm just trying to choose one based on wether it works on
> Mac, Linux and Windows, and on it's price.

The Adapter works with IP, so you can manage it with MAC, Linux aso


>
> Are you talking about the VBus/LAN interface adapter?

Yes

>Is the DATA,$0A,
> $0D (CR/LF) command documented somewhere?

i found all needed infos in the net.

>Is the incomming data like
> the VBus protocol (byte-for-byte) or does the adapter influence
> something?

You can download the docu's on the website of resol.de
also a windows based soft, which you can see the raw data

>
> From what you tell me, the LAN adapter seems easy to work with on any
> operating system. Do you remember the price you payed for it
> (approximate)?

it's a time ago..., but i think it's about Euro150.-

pat

>
>
> On Jan 5, 12:15 pm, Patrick <val...@gmx.net> wrote:
>> Hi
>>
>> Look at here:
>>
>> http://hobbyelektronik.org/w/index.php/VBus-Decoder
>>
>> After you send the init pass on the TCP-Stack, the controller send
>> cont. all the data
>> The IP-Port is: 7053
>>
>> You must send the following after you receive "+HELLO":
>>
>> PASS vbus (if you leave the orig pass)
>>
>> Receive: +OK: Password accepted'
>>
>> Then send:
>>
>> DATA,$0A,$0D (CR/LF)
>>
>> the Data comes....
>>
>> pat
>>
>

Flink

unread,
Jan 14, 2011, 8:35:40 AM1/14/11
to Resol Vbus
Hi! Thanks for the reply!

I'll get my hands on a LAN adapter very soon. Can you point me to
somewhere on the Net where I can find the LAN adapter's documentation
(or instructions on how to "speak" to it)? I can't find anything. I
think RESOL should give away that information... it would be in their
best interest, I think, so that people like me can integrate their
systems in bigger installations.

Thanks again!
--
Óscar Sarabando

Daniel Wippermann

unread,
Jan 14, 2011, 6:38:33 PM1/14/11
to resol...@googlegroups.com
Hi Oscar,

what additional information besides the ones from this group do you need?


I've summarized the information outlined by others on several thread in a single Google Doc:

https://docs.google.com/document/d/1fIDqsWv2X7EfezLiP9f2P3vRdpmgbiK6kzcUUrMGoEU/edit?hl=en&authkey=CODQ-vMD

If you still have any open questions feel free to ask :)

Best regards,
Daniel

Daniel Wippermann

unread,
Jan 14, 2011, 6:41:15 PM1/14/11
to resol...@googlegroups.com
Sorry, the thread link did not make it in the last message, here it comes :)

http://groups.google.com/group/resol-vbus/browse_thread/thread/ae83b6f58cd0d6fb

Daniel


Am 14.01.2011 um 14:35 schrieb Flink:

Flink

unread,
Jan 17, 2011, 7:02:41 AM1/17/11
to Resol Vbus
Thanks!

I'm waiting for my LAN adapter, and I'll post my experiences here
soon.

Thanks again, you guys rule! :)
--
Óscar Sarabando


On Jan 14, 11:41 pm, Daniel Wippermann
<daniel.wipperm...@googlemail.com> wrote:
> Sorry, the thread link did not make it in the last message, here it comes :)
>
> http://groups.google.com/group/resol-vbus/browse_thread/thread/ae83b6...

Flink

unread,
Mar 14, 2011, 12:44:24 PM3/14/11
to Resol Vbus
Hi people!

I finally got my very own VBus/LAN adapter! Although it costs a bit,
it's a very nice package.

I've already got it working with my home automation system; I wrote
some Java code to interface with the little green box, running on a
Apple Mac server. I don't particularly like the draconian method of
communication, but hey, it works. It just puts a lot of unnecessary
strain on the receiving system (I don't need readings every second).

I guess I should try it out with the Resol Service Center, maybe there
is an option to change the cadency... does anyone know if it's
possible?

Thanks for your support! :)
--
Óscar Sarabando

marcelr

unread,
Jun 5, 2011, 1:14:41 PM6/5/11
to resol...@googlegroups.com
Dear Daniel,

Would it be possible to make the full set of commands for the VBus/LAN adapter available to the Resol-VBus community?
I have tried to access my VBus-LAN interface through Servicecenter on a linux box (Wine, and later with replacement of some windows-specific java classes with linux varieties. Both attempts were quite unsuccessful). The only thing I need is some remote interface to check and set some control temperatures when I'm away from home for a longer period of time. A telnet client will do nicely.

TIA,

marcelr

Daniel Wippermann

unread,
Jun 8, 2011, 10:09:20 AM6/8/11
to resol...@googlegroups.com
Hi Marcel,

Well, the "full command set" is basically the two commands described in this post:

http://groups.google.com/group/resol-vbus/browse_thread/thread/ae83b6f58cd0d6fb/d2c21ca8d95f881d#d2c21ca8d95f881d

and

QUIT

which terminates the connection (useful for testing with telnet).

After sending the "DATA" command your connection will transition into a mode where you have transparent access to the VBus "behind" your device. That means that the standard VBus protocol applies (sync bytes, checksums, header, frames etc.). You have no means to return to command mode other than to start a new connection.

Does that documentation fit your need? If not, let me know.

Regards,
Daniel



--
You received this message because you are subscribed to the Google Groups "Resol Vbus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/resol-vbus/-/RlpsZHJXN2dsa0FK.

marcelr

unread,
Jun 8, 2011, 12:50:36 PM6/8/11
to resol...@googlegroups.com
Hi Daniel,

Thank you, for the information.The set of commands is as compact as you can get, I guess.
If I understand you correctly, after sending the DATA command, my telnet session transforms into a terminal on the VBus, so does that mean that after sending the DATA command I can set variables of my controller, as long as I stick to the VBus protocol? In other words, it's not just a listener, but can also be a talker?

TIA,

Marcel

Daniel Wippermann

unread,
Jun 8, 2011, 1:11:36 PM6/8/11
to resol...@googlegroups.com
That's correct, after issuing the DATA command you have the possibility to change parameters in the controller, as long as you confirm to the VBus protocol specification. In special that would mean to:

- wait for a VBus version 2 datagram with command 0x0500 sent by the controller
- react on that datagram with a sequence of read and / or write commands and wait for acknowledgement
- "give back" the VBus control to the controller with command 0x0600

Regards,
Daniel


--
You received this message because you are subscribed to the Google Groups "Resol Vbus" group.
To view this discussion on the web visit https://groups.google.com/d/msg/resol-vbus/-/MWRKRGo2dHhjRzhK.

marcelr

unread,
Jun 8, 2011, 3:38:18 PM6/8/11
to resol...@googlegroups.com
Thanks again,

Will have a go at it over the weekend.

grtz,

Marcel

Tom Haab

unread,
Jun 6, 2013, 5:45:41 AM6/6/13
to resol...@googlegroups.com
Hi Oscar

It's been a while since you posted your message. Were you successful in writing a java program that runs on a Mac? If yes I would appreciate if you could share the code with me.

Thank you in advance

Tom
Reply all
Reply to author
Forward
0 new messages