It syncs Slack status with your eWeeLink IOT devices. (eg. 5$ Sonoff Wifi Switch)
-
Add your
IOT device
to an eWeeLink account. -
Create a
Slack app
usingmanifest.json
or manually with the following configurations:- Socket Mode on
- Add App-Level Token with 'connections:write'
- OAuth & Permissions > create OAuth token 'xoxb-...'
- Scopes:
- Bot Token Scopes: ['calls:read', 'chat:write', 'dnd:read']
- User Token Scopes: ['users:read']
- Enable events on Event Subscriptions
- Event Subscriptions > Subscribe to this events on behalf of users:
- user_huddle_changed
- user_status_changed
- Install app
-
Fill
config
variable in index.js. -
Run:
yarn && node index.js
-
Add Slack Google Calendar integration to sync your slack status with calendar events.