Code Monkey home page Code Monkey logo

pps-monitor's Introduction

PPS-monitor

The PPS monitor is a Python script that will monitor a PPS (Punkt-zu-Punkt Schnittstelle) or H-Bus heating automation network link using a Raspberry Pi. The script can output individual messages, or it can produce a CSV log of all 11 monitored values. It can also act as a Netdata plugin. The hardware required for hooking up to the PPS link can be found here. It has been tested with a Siemens RVP-210 heating controller and a QAW-70 room unit.

The program will monitor the following values.

  • Set default room temperature
  • Set absent room temperature
  • Set domestic hot water (DHW) temperature
  • Set room temperature
  • Actual room temperature
  • Outside temperature
  • Actual flow temperature
  • Actual DHW temperature
  • Authority
  • Mode
  • Present
  • Remaining absence days

Usage

usage: ppsmon.py [-h] [-c] [-H] [-n NMESSAGE] [-N] [-o OUTPUT] [-p PORT] [-u]

PPS monitoring program

optional arguments:
  -h, --help            show this help message and exit
  -c, --csv             Output CSV records
  -H, --header          Print CSV header
  -n NMESSAGE, --nmessage NMESSAGE
                        Number of messages to process (default: infinite)
  -N, --netdata         Act as a netdata external plugin
  -o OUTPUT, --output OUTPUT
                        Specify CSV output file (default: stdout)
  -p PORT, --port PORT  Serial port to access (default: /dev/serial0)
  -u, --unknown         Show unknown telegrams

Example: Process 10 messages, outputting individual messages

$ sudo ./ppsmon.py -n 10
Room unit:  Actual room temp: 21.7
Controller: Actual flow temp: 22.1
Room unit:  Set room temp: 19.0
Controller: Authority: remote
Room unit:  Mode: timed

Example: Process 150 messages, outputting CSV records

$ sudo ./ppsio.py  -n 150 -cH
time,Actual DHW temp,Actual flow temp,Actual room temp,Authority,Mode,Outside temp,Present,Set DHW temp,Set absent room temp,Set default room temp,Set room temp
1526237678,54.7,22.2,21.8,remote,timed,18.3,true,40.0,15.0,20.0,19.0
1526237698,54.6,22.2,21.8,remote,timed,18.3,true,40.0,15.0,20.0,19.0
1526237718,54.5,22.2,21.8,remote,timed,18.3,true,40.0,15.0,20.0,19.0
1526237738,54.7,22.2,21.8,remote,timed,18.3,true,40.0,15.0,20.0,19.0
1526237758,54.5,22.2,21.8,remote,timed,18.3,true,40.0,15.0,20.0,19.0

pps-monitor's People

Contributors

dspinellis avatar

Watchers

James Cloos avatar Nicolas COLLET 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.