switchweb - SwitchBot Client on local Web Environment variables var description SWITCHBOT_TOKEN Open Token for SwitchBot API (ref) SWITCHBOT_CLIENT_SECRET Open Token for SwitchBot API (ref) ADDR Address and port to listen (Default: ':8080') CUSTOM_DEVICES Definition of custom buttons Format of CUSTOM_DEVICES [ { "id": "01-202301234567-01234567", "buttons": [ { "name": "NAME1", "icon": "wind" }, { "name": "NAME2", "icon": "power-off" } ] } ] key value .[].id Device ID .[].buttons[].name Registerd button name .[].buttons[].icon Fontawesome icon name (find icons)