All Projects → piotrC4 → sonoff-homie

piotrC4 / sonoff-homie

Licence: other
Homie based software for Sonoff module

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to sonoff-homie

Sonoff wifi switch
Прошивка для ESP8266 (Умный дом)-Firmware for ESP8266 (Smart Home)
Stars: ✭ 156 (+524%)
Mutual labels:  sonoff
mijia-homie
A Homie MQTT bridge for the Xiaomi Mijia 2 hygrometer-thermometer. This repo also serves as the monorepo for a handful of helper crates related to Homie and Bluetooth.
Stars: ✭ 40 (+60%)
Mutual labels:  homie
SenseoWifi
Wifi'ify the Senseo coffee maker. Circuit and firmware for an internal Senseo hack to monitor and control the daily coffee brew (via MQTT) ☕️📶
Stars: ✭ 73 (+192%)
Mutual labels:  homie
Homebridge Ewelink
Homebridge plugin to control eWeLink devices with original firmware.
Stars: ✭ 208 (+732%)
Mutual labels:  sonoff
mqtt-rflink-bridge
Homie based bridge between MQTT and RFlink module
Stars: ✭ 21 (-16%)
Mutual labels:  homie
mqtt-433mhz-gateway-homie
433Mhz <-> MQTT gateway for smart home 🏡 automation
Stars: ✭ 37 (+48%)
Mutual labels:  homie
Simple Sonoff Server
Emulates the original sonoff-cloud-servers within your local network.
Stars: ✭ 136 (+444%)
Mutual labels:  sonoff
EspBuddy
Wrapper to easily upload (OTA or Serial), backup, batch query, monitor ESP8266 boards using Esptool.py, Espota.py and Platformio
Stars: ✭ 47 (+88%)
Mutual labels:  sonoff
microhomie
MicroPython implementation of the Homie MQTT convention for IoT.
Stars: ✭ 72 (+188%)
Mutual labels:  homie
Neon.HomeControl
Home Automation System, similar to HomeAssistant but made with .net core and ❤️
Stars: ✭ 46 (+84%)
Mutual labels:  sonoff
Espurna
Home automation firmware for ESP8266-based devices
Stars: ✭ 2,650 (+10500%)
Mutual labels:  sonoff
homie-control
A high level application for the Homie-esp8266 IoT framework
Stars: ✭ 40 (+60%)
Mutual labels:  homie
SuperLEDstrip
No description or website provided.
Stars: ✭ 13 (-48%)
Mutual labels:  homie
Home Assistant Config Fr
🏠Configuration de Home Assistant en français. 👨🏻‍💻 N'hésitez pas à ⭐ mon repo et à copier les bonnes idées ! 🇨🇵
Stars: ✭ 175 (+600%)
Mutual labels:  sonoff
TasmoManager
A beginner friendly desktop UI for Tasmota flashed devices.
Stars: ✭ 53 (+112%)
Mutual labels:  sonoff
Tasmocompiler
Web GUI for custom Tasmota compilation
Stars: ✭ 143 (+472%)
Mutual labels:  sonoff
ComfoAirQ-Homie
Homie4 for Zehnder ComfoAirQ
Stars: ✭ 14 (-44%)
Mutual labels:  homie
Open-Home-Automation
Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
Stars: ✭ 905 (+3520%)
Mutual labels:  sonoff
homie-device
NodeJS port of Homie for IoT
Stars: ✭ 20 (-20%)
Mutual labels:  homie
Sonoff-HomeKit
Эта прошивка делает Sonoff Basic совместимым с Apple Homekit
Stars: ✭ 24 (-4%)
Mutual labels:  sonoff

Homie based firmware for Sonoff Basic, Sonoff S20 wifi relay or any ESP8266 based relay.

Features:

  • ON/OFF relay
  • Timer based relay
  • Configurable default (on boot) relay state - (MQTT independent)
  • Local button on/off
  • Keepalive feature - device will reboot if not receive keepalive message in given time
  • Reverse mode - ON command means relay off, OFF command means relay on (configurable on Homie level)
  • Watchdog timer
  • All Homie buildin features (OTA,configuration)

Build and upload

  • Attache module via USB-RS232 adapter
  • Set proper serial port number in plantformio.ini file (upload_port variable) if required
  • reboot module into program mode
  • Flash module:
    • execute pio run --target upload --environment sonoff for SONOFF, pio run --target upload --environment sonoffs20 for SONOFF S20 or pio run --target upload --environment generic for generic ESP8266
    • In Atom editor with PlatformIO prees F7 enter environment name (sonoff or generic) and choose PIO uload option from the list

MQTT messages

Property Message format Direction Description
_HOMIE_PREFIX_/_node-id_/relay01/relayState (ON|OFF) Device → Controller Current state of relay
_HOMIE_PREFIX_/_node-id_/relay01/relayState/set (ON|OFF) Controller → Device Change relay state
_HOMIE_PREFIX_/_node-id_/relay01/relayTimer/set \d+ Controller → Device Turn on relay for specific no. of seconds
_HOMIE_PREFIX_/_node-id_/watchdog/timeOut/set \d+ Controller → Device Time after witch watchdog disable/enable output fo 10s
_HOMIE_PREFIX_/_node-id_/watchdog/tick/set \d+ Controller → Device Tick for watchdog - renew timeout of reset
_HOMIE_PREFIX_/_node-id_/keepalive/timeOut \d+ Device → Controller Report of keepalive timeout value (seconds), 0 - keep alive feature is not active
_HOMIE_PREFIX_/_node-id_/keepalive/timeOut/set \d+ Controller → Device Set Report of keepalive timeout in seconds, 0 - keep alive feature is not active
_HOMIE_PREFIX_/_node-id_/keepalive/tick/set .* Controller → Device Keepalive message from controller to gateway - if device will not receive during keepAliveTimeOut time slot, it will reboot, keepalive is not active when keepAliveTimeOut is equal 0
_HOMIE_PREFIX_/_node-id_/$online (true|false) Device → Controller /true when the device is online, false when the device is offline (through LWT)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].