Skip to content
The node red setup of my personal IoT environment at home.
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
dashboard.PNG
flows.json
sensorFlow.png
socketFlow.png
wemos.ino
wemosSetupBack.jpg
wemosSetupFront.jpg

README.md

node-red-setup

This is the node red setup of my personal IoT environment at home.

Smart Socket Control

One flow controls the smart sockets. In this case TECKIN sockets are used. They are integrated using node-red-contibr-tuya-smart.

Features

  • On/Off buttons are controlled by the socket as they can be controlled from outside of the application
  • Status message, weather the sockets are online or not using flow variables
  • Power Off-Safety: It is not possible to deactivate a socket if there is to much current flowing
  • Display of the values in a gauge (real time) and a chart (5 minute aggregation)

Socket Flow

Sensor control using MQTT

The second flow controls MQTT devices. MQTT is handled by a Mosca MQTT Broker.

Features

  • Read temperature and humidity
  • Read gas concentration (currently not fully implemented)
  • Display of the values in a gauge (real time) and a chart (5 minute aggregation)
  • Controlling a LED (On/Off)
  • Controlling a Display

MQTT Flow

UI

Dashboard

Sensor/Actuator Setup

The Sensor/Actuator system uses a Wemos with an ESP8266 microcontroller.
For temperature and humidity, a DHT22 sensor is used, reading through digital input.
For the natural gas concentration, a MQ-5 sensor is used, reading through analog input.
The display is a 128x64 i2c SSD1306 display.

Sensor Actuator Setup Front Sensor Actuator Setup Back

You can’t perform that action at this time.