A Homebridge plugin for controlling a 3-speed fan with a TOSR0X-T WiFi relay.
Requires a TOSR0x-T HTTP JSON API proxy server to be running.
"accessories": [
{
"accessory": "TOSR0x Fan",
"name": "Bedroom Fan",
"host": "localhost:8020"
}
]
+-----------------+ +-----------------+
| | | |
| +---------+ | | +---------+ | +---------+
| | | | | | | | | |
| | Relay 1 | | | | Relay 2 | | | Relay 3 |
| | | | | | | | | |
| | | | | | | | | |
| +-NC-C-NO-+ | | +-NC-C+NO-+ | +-NC-C-NO-+
| ^ | | | | ^ | | | ^ |
| | | +---------+ | | +-----+ | |
| | | | | | | |
+--------+ | +--------+ | Active --+ |
v v v
Fan 1 Fan 2 Fan 3