balazsgrill/wscgo

View on GitHub
docs/usecases/uc-5.md

Summary

Maintainability
Test Coverage
# UC-5 Shutter connection via IO extender and relay board

![Shutter connection schematic](./shutter_connection_bb.png)

## Configuration

```ini
[mqtt]
host = tcp://127.0.0.1:1883

[mcp23017]
address = 0x20

[shutter:0]
name = testShutter
topic = test/shutter/0
position_topic = test/shutter/0/state
uppin = MCP23017_20_PORTA_0
downpin = MCP23017_20_PORTA_1
dirswitchwait = 20
range = 120
```