All Projects → mhaack → mqtt-433mhz-gateway-homie

mhaack / mqtt-433mhz-gateway-homie

Licence: MIT License
433Mhz <-> MQTT gateway for smart home 🏡 automation

Projects that are alternatives of or similar to mqtt-433mhz-gateway-homie

SuperLEDstrip
No description or website provided.
Stars: ✭ 13 (-64.86%)
Mutual labels:  mqtt, homie
Zwave2mqtt
Fully configurable Zwave to MQTT gateway and Control Panel using NodeJS and Vue
Stars: ✭ 352 (+851.35%)
Mutual labels:  mqtt, gateway
freeioe
FreeIOE is a framework for building IOE (Internet Of Everything) edge-computing gateway 开源的边缘计算网关框架. 讨论群: 291292378
Stars: ✭ 77 (+108.11%)
Mutual labels:  mqtt, gateway
ComfoAirQ-Homie
Homie4 for Zehnder ComfoAirQ
Stars: ✭ 14 (-62.16%)
Mutual labels:  mqtt, homie
Iot Technical Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,334 (+6208.11%)
Mutual labels:  mqtt, gateway
IoT-Technical-Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,565 (+6832.43%)
Mutual labels:  mqtt, gateway
meshquitto
A simple Arduino project, which aims to provide a gateway between a mesh network of ESP8266's and a remote MQTT broker.
Stars: ✭ 37 (+0%)
Mutual labels:  mqtt, gateway
thinx-device-api
Remote IoT Device Management Platform
Stars: ✭ 19 (-48.65%)
Mutual labels:  mqtt, wemos-d1-mini
Rpieasy
Easy MultiSensor device based on Raspberry PI
Stars: ✭ 85 (+129.73%)
Mutual labels:  mqtt, gateway
Addon Zwave2mqtt
Z-Wave to MQTT - Home Assistant Community Add-ons
Stars: ✭ 58 (+56.76%)
Mutual labels:  mqtt, gateway
Thingsboard Gateway
Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
Stars: ✭ 796 (+2051.35%)
Mutual labels:  mqtt, gateway
Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+6421.62%)
Mutual labels:  mqtt, gateway
Gateway
Web site
Stars: ✭ 133 (+259.46%)
Mutual labels:  mqtt, gateway
Iot Dc3
IOT DC3 is an open source, distributed Internet of Things (IOT) platform based on Spring Cloud. It is used for rapid development of IOT projects and management of IOT devices. It is a set of solutions for IOT system.
Stars: ✭ 195 (+427.03%)
Mutual labels:  mqtt, gateway
zmosq
MQTT/Mosquitto / ZeroMQ proxy
Stars: ✭ 22 (-40.54%)
Mutual labels:  mqtt
mobizon-node
Biblioteca NodeJS para trabalhar com os serviços Mobizon API
Stars: ✭ 17 (-54.05%)
Mutual labels:  gateway
nodemcu-shell
UNIX-like ultra-lightweight Shell for NodeMCU supported devices (ESP8266, ESP32, Raspberry Pi, NanoPi, Orange Pi) written in Lua
Stars: ✭ 25 (-32.43%)
Mutual labels:  wemos-d1-mini
mqtt-mock
mqtt压测工具。支持subscribe、publish压测方式,支持模拟客户端连接数。
Stars: ✭ 78 (+110.81%)
Mutual labels:  mqtt
vamp2setup
Vamp Lamia Alpha Setup Guide
Stars: ✭ 33 (-10.81%)
Mutual labels:  gateway
channels-asgi-mqtt
Interface between MQTT and ASGI and Channels 2.0 compatible
Stars: ✭ 36 (-2.7%)
Mutual labels:  mqtt

433Mhz <-> MQTT gateway with some extras

Build Status GitHub release

The mqtt-433mhz-gateway-homie project is a simple bidirectional gateway to transmit and receive 433Mhz RF signals connected to MQTT. The gateway is built with a cost-effective ESP8266 WiFi chip (I used a Wemos D1 mini, NodeMCU will do as well), simple 433Mhz RF modules and an additional BMP085 sensor.

It enables to:

  • receive MQTT data from a topic and send the 433Mhz signal
  • receive 433Mhz signal from a traditional remote, optional map it to a channel and publish the data to a MQTT topic
  • additional a simple temperature sensor can record the room temperature of the room where the gateway is installed

The software is based on Homie to enable an easy integration with home automation systems like OpenHab.

Hardware

  • ESP8266 (Wemos D1 mini, Nodemcu)
  • RF Receiver 433Mhz
  • RF Transmitter 433MHz
  • BMP085 or BMP180 sensor breakout

I got the RF modules form https://www.sparkfun.com, others will do as well. Additional I got some Wemos Protoboards, an USB power supply with a very short cable and an enclosure to keep all together.

Building the circuit

Wemos D1 mini BMP085 RF Receiver RF Transmitter
5V VIN VIN VIN
GND GND GND GND
D0 DATA
D1 SCL
D2 SDA
D5 DATA

Software

The following software libraries are used. When using PlatformIO all dependencies are resolved automatically.

MQTT

For a detailed documentation of the MQTT topics and commands used see Homie documentation.

Sample gateway messages:

# sensor temperature reading
homie/mqtt-gateway-livingroom/temperature/degrees 23.70

Temperature value send form device.

# send RF command via MQTT & response
homie/mqtt-gateway-livingroom/MQTTto433/on/set 1394001
homie/mqtt-gateway-livingroom/MQTTto433/on 1394001

First line: MQTT command send from MQTT client or smart home solution. Translates into the code send by the RF transmitter. Second line: Response from device after RF signal was send.

Config

The following config parameters are available via MQTT message (see Homie documentation how to use):

Parameter Type Usage
temperatureInterval long temperature reading interval in seconds
temperatureOffset double temperature offset (-/+) to correct the sensor reading, for example if used in enclosure box
channels const char* mapping of 433MHz signals to mqtt channels, useful if used with OpenHab

All configs can be set during the init procedure of the module or via MQTT messages (see Homie specification).

Sample config:

{
    "settings": {
        "channels": "o-1:[139400];o-2:[139707];o-3:[1398097,1398100];o-4:[139803];i-1:[44618];i-2:[44620];i-3:[44623];i-4:[44638];i-5:[44700];“,
        "temperatureOffset“: -2.4,
        "temperatureInterval": 300
    }
}

Credits

This project is was inspired by 1 Technophile's 433toMQTTto433 solution.

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].