OTGW and Orange Pi Zero one device.

This Forum is about the Opentherm gateway (OTG) from Schelte

Moderator: hvxl

Re: OTGW and Orange Pi Zero one device.

Postby cyril » Wed May 02, 2018 7:17 am

Links to OS images with OTmonitor in first post of this topic.
cyril
Starting Member
Starting Member
 
Posts: 31
Joined: May 2017

Re: OTGW and Orange Pi Zero one device.

Postby texnic » Wed May 02, 2018 8:24 pm

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?


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.

Tried with Armbian image from Cyril (links in the first post of this thread).
texnic
Starting Member
Starting Member
 
Posts: 15
Joined: April 2016

Re: OTGW and Orange Pi Zero one device.

Postby bruce_miranda » Wed May 02, 2018 9:47 pm

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?
bruce_miranda
Starting Member
Starting Member
 
Posts: 31
Joined: April 2014

Re: OTGW and Orange Pi Zero one device.

Postby bruce_miranda » Thu May 03, 2018 7:38 pm

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!
bruce_miranda
Starting Member
Starting Member
 
Posts: 31
Joined: April 2014

Re: OTGW and Orange Pi Zero one device.

Postby cyril » Thu May 03, 2018 7:50 pm

Tnank you!
cyril
Starting Member
Starting Member
 
Posts: 31
Joined: May 2017

Re: OTGW and Orange Pi Zero one device.

Postby texnic » Sun May 13, 2018 12:05 pm

bruce_miranda wrote:What about SSH access into the armbian. What's the root user and password?


It is root/orangepi, as also briefly mentioned by Cyril at the top of this thread :)

SSH works just fine. I've set up SSH keys and disabled password login, as usual.
texnic
Starting Member
Starting Member
 
Posts: 15
Joined: April 2016

Re: OTGW and Orange Pi Zero one device.

Postby bruce_miranda » Sun May 13, 2018 12:07 pm

Yes, I did spot that in the thread earlier.
bruce_miranda
Starting Member
Starting Member
 
Posts: 31
Joined: April 2014

Re: OTGW and Orange Pi Zero one device.

Postby koetsier » Tue Jun 19, 2018 4:33 pm

Thank you Cyrill,
It took a little while (20 days to be exact), but finally your DIY board arrived an it looks very neat. :D
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
koetsier
Starting Member
Starting Member
 
Posts: 1
Joined: May 2018

Re: OTGW and Orange Pi Zero one device.

Postby bruce_miranda » Wed Jun 20, 2018 6:37 am

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.
bruce_miranda
Starting Member
Starting Member
 
Posts: 31
Joined: April 2014

Re: OTGW and Orange Pi Zero one device.

Postby cyril » Wed Jun 20, 2018 8:04 am

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
cyril
Starting Member
Starting Member
 
Posts: 31
Joined: May 2017

Re: OTGW and Orange Pi Zero one device.

Postby hvxl » Thu Jun 21, 2018 8:13 pm

cyril wrote:and create symlink:

sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3

That should no longer be necessary.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1112
Joined: June 2010

Re: OTGW and Orange Pi Zero one device.

Postby paulockenden » Wed Aug 29, 2018 5:48 pm

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.
paulockenden
Starting Member
Starting Member
 
Posts: 10
Joined: April 2018

Re: OTGW and Orange Pi Zero one device.

Postby marcelr » Wed Aug 29, 2018 7:47 pm

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.
marcelr
Advanced Member
Advanced Member
 
Posts: 938
Joined: May 2012
Location: Ehv

Re: OTGW and Orange Pi Zero one device.

Postby paulockenden » Wed Aug 29, 2018 8:41 pm

AH - thanks makes sense. Thanks for satisfying my idle curiosity!
paulockenden
Starting Member
Starting Member
 
Posts: 10
Joined: April 2018

Re: OTGW and Orange Pi Zero one device.

Postby anoppe » Mon Sep 10, 2018 3:53 pm

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?
anoppe
Starting Member
Starting Member
 
Posts: 8
Joined: September 2018

PreviousNext

Return to Opentherm Gateway Forum

Who is online

Users browsing this forum: No registered users and 1 guest