Pimatic plugin for the Opentherm gateway
Switch branches/tags
Nothing to show
Clone or download
Latest commit c2093e1 Apr 6, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.js Update for status Apr 6, 2015
.gitignore Initial commit Jan 6, 2015
LICENSE Initial commit Jan 6, 2015
README.md update readme + package Jan 6, 2015
device-config-schema.coffee New Device for status Apr 6, 2015
device-config-schema.js New Device for status Apr 6, 2015
log dev Apr 6, 2015
otgw-config-schema.coffee first commit Jan 6, 2015
otgw.coffee Update for status Apr 6, 2015
otgw.js Update for status Apr 6, 2015
package.json wrong name Jan 6, 2015

README.md

pimatic-otgw

Pimatic plugin for the Opentherm gateway (http://otgw.tclcode.com/)

This plugin will connect to the OTMonitor Relay port.

In theory this plugin can also connect to the ethernet version of the gatway (UNTESTED!)

Configuration of OT Monitor

Download the Opentherm Monitor from: http://otgw.tclcode.com/download.html#utilities

For Raspberry take Linux-armhf as system.

Setup OT monitor to start with the relay server enabled AND relay OT messages to on. This can be done with the following command:

./otmonitor-ahf --daemon -f /opt/otmonitor/otmonitor.conf"

contents of /opt/otmonitor/otmonitor.conf: (you can choose your own loaction ofcourse)

web {
  enable true
  port 8080
  nopass true
}
connection {
  device /dev/ttyUSB1
  type serial
  enable true
}
server {
  enable true
  port 7686
  relay true
}

To autostart ot-monitor on boot on the raspberry pi you can use this file: https://gist.github.com/Fjuxx/8effac5e0d8338e07265#file-otmonitor-ahf

It assumes ot-monitor is placed in /opt/otmonitor/

place that file in /etc/init.d/

Then execute:

sudo update-rc.d otmonitor-ahf defaults

Configuration of Pimatic

You can load the plugin by editing your config.json to include (host = OTmonitor IP port=Relay Port (default:7686)):

{ 
   "plugin": "otgw",
   "host": "192.168.X.X",
   "port": 7686
}

There are currently 2 devices for this plugin:

Main thermostat (Temperature sensor from the Opentherm gateway):

{
 "id": "RoomTemp",
 "class": "OTGWMainThermostat",
 "name": "Room Temp"
}

Heating thermostat:

{
  "id": "HeatingThermostat",
  "class": "OTGWHeatingThermostat",
  "name": "Heating Thermostat",
  "comfyTemp": 21.0,
  "ecoTemp": 16.5,
  "guiShowModeControl" : true,
  "guiShowPresetControl" : true,
  "guiShowTemperatueInput" : true
}