Page 1 of 2
Connect an Opentherm Gateway to a Raspberry Pi
Posted: Wed Sep 04, 2013 12:35 pm
by MarFan
Hello,
I want to connect an OTgw to an Raspi, are there any HowTo's for :
1. Install the OTgw on a RasPi
2. Install a the OTmonitor on the RasPi ? (I believe you can use VNC to see the monitor remote ? Or are there better solutions)
3. How can I read/write data using script's or whatever ?? I want to intergrate it to Domoticz.
Thanks,
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Wed Sep 04, 2013 11:19 pm
by Digit
Before you connect the OTGW to a RPi, remember that the GPIO is not 5V tolerant, it's 3.3V
Maybe it's simpler to use a RS232 > USB thingy to connect it, or Ethernet-enable the OTGW by losing the MAX232 and use a TTL to Ethernet converter, I did that once. Or a TTL to Wifi... whatever suits you best.
Yes, you can use scripts or whatever to process the data on the RPi, with whatever you prefer, as long as it runs on Linux.
The only thing you have to do is create the code...

Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Wed Sep 04, 2013 11:52 pm
by Noel
Maybe it's simpler to use a RS232 > USB thingy to connect it
Use a Sweex USB to Serial Cable adapter (
http://e2b.org/7j )
The Raspberry Pi will see it as /dev/ttyUSB0
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Sep 05, 2013 1:13 am
by MarFan
Digit wrote:Before you connect the OTGW to a RPi, remember that the GPIO is not 5V tolerant, it's 3.3V
Maybe it's simpler to use a RS232 > USB thingy to connect it, or Ethernet-enable the OTGW by losing the MAX232 and use a TTL to Ethernet converter, I did that once. Or a TTL to Wifi... whatever suits you best.
Yes, you can use scripts or whatever to process the data on the RPi, with whatever you prefer, as long as it runs on Linux.
The only thing you have to do is create the code...

Is this also a problem when I order the USB version ??
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Sep 05, 2013 2:30 am
by Digit
Eh, what problem are you referring to?
There is no problem, only solutions and I mention some of them.
So I don't understand the question "also a problem with the USB version". What problem?
But USB = USB, so I think the answer is no if that was the question.
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Sep 05, 2013 8:53 am
by MarFan

clear writting can be so complex
Your solution is to use an RS232 to USB converter. But what when I order the USB version of the OTgw?
Does that version do not have the voltage problems ? IOW, can I directly connect the USB version to the Rpi ?
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Sep 05, 2013 11:48 pm
by Digit
Yep, I see no problem why it wouldn't; as I said, USB=USB.
So the USB version will have USB level voltage on its USB connector.
There's no need to check that, it's too common.
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Fri Sep 06, 2013 8:45 am
by MarFan
Thank you, (talking about difference, meaning the same

)
When connected are there speciale instructions/setup ? Do you now how to install OTmonitor?
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Fri Sep 06, 2013 7:56 pm
by Digit
No, never used OTmonitor.
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Sat Sep 07, 2013 5:51 pm
by algol
Simply download (
http://otgw.tclcode.com/download/otmonitor-ahf) and run in RPi.
Works like a charm.
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Mon Nov 04, 2013 12:33 pm
by MarFan
I hope somebody can help me with the simple download and run...
(I did a download, but double click in GUI did not work and an apt-get install also not)
I'm a newbie on the RasPi so is there a quick install instruction ?
Thanks
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Mon Nov 04, 2013 6:12 pm
by hvxl
There is actually one additional step: You have to make the file executable (In pcmanfm: Right-click on otmonitor-ahf (or whatever you named it), select Properties, go to the Permissions tab, and enable the "Make the file executable" option).
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Nov 07, 2013 2:34 pm
by MarFan
This is working, thank you.
The program is working, but when I want to connect (Interface) None of the 4 Serial ports (/dev/ttyS0 -/dev/ttyS3) is working ?
Do I have to set something else ?
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Nov 07, 2013 3:55 pm
by hvxl
You will have to enter the correct device yourself. What that is depends what you're using to connect to the gateway. If it's a USB-serial device, you will have to use something like /dev/ttyUSB0. For the built-in serial port it's /dev/ttyAMA0.
Re: Connect an Opentherm Gateway to a Raspberry Pi
Posted: Thu Nov 07, 2013 6:33 pm
by MarFan
Thanks, so simple it can be... I thought that i could only choice between the 4...
I now have result in my screen, thanks