I don’t understand who needs it, but you never know. You must manually get devicekey for each device. Only works with devices on 3rd firmware.
sonoff:
devices:
1000abcdefg:
devicekey: f9765c85-463a-4623-9cbe-8d59266cb2e4
Local only mode (DIY devices)
Recommended for users who do not trust Cloud Servers for some reason. Only works with devices in DIY mode.
sonoff:
Custom device_class for any mode
You can convert all switches into light by default:
sonoff:
default_class: light # (optional), default switch
You can convert specific switches into lights or fans:
sonoff:
devices:
1000abcde0:
device_class: light
name: Sonoff Basic
1000abcde1:
device_class: fan
name: Sonoff Mini
You can convert multi-channel devices (e.g. Sonoff T1 2C):
sonoff:
devices:
1000abcde2:
device_class: [light, fan]
name: Sonoff T1 2C
1000abcde3:
device_class: [light, light]
name: MiniTiger 2CH
You can convert multi-channel device (e.g. Sonoff T1 3C) into single light with brightness control:
sonoff:
devices:
1000abcde4:
device_class:
- light: [1, 2, 3]
name: Sonoff T1 3C
You can control multiple light zones with single multi-channel device (e.g. Sonoff 4CH Pow):
sonoff:
devices:
1000abcde5:
device_class:
- light # zone 1 (channel 1)
- light # zone 2 (channel 2)
- light: [3, 4] # zone 3 (channels 3 and 4)
name: Sonoff 4CH Pow
You can change device_class for Door Sensor:
sonoff:
devices:
1000abcde6:
device_class: window
You can skip importing any cloud devices:
sonoff:
devices:
1000abcde7:
device_class: exclude
niyhit joe
RF Bridge is lacking the great feature of LAN mode so that it can be used as a local alarm system interconnected with other sonoff switches. Please add Lan Mode to the RF Bridge. thank you.