Skip to content

zarebok/sonoff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Sonoff project for enabeling sonoff devices in Domoticz

This project contains a server component and a domoticz plugin. This project has been made by vdkuil and has been improved by me.

Server component

Clone this project using git: git clone https://github.com/zarebok/sonoff.git

Installation

Change tot the proper folder: cd sonoff/server Install the base modules using npm:

npm install ewelink-api
npm install express
npm install minimist

Running

node server.js -e email -p password -r us -o 8081 The parameters -r and -o are optional

Plugin component

Installation

copy sonoff/plugin/plugin.py from the previous checkout to domotiz/plugins/SonOff/plugin.py

You have to make sure you have python3 (and python3-dev) installed on your domoticz system. Usually this can be done with

apt-get install python3-dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.5%
  • JavaScript 21.5%