Configuration Before v1.0.0 - OpenWonderLabs/homebridge-switchbot GitHub Wiki

Manual Install Before Version 1.0.0

npm install -g --unsafe-perm @switchbot/homebridge-switchbot

Sample Configuration

{
    "name": "SwitchBot",
    "credentials": {
        "openToken": "1a234b567cd89e0fg1234hijk5678l9m0123n456o7p8901p234qr567s8tu9v0w1xyz2345f6a7b89b0fc123d45e6fg78h",
        "notice": "Keep your token a secret!"
    },
    "options": {
        "refreshRate": 120,
        "pushRate": 1,
        "ble": [
            "AB1C2D3E4F54",
            "AB1C2D3E4F55",
            "AB1C2D3E4F56",
            "AB1C2D3E4F57",
            "AB1C2D3E4F58",
            "AB1C2D3E4F59"
        ],
        "hide_device": [
            "AB1C2D3E4F53",
            "AB1C2D3E4F52",
            "AB1C2D3E4F51",
            "AB1C2D3E4F50"
        ],
        "bot": {
            "device_switch": [
                "AB1C2D3E4F56",
                "AB1C2D3E4F57"
            ],
            "device_press": [
                "AB1C2D3E4F58",
                "AB1C2D3E4F59"
            ],
            "switch": true
        },
        "meter": {
            "hide_temperature": true,
            "hide_humidity": true,
            "unit": 1
        },
        "humidifier": {
            "hide_temperature": true,
            "set_minStep": 20
        },
        "curtain": {
            "disable_group": true,
            "refreshRate": 5,
            "set_minStep": 20,
            "set_min": 2,
            "set_max": 98
        },
        "bulb": {
            "set_minStep": 10
        },
        "fan": {
            "swing_mode": [
                "AB1C2D3E4F55"
            ],
            "rotation_speed": [
                "AB1C2D3E4F54"
            ],
            "set_minStep": 1,
            "set_min": 0,
            "set_max": 100
        },
        "irair": {
            "hide_automode": true
        },
        "other": {
            "deviceType": "Fan",
            "commandOn": "On",
            "commandOff": "Off"
        }
    },
    "platform": "SwitchBot"
}