User:Martinus/868 Gateway

From Let's Control It
Jump to navigation Jump to search
868MHz Weather Station Gateway

Introduction

User-Martinus-868 Gateway.JPG

This small box has been my Weatherstation gateway for many years and it will likely serve many years to come. It started out using Nodo firmware (the ESP module socket wasn't there yet) but is has been replaced with a small RFLink edition that runs on Atmage328P. The ESP socket was added and it runs ESP Easy Mega edition.

The module receives data from my DKW2012 weather station that uses the 868MHz frequency. So i have a dedicated RFLink for 868MHz. It connects to Domoticz using the RFLink Lan gateway.

It uses a 3.5" jack plug to connect the AUREL 868MHz receiver that is housed in a separate box:

User-Martinus-868Receiver.png

My weatherstation:

User-Martinus-DKW2012.png

And the final result in Domoticz:

User-Martinus-Domoticz WeatherStation.png

Hardware

  • Atmega 328P (but any Arduino Uno, Pro mini will also work)
  • AUREL RX-AM8SF 868MHZ OOK RF receiver
  • ESP8266 ESP01 module (1MB Flash version)
  • Raspberry PI to run Domoticz

Software

Configuration

RFLink

The RFLink firmware does not need any runtime config, but this configuration has been used to compile the firmware:

// ****************************************************************************************************************************************
// RFLink List of Plugins that have RECEIVE funcionality
// ****************************************************************************************************************************************

#define PLUGIN_003              // Kaku : Klik-Aan-Klik-Uit (with code wheel) aka ARC
#define PLUGIN_004              // NewKAKU : Klik-Aan-Klik-Uit with automatic coding aka Intertechno.
#define PLUGIN_015              // Home Easy EU 
#define PLUGIN_100              // DKW2012 weatherstation
#define PLUGIN_250
#define PLUGIN_251

// ****************************************************************************************************************************************
// RFLink List of Plugins that have TRANSMIT functionality
// ****************************************************************************************************************************************

#define PLUGIN_TX_003           // Kaku : Klik-Aan-Klik-Uit (with code wheel) aka ARC
#define PLUGIN_TX_004           // NewKAKU : Klik-Aan-Klik-Uit with automatic coding aka Intertechno.
#define PLUGIN_TX_250           // Addons for Nodo Small hardware boards
#define PLUGIN_TX_251           // Pulsecounter addon for Nodo Small hardware boards

ESP Easy

The ESP Easy firmware has only the Serial Server configured and it uses a fixed IP address.

User-Martinus SerialRFLinkConfig.png

Domoticz

Domoticz has the "RFLink Gateway with LAN interface" configured to connect to the ESP IP address.

User-Martinus-DomoticsRFLinkGW.png