Skip to content

gersondinis/busy-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIY BusyLight

It syncs Slack status with your eWeeLink IOT devices. (eg. 5$ Sonoff Wifi Switch)


Instructions:

  1. Add your IOT device to an eWeeLink account.

  2. Create a Slack app using manifest.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
  3. Fill config variable in index.js.

  4. Run: yarn && node index.js

  5. Add Slack Google Calendar integration to sync your slack status with calendar events.

About

Syncs Slack status with your eWeLink device

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published