Skip to content

Display information about and remotely control your Sonoff switches from the Mac OS X menubar

Notifications You must be signed in to change notification settings

pvdabeel/mysonoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

MySonoff - MacOS Menubar plugin

Displays information about your Sonoff switches in the MacOS menubar. Allows you to control the switches in your home via the Ewelink API.

Imgur

Update 2021.11.02:

  • Added support for Xbar

Update 2019.08.27:

  • Added support for Sonoff devices with multiple outlets

Update 2019.08.13:

  • Initial import
  • Retrieve and show Sonoff device list
  • Show device state and provide ability to switch state

Builds on sonoff-python

Installation instructions:

  1. Download python version 2.7
  2. Ensure you have xbar installed.
  3. Copy mysonoff.15m.py to your xbar plugins folder and chmod +x the file from your terminal in that folder
  4. Run xbar

If you get a "websocket" error, perform the following:

  1. sudo easy_install -mxN websocket
  2. sudo easy_install websocket_client==0.59.0

About

Display information about and remotely control your Sonoff switches from the Mac OS X menubar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages