• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created almost 8 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Itead Studio SonoffSC custom firmware with MQTT and Domoticz support

SonoffSC

Custom firmware for the Sonoff SC (both for the ATMega328P and the ESP8266).

version travis license donate twitter

Features

  • Up to 5 different configurable WiFi networks with static IP support
  • MQTT enabled, send sensor data to your local/cloud broker
  • Support for all the sensors in the board
    • DHT11 but also for the DHT22 (upgrading hardware)
    • Sharp GP2Y1010AU0F
    • GM55 LDR
    • Electret microphone
  • Support for extra sensors and actuators
    • WS2812 RGB LED ring for notifications
    • Small fan to move air inside the enclosure and get better dust readings
    • **Microwave based presence detector
  • Clap monitoring (switch light on/off clapping your hands)
  • Support for RGB LED ring for notifications you can drive via MQTT messages (thanks to Blair Thompson)
  • Fast asynchronous HTTP Server
    • Basic authentication
    • Web-based configuration
    • Websockets-based communication between the device and the browser
    • Web server code cleaned, merged and embedded into firmware for fastest access
  • NTP synchronisation
  • Over-The-Air (OTA) updates (only for the ESP8266)
  • Remote OTA updates using the NoFuss library (only for the ESP8266)
  • Domoticz integration via MQTT
  • Enable/disable clap mode from Alexa
  • Debug messages via UDP & Telnet

Documentation

TODO

Both projects (for the atmega328p and the esp8266) are ready to be built with PlatformIO. If you do not use PlatformIO check the platformio.ini files for dependencies (in the "lib_deps" parameter).

Know more here:

License

Copyright (C) 2017-2018 by Xose Pérez (@xoseperez)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

More Repositories

1

espurna

Home automation firmware for ESP8266-based devices
C++
2,984
star
2

espurna-board

ESP8266-based smart wall switch
OpenSCAD
131
star
3

hlw8012

HLW8012 library for Arduino and ESP8266 using the Arduino Core for ESP8266.
C++
124
star
4

eeprom_rotate

Wrapper around Arduino Core for ESP8266 EEPROM library that handles sector rotation
C++
65
star
5

justwifi

WIFI Manager for ESP8266 using Arduino Core framework
C++
45
star
6

basicstation-docker

Basics™ Station Packet Forward protocol using Docker
Shell
42
star
7

my92xx

MY9291 and MY9231 LED driver library for Arduino AVR and ESP8266
C++
37
star
8

m5stack-rfm95

RFM95 layer for the M5Stack prototyping platform (PCB design, 3D printed enclosure and sample code)
C
35
star
9

mqtt2cloud

Utility to publish MQTT topics to cloud services like cosm.com or tempo-db.com
Python
29
star
10

s7xg

AcSIP S7XG LoRaWAN/GPS module library
C++
26
star
11

ttgo-beam-tracker

TTN tracker based on TTGO T-Beam hardware
C
26
star
12

my9291

MY9291 LED driver library for Arduino ESP8266
C++
25
star
13

standalone-lorawan-gateway-balena

Deploys the The Things Stack LoRaWAN Network Server Open Source Edition, BasicStation and Backend tools using Balena.
23
star
14

eeprom32_rotate

Wrapper around Arduino Core for ESP32 EEPROM library that handles partition rotation
C++
23
star
15

xbee2mqtt

Python
23
star
16

node-red-contrib-power-monitor

A Node-RED node to monitor home appliances based on their power consumption.
JavaScript
21
star
17

debounceevent

Simple push button and toggle switch debounce library for Arduino and ESP8266 that reports number of clicks and length
C++
16
star
18

rak833-hat

Raspberry Pi Hat for the RAK833 MiniPCI-E module
Shell
16
star
19

the-things-stack-docker

The Things Stack LoRaWAN Network Server (Open Source Edition) on a Raspberry Pi using docker
Shell
16
star
20

grideye

8x8 pixels IR camera based on Panasonic's AMG8833 sensor
Eagle
14
star
21

messagepack

Library for AVR, SAMD, ESP8266 and ESP32 platforms to pack/unpack values into a compact, self-explanatory binary message.
C++
13
star
22

rf-tools

Scripts to interface RF tools like the RF Explorer or the Power Meter 8000
Python
13
star
23

rpnlib

Reverse Polish Notation calculator for ESP8266 & ESP32 microcontrollers.
C++
11
star
24

weatherstation

Arduino FIO, DHT22, BMP085 and XBee based outdoor weather station.
C++
10
star
25

pulsecounter

Arduino smart meter pulse counter sensor
Eagle
7
star
26

slices

Slices of a clock
C
6
star
27

wisblock-smartcube-companion

Bluetooth timer for Smart Cubes
C
6
star
28

rfm98pw-wing

This is an Adafruit Feather (TM) compatible Wing for the RFM98PW LoRa radio module by HopeRF that works at 169MHz.
5
star
29

the-things-stack-basicstation-balena

Shell
5
star
30

sonometer

Simple sonometer based on Arduino with a LED display and a pot to regulate sensitivity
OpenSCAD
4
star
31

2g4-packet-forwarder-docker

LoRaWAN UDP Packet Forwarder protocol for LoRa 2.4GHz Gateways using Docker
Shell
4
star
32

makepro-arduino-unit-testing

Basic examples on how to test your Arduino sketchs
C++
4
star
33

sonoff-th-emon-sensor

Open Source Hardware (OSHW) to connect a CT to a Sonoff TH via the 2.5mm jack port
4
star
34

packet-forwarder-loggers

Set of parsers and loggers to monitor metrics from a LoraWAN Packet Forwarder running inside a Docker container
Python
4
star
35

pi-kernel

Raspberry Pi Kernel build help script
Shell
3
star
36

daclock

ESP8266 based board with DS1337, buzzer and support for WS2812 strips or matrices
3
star
37

chirpstack-scripts

Scripts to use with ChirpStack LoRaWAN Network Server
Python
3
star
38

pcf8583

PCF8583 Real Time Clock and Event Counter Library for Arduino
C++
3
star
39

wisblock-weatherstation

WisBlock Weatherstation using WisBlock Sensor RAK1960 (BME680)
C++
3
star
40

mymote

Moteino clone with battery connector & charger and several shield boards
Shell
2
star
41

geigercounter

Eagle
2
star
42

wisblock-vindriktning

Hack an IKEA Vindriktning to send data over LoRaWAN with a WisBlock
C++
2
star
43

fenderino-arducaster-midi

Abierto.cc Fenderino Arducaster MIDI support sample sketch
Arduino
2
star
44

lorawan-packet-sniffer

Basic LoRaWAN sniffer based on UDP Packet Forwarder output
Python
2
star
45

chirpstack-udp-forwarder-docker

ChirpStack UDP Forwarder service for Docker
Shell
2
star
46

wisblock-cat-litter-monitor

Sensor to monitor our cats' litters
C++
2
star
47

chirpstack-gateway-relay-docker

ChirpStack Gateway Relay service for Docker
Shell
2
star
48

icompose

Manage docker stacks based on metadata stored in the docker-compose.yml itself
Python
2
star
49

emoteino

Moteino energy monitor code & shields
C++
1
star
50

wisnode-lora-downlink

TTN downlink example using RAK WisNode-LoRa
C++
1
star
51

gen4-controller

4DSystems gen4 displays controller
Eagle
1
star
52

rentalito

Arduino MQTT client with matrix display
Python
1
star
53

seriallink

AT-like serial communication library
C++
1
star
54

xoseperez

1
star
55

trafficlight

Overlay for ESPurna to manage a simple traffic light
C
1
star
56

chirpstack-mqtt-forwarder-docker

ChirpStack MQTT Forwarder service for Docker
Shell
1
star
57

chirpstack-concentratord-docker

ChirpStack Concentratord service for Docker
Shell
1
star