Page 3 of 6

Re: OTGW and Orange Pi Zero one device.

Posted: Wed May 02, 2018 8:17 am
by cyril
Links to OS images with OTmonitor in first post of this topic.

Re: OTGW and Orange Pi Zero one device.

Posted: Wed May 02, 2018 9:24 pm
by texnic
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).

Re: OTGW and Orange Pi Zero one device.

Posted: Wed May 02, 2018 10:47 pm
by bruce_miranda
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?

Re: OTGW and Orange Pi Zero one device.

Posted: Thu May 03, 2018 8:38 pm
by bruce_miranda
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.

Posted: Thu May 03, 2018 8:50 pm
by cyril
Tnank you!

Re: OTGW and Orange Pi Zero one device.

Posted: Sun May 13, 2018 1:05 pm
by texnic
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.

Re: OTGW and Orange Pi Zero one device.

Posted: Sun May 13, 2018 1:07 pm
by bruce_miranda
Yes, I did spot that in the thread earlier.

Re: OTGW and Orange Pi Zero one device.

Posted: Tue Jun 19, 2018 5:33 pm
by koetsier
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

Re: OTGW and Orange Pi Zero one device.

Posted: Wed Jun 20, 2018 7:37 am
by bruce_miranda
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.

Posted: Wed Jun 20, 2018 9:04 am
by cyril
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

Re: OTGW and Orange Pi Zero one device.

Posted: Thu Jun 21, 2018 9:13 pm
by hvxl
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.

Re: OTGW and Orange Pi Zero one device.

Posted: Wed Aug 29, 2018 6:48 pm
by paulockenden
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.

Re: OTGW and Orange Pi Zero one device.

Posted: Wed Aug 29, 2018 8:47 pm
by marcelr
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.

Re: OTGW and Orange Pi Zero one device.

Posted: Wed Aug 29, 2018 9:41 pm
by paulockenden
AH - thanks makes sense. Thanks for satisfying my idle curiosity!

Re: OTGW and Orange Pi Zero one device.

Posted: Mon Sep 10, 2018 4:53 pm
by anoppe
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?