Here's how to get OpenTherm Monitor running on a typical Ubuntu system, in my case an Ubuntu 12.10 amd64 machine. It's easy. The available binary is for i386, not amd64, but that won't stop us.
1. Install needed i386 tk binaries: sudo apt-get install tk8.6:i386.
2. Download the i386 otmonitor binary from the author's website at tclcode.com.
3. Move the otmonitor binary file under /usr/local/bin/ and make it executable.
4. Run otmonitor.
How to run OpenTherm Monitor on Ubuntu 12.10
Moderator: hvxl
Re: How to run OpenTherm Monitor on Ubuntu 12.10
Excuse me for kicking this old topic, but i have the same question:
How can i get this working on a stock Ubuntu 14.04 (x64) system? I tried the steps mentioned, but it doesn't work.
It keeps saying:
I also tried the x64 version, but that one seems to need a lot of additional stuff:
Can someone point me how to get it working? I am running Ubuntu Server 14.04 LTS (x64) in a virtual machine, no GUI only commandline SSH.
Edit:
I have found it already, you can just start the binary in daemon mode:
or in my case (OTGW over LAN, with USR-TCP232):
I let supervisor autostart the 'otmonitor-x64' on boot, and let it also watch it, so when it should crash, it is automatically started again.
How can i get this working on a stock Ubuntu 14.04 (x64) system? I tried the steps mentioned, but it doesn't work.
It keeps saying:
Code: Select all
otgw@ubuntu:~$ otmonitor
bash: /usr/bin/otmonitor: No such file or directory
Code: Select all
otgw@ubuntu:~$ ./otmonitor-x64
no display name and no $DISPLAY environment variable
while executing
"load /home/otgw/otmonitor-x64/lib/tk8.6/libtk8.6.so Tk"
("package ifneeded Tk 8.6.4" script)
invoked from within
"package require Tk"
(file "/home/otgw/otmonitor-x64/gui.tcl" line 2)
invoked from within
"source /home/otgw/otmonitor-x64/gui.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join /home/otgw/otmonitor-x64 $file]]"
(procedure "include" line 2)
invoked from within
"include gui.tcl"
(file "/home/otgw/otmonitor-x64/otmonitor.tcl" line 1620)
invoked from within
"source /home/otgw/otmonitor-x64/otmonitor.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join /home/otgw/otmonitor-x64 $file]]"
(procedure "include" line 2)
invoked from within
"include otmonitor.tcl"
(file "/home/otgw/otmonitor-x64/main.tcl" line 13)
otgw@ubuntu:~$
Edit:
I have found it already, you can just start the binary in daemon mode:
Code: Select all
./otmonitor-x64 --daemon --w 8080 /dev/ttyUSB0
Code: Select all
./otmonitor-x64 --daemon --w 8080 192.168.4.30:23
I let supervisor autostart the 'otmonitor-x64' on boot, and let it also watch it, so when it should crash, it is automatically started again.