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:
10
fs/sonoff-4ch.json
Normal file
10
fs/sonoff-4ch.json
Normal 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
7
fs/sonoff-basic.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"name": "Sonoff Basic, S20, SV, RF, TH, Touch",
|
||||||
|
"status_led": 13,
|
||||||
|
"channels": [
|
||||||
|
{ "led": -1, "relay": 12, "button": 0 }
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user