1CH MQTT WiFi Relay/Thermostat Board
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 7 commits ahead of mharizanov:master.
glynhudson Merge pull request #1 from Jean-Emile/master
Add new feature: MQTT topic temperature input sensor
Latest commit 0f8710f Sep 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
1ch_relay Add new feature: MQTT topic as input for an external temperature sens… Sep 13, 2018
board Board and Schematic files Feb 21, 2015
firmware Check external IP Apr 23, 2015
README.md Update README.md Jan 3, 2017
bootloader.zip add bootloader Jun 1, 2017

README.md

Adaptation of 3 channel code to work with new 1 channel relay module (Relay 2 and Relay 3 code stripped out)

Adapted by @trystanlea OpenEnergyMonitor.org


#One Channel WiFi Relay/Thermostat Board

The One Channel WiFi Relay/Thermostat Board is a WiFi connected multi-purpose relay board based on the ESP8266 SoC.

NOTE: The board connects to and controls high voltage, knowledge and care is required to handle it

###Highlights

  • Option for on-board power supply
  • Powered by the WiFi ESP8266 SoC module
  • HTTP API to control the relays
  • MQTT support
  • NTP for network time
  • HTTP daemon settings, including security/authentication setup
  • HTTP UI for configuration and control
  • Thermostat function with weekly scheduling
  • Manual relay control
  • Broadcast using HTTP GET to services like ThingSpeak and emonCMS
  • Integration with ThingSpeak for charting/analytics visualization
  • Temperature sensor support
  • DS18B20
  • DHT22

See more at the Three Channel WiFi Relay/Thermostat Board WiKi

Using serial input for an external temperature sensor

Details thanks to Felix Paliuc:

  • First setup the "serial" as the input for the sensor.

The temperature value must be sent in a particular way:

  • First you have to send an "\n" which gets interpreted as a command.

  • After that, you have to send the temperature value like this: serialremotetemp=

  • The value of the temperature must be between -3000 and 12000 which gets divided by 100 later.

  • Practically, I hooked a moteino to the Rx of the ESP8266 and configured the sketch to send temperature with a line like this:

    Serial.print("\nserialremotetemp=1500");

#Author Martin Harizanov

#License This project is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.