OTGW and Orange Pi Zero one device.
Moderator: hvxl
Re: OTGW and Orange Pi Zero one device.
Links to OS images with OTmonitor in first post of this topic.
Re: OTGW and Orange Pi Zero one device.
I've tried one method so far. Let's say your OPi IP is 192.168.1.9. Then, while on the same network, you can simply browse to http://192.168.1.9:8080 and should see the monitor web-pages.bruce_miranda wrote:Once you load the OS image and get the Orange Pi connected to your network, how do you interact with the OT gateway? I'm guessing the OS on the Orange Pi is headless, so where is the OT Monitor loaded? I.e. how do view the data?
Tried with Armbian image from Cyril (links in the first post of this thread).
-
- Starting Member
- Posts: 33
- Joined: Sun Apr 27, 2014 12:30 am
Re: OTGW and Orange Pi Zero one device.
Ah right so it's using the web version of the otmonitor, rather than the client GUI. That's fine. What about SSH access into the armbian. What's the root user and password?
-
- Starting Member
- Posts: 33
- Joined: Sun Apr 27, 2014 12:30 am
Re: OTGW and Orange Pi Zero one device.
Received mine today. It's super neat and clearly a lot of time has gone into thinking about the layout and researching the BOM. Finding and designing a terminal block that would fit through the dual USB hole on the enclosure was just genius. I was going to fire it up today. But I need to find some thinner gauge wire, oh and time!
Re: OTGW and Orange Pi Zero one device.
Tnank you!
Re: OTGW and Orange Pi Zero one device.
It is root/orangepi, as also briefly mentioned by Cyril at the top of this threadbruce_miranda wrote:What about SSH access into the armbian. What's the root user and password?

SSH works just fine. I've set up SSH keys and disabled password login, as usual.
-
- Starting Member
- Posts: 33
- Joined: Sun Apr 27, 2014 12:30 am
Re: OTGW and Orange Pi Zero one device.
Yes, I did spot that in the thread earlier.
Re: OTGW and Orange Pi Zero one device.
Thank you Cyrill,
It took a little while (20 days to be exact), but finally your DIY board arrived an it looks very neat.
As I mentioned in earlier, I've bought an Orange Pi Zero Plus H5 with a 10/100/1000 RJ45 jack. This seemed a smart idea at the time, but now I've found out that the standard black container for an Orange Pi Zero doesn't fit (the USB and the RJ45 jack are 4 mm too wide). I got that sorted by cutting away some plastic. However, I just also found out that your DIY board doesn't fit nicely on the Orange Pi Zero Plus H5 with a 10/100/1000 RJ45 jack, because the RJ45 jack is also 4 mm too long. The lesson here: I'll just buy the Orange Pi Zero you recommended and try again.
Can somebody please give me a heads up how to install de OT Monitor (Linux ARMHF) and the firmware on the Orange Pi Zero?
The rest is up and running (Armbian, Grafana and InfluxDB).
Cheers,
Richard
It took a little while (20 days to be exact), but finally your DIY board arrived an it looks very neat.

As I mentioned in earlier, I've bought an Orange Pi Zero Plus H5 with a 10/100/1000 RJ45 jack. This seemed a smart idea at the time, but now I've found out that the standard black container for an Orange Pi Zero doesn't fit (the USB and the RJ45 jack are 4 mm too wide). I got that sorted by cutting away some plastic. However, I just also found out that your DIY board doesn't fit nicely on the Orange Pi Zero Plus H5 with a 10/100/1000 RJ45 jack, because the RJ45 jack is also 4 mm too long. The lesson here: I'll just buy the Orange Pi Zero you recommended and try again.
Can somebody please give me a heads up how to install de OT Monitor (Linux ARMHF) and the firmware on the Orange Pi Zero?
The rest is up and running (Armbian, Grafana and InfluxDB).
Cheers,
Richard
-
- Starting Member
- Posts: 33
- Joined: Sun Apr 27, 2014 12:30 am
Re: OTGW and Orange Pi Zero one device.
Just use the package that is linked in the first post. It's got the OS and the OT Monitor installed. You then just update the OS.
Re: OTGW and Orange Pi Zero one device.
You can install OTmonitor separately. Download otmonitor from otgw.tclcode.com:
wget http://otgw.tclcode.com/download/otmonitor-ahf
change permissions:
chmod a+x otmonitor
and create symlink:
sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
Create config file:
web {
enable true
port 8080
nopass true
}
connection {
device /dev/ttyUSB1
type serial
enable true
}
To start otmonitor:
./otmonitor-ahf --daemon -f /opt/otmonitor/otmonitor.conf
Also you need to create systemd unit like this:
[Unit]
Description=OpenTherm Monitor
[Service]
PIDFile=/run/otmonitor-ahf.pid
ExecStart=/opt/otmonitor/otmonitor-ahf --daemon -f /opt/otmonitor/otmonitor.conf
Restart=always
[Install]
WantedBy=multi-user.target
give name otmonitor.service and place it to /etc/systemd/system/
Reloading systemd:
systemctl daemon-reload
Add to autostart:
systemctl enable otmonitor.service
Start otmonitor:
systemctl start otmonitor
wget http://otgw.tclcode.com/download/otmonitor-ahf
change permissions:
chmod a+x otmonitor
and create symlink:
sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
Create config file:
web {
enable true
port 8080
nopass true
}
connection {
device /dev/ttyUSB1
type serial
enable true
}
To start otmonitor:
./otmonitor-ahf --daemon -f /opt/otmonitor/otmonitor.conf
Also you need to create systemd unit like this:
[Unit]
Description=OpenTherm Monitor
[Service]
PIDFile=/run/otmonitor-ahf.pid
ExecStart=/opt/otmonitor/otmonitor-ahf --daemon -f /opt/otmonitor/otmonitor.conf
Restart=always
[Install]
WantedBy=multi-user.target
give name otmonitor.service and place it to /etc/systemd/system/
Reloading systemd:
systemctl daemon-reload
Add to autostart:
systemctl enable otmonitor.service
Start otmonitor:
systemctl start otmonitor
Re: OTGW and Orange Pi Zero one device.
That should no longer be necessary.cyril wrote:and create symlink:
sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
Schelte
-
- Starting Member
- Posts: 13
- Joined: Thu Apr 19, 2018 8:43 pm
Re: OTGW and Orange Pi Zero one device.
Given that Opentherm is a two way protocol does it actually matter which side is connected to the boiler and which to the thermostat?
Not that it's a problem doing it correctly, I'm just curious!
P.
Not that it's a problem doing it correctly, I'm just curious!
P.
Re: OTGW and Orange Pi Zero one device.
Yes, that makes a difference. It's a two-way protocol, but not a bus protocol. Talker and listener (master and slave) cannot be exchanged.
-
- Starting Member
- Posts: 13
- Joined: Thu Apr 19, 2018 8:43 pm
Re: OTGW and Orange Pi Zero one device.
AH - thanks makes sense. Thanks for satisfying my idle curiosity!
Re: OTGW and Orange Pi Zero one device.
Hi Cyril,
I've been running an OrangePI with the expansion board for a few months now, and works like a charm! (Except for having to reflash my sd-card twice now)
Last month I installed a Remeha (same brand as Baxi) eTwist and now my OrangePI reports strange temperatures, see this image: https://imgur.com/a/hrFpN9y
The green line is the temperature reported by the OPI, the yellow is a reading form some online weather service.
But, as you can see does my graph contain strange drops in temperature. Could you reason why this could happen icw the eTwist? could this behaviour be caused by unstable power supply or interference or something?
I've been running an OrangePI with the expansion board for a few months now, and works like a charm! (Except for having to reflash my sd-card twice now)
Last month I installed a Remeha (same brand as Baxi) eTwist and now my OrangePI reports strange temperatures, see this image: https://imgur.com/a/hrFpN9y
The green line is the temperature reported by the OPI, the yellow is a reading form some online weather service.
But, as you can see does my graph contain strange drops in temperature. Could you reason why this could happen icw the eTwist? could this behaviour be caused by unstable power supply or interference or something?