Skip to content

Instantly share code, notes, and snippets.

@Derkades
Last active November 12, 2019 19:54
Show Gist options
  • Save Derkades/11f24b2d5b233d6ac7fd0749be0a3565 to your computer and use it in GitHub Desktop.
Save Derkades/11f24b2d5b233d6ac7fd0749be0a3565 to your computer and use it in GitHub Desktop.
Run Sonoff DIY tools GUI from source on Linux / OS X

tested in ubuntu 19.10 but should work on any other linux or bsd distribution as well with some minor modifications

  1. Install python 3.7, pip3, git
  2. Open a terminal in a directory
  3. git clone https://github.com/MarkoVcode/Sonoff_Devices_DIY_Tools
  4. cd Sonoff_Devices_DIY_Tools/code
  5. sudo pip3 install -r requirements.txt
  6. chmod +x *
  7. sudo python3 01DIY85.py

The DIY tool needs root privileges for some reason, so make sure to run pip3 install with root so the dependencies are installed for the correct user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment