Add sonoff devices

The S20, TH, Basic and SV all share the same 1-channel pinout.
The 4CH has a few more IO pins.
This commit is contained in:
Pim van Pelt
2018-01-22 19:16:17 +01:00
parent 42524d15b2
commit b78e79223a
2 changed files with 17 additions and 0 deletions

10
fs/sonoff-4ch.json Normal file
View File

@ -0,0 +1,10 @@
{
"name": "Sonoff 4CH v1.1",
"status_led": 13,
"channels": [
{ "led": -1, "relay": 15, "button": 14 },
{ "led": -1, "relay": 4, "button": 10 },
{ "led": -1, "relay": 5, "button": 9 },
{ "led": -1, "relay": 12, "button": 0 }
]
}

7
fs/sonoff-basic.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "Sonoff Basic, S20, SV, RF, TH, Touch",
"status_led": 13,
"channels": [
{ "led": -1, "relay": 12, "button": 0 }
]
}