项目作者: Lehmancreations

项目描述 :
Sonoff Firmware with MQTT
高级语言: C++
项目地址: git://github.com/Lehmancreations/Sonoff-With-MQTT.git
创建时间: 2017-11-30T20:10:23Z
项目社区:https://github.com/Lehmancreations/Sonoff-With-MQTT

开源协议:

下载


Sonoff-With-MQTT

Sonoff Firmware with MQTT and Multiple incoming topics and support for DHT22 sensor.

Topic is the main MQTT topic that turns the relay on and off
Topic2 is a second incoming MQTT topic that allows you to turn the led on and off.
When button is pressed it publishes a to MQTT topic this allows you to handle the press in OpenHAB or Node-Red

This firmware also allows you to hook a DHT22 sensor up to the extra GPIO pin (14) on the Sonoff and get temperature and humidity readings via a MQTT topic.

This is a simple sketch for sonoff devices that allows MQTT. This is based off of https://github.com/SuperHouse/BasicOTARelay but I
customized for my needs

Please see the Wiki for more information and how to install