Release notes April 25

This commit is contained in:
Paulus Schoutsen 2015-04-25 09:35:36 -07:00
parent 05c1c48e60
commit 269d686cf1
10 changed files with 209 additions and 1 deletions

View file

@ -0,0 +1,50 @@
---
layout: page
title: "Modbus"
description: "Instructions how to integrate Modbus within Home Assistant."
date: 2015-04-25 9:16
sidebar: false
comments: false
sharing: true
footer: true
---
<img src='/images/supported_brands/modbus.png' class='brand pull-right' />
Modbus is a serial communication protocol to control PLCs. It currently supports sensors and switches which can be controlled over serial, TCP and UDP connections.
```yaml
# Example configuration.yaml entry
modbus:
type: serial
method: rtu
port: /dev/ttyUSB0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
sensor:
platform: modbus
slave: 1
registers:
16:
name: My integer sensor
unit: C
24:
bits:
0:
name: My boolean sensor
2:
name: My other boolean sensor
switch:
platform: modbus
slave: 1
registers:
24:
bits:
0:
name: My switch
2:
name: My other switch
```