Giter Club home page Giter Club logo

pimatic-otgw's Introduction

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
}

pimatic-otgw's People

Contributors

nickvanalst avatar fjuxx avatar mwittig avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.