Difference between revisions of "User:Martinus/868 Gateway"
(2 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
= Hardware = | = Hardware = | ||
*Atmega 328P (but any Arduino Uno, Pro mini will also work) | *Atmega 328P (but any Arduino Uno, Pro mini will also work) | ||
− | *AUREL | + | *AUREL RX-AM8SF 868MHZ OOK RF receiver |
*ESP8266 ESP01 module (1MB Flash version) | *ESP8266 ESP01 module (1MB Flash version) | ||
*Raspberry PI to run Domoticz | *Raspberry PI to run Domoticz | ||
Line 32: | Line 32: | ||
= Configuration = | = Configuration = | ||
+ | == RFLink == | ||
+ | The RFLink firmware does not need any runtime config, but this configuration has been used to compile the firmware: | ||
+ | <pre style="color: #0077dd"> | ||
+ | // **************************************************************************************************************************************** | ||
+ | // 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 | ||
+ | </pre> | ||
+ | |||
+ | == ESP Easy == | ||
The ESP Easy firmware has only the Serial Server configured and it uses a fixed IP address. | The ESP Easy firmware has only the Serial Server configured and it uses a fixed IP address. | ||
+ | [[file:User-Martinus_SerialRFLinkConfig.png]] | ||
+ | |||
+ | == Domoticz == | ||
Domoticz has the "RFLink Gateway with LAN interface" configured to connect to the ESP IP address. | Domoticz has the "RFLink Gateway with LAN interface" configured to connect to the ESP IP address. | ||
+ | |||
+ | [[file:User-Martinus-DomoticsRFLinkGW.png]] |
Latest revision as of 10:31, 22 October 2017
868MHz Weather Station Gateway
Introduction
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:
My weatherstation:
And the final result in Domoticz:
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
- RFLink Small https://github.com/letscontrolit/RFLinkSmall
- ESP Easy Dev12
- Domoticz V3.8153
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.
Domoticz
Domoticz has the "RFLink Gateway with LAN interface" configured to connect to the ESP IP address.