matthias-bs / Bresser_Weather_Sensor_CC1101_MQTT

Bresser 5-in-1/6-in-1 868 MHz Weather Sensor Radio Receiver based on CC1101 and ESP32/ESP8266 - provides data via secure MQTT [deprecated]
MIT License
4 stars 2 forks source link
arduino cc1101 esp32 esp32-arduino esp8266 esp8266-arduino mqtt-client

:warning: This repository is deprecated and no longer maintained. The recommended alternative is BresserWeatherSensorReceiver which provides a much cleaner design and allows to use an SX1276 or RFM95W radio receiver as an alternative to the CC1101. Please refer to the BresserWeatherSensorMQTT example.

Bresser_Weather_Sensor_CC1101_MQTT

Bresser 5-in-1/6-in-1 868 MHz Weather Sensor Radio Receiver based on CC1101 and ESP32/ESP8266 - provides data via secure MQTT

Based on:

Weather Stations

The Bresser 5-in-1 Weather Stations seem to use two different protocols. Select the appropriate decoder by (un-)commenting #define BRESSER_6_IN_1 in the source code.

Model Decoder Function
7002510..12 decodeBresser5In1Payload()
7002585 decodeBresser6In1Payload()

MQTT Topics

MQTT publications:

<base_topic>/data sensor data as JSON string - see publishWeatherdata()

<base_topic>/radio CC1101 radio transceiver info as JSON string - see publishRadio()

<base_topic>/status "online"|"offline"|"dead"$

$ via LWT

<base_topic> is set by #define HOSTNAME ...

<base_topic>/data JSON Example:

{"sensor_id":12345678,"ch":0,"battery_ok":true,"humidity":44,"wind_gust":1.2,"wind_avg":1.2,"wind_dir":150,"rain":146}

Hardware

(ESP8266 D1-Mini) Bresser5in1_CC1101_D1-Mini

CC1101

Texas Instruments CC1101 Product Page

Note: CC1101 Module Connector Pitch is 2.0mm!!!

Unlike most modules/breakout boards, most (if not all) CC1101 modules sold on common e-commerce platforms have a pitch (distance between pins) of 2.0mm. To connect it to breadboards or jumper wires with 2.54mm/100mil pitch (standard), the following options exist:

Note 2: Make sure to use the 868MHz version!

Dashboard with IoT MQTT Panel (Example)

IoTMQTTPanel_Bresser_5-in-1