|
1259 | 1259 | ZHumidityConv("humidity", "sensor", report="10s 1h 100"), |
1260 | 1260 | ZBatteryPercConv("battery", "sensor", report="1h 12h 0", multiply=0.5), |
1261 | 1261 | ], |
| 1262 | +}, { |
| 1263 | + "S60ZBTPF": ["Sonoff", "Smart Plug", "S60ZBTPF"], |
| 1264 | + # Initial support for S60ZBTPF |
| 1265 | + # Energy-related data is only updated when the switch is turned on — possibly a device firmware-related issue |
| 1266 | + # This device does not provide a total energy sensor; only "yesterday", "today", and "month" energy values are available (not yet implemented) |
| 1267 | + # Many other features are also not implemented |
| 1268 | + "spec": [ |
| 1269 | + ZOnOffConv("plug", "switch", report="0s 5m 0"), |
| 1270 | + ZCurrentConv("current", "sensor", report="12s 57m 10"), |
| 1271 | + ZPowerConv("power", "sensor", report="10s 10m 3"), |
| 1272 | + ZVoltageConv("voltage", "sensor", report="11s 55m 10", multiply=0.01), # need changes in ZVoltageConv class |
| 1273 | + ZPowerOnConv("power_on_state", "select") |
| 1274 | + ], |
1262 | 1275 | }, { |
1263 | 1276 | "SML001": ["Philips", "Hue motion sensor", "9290012607"], |
1264 | 1277 | "support": 4, # @AlexxIT TODO: sensitivity, led |
|
0 commit comments