Comments (12)
Hi,
It looks like you just have bad reception. To prove this, just run the sketch a little longer; eventually you should be able to receive a valid message. The lines starting with [CC1101] Data: D4 3F ...
show some valid data, but then there is still a parity error.
Please have a look at https://github.com/matthias-bs/BresserWeatherSensorReceiver/wiki#radio-transceiver-range for some hints about improving signal quality.
BTW: Which weather sensor are you using?
Regards
Matthias
from bresserweathersensorreceiver.
Hi,
thanks for your quick reply. Good to hear the connection between c1101 and esp shouldn't be the problem but the reception. I will try to move it closer and/or in actual line-of-sight to the weather station, and/or use a different antenna.
It's a simple 7002511.
Thanks again
Matthias
from bresserweathersensorreceiver.
Hi, do you have any news on that?
from bresserweathersensorreceiver.
Hi Matthias,
thanks for asking. So far I had no luck with just getting it closer to the weatherstation using the MQTT sketch. Quality of signal was at best between -70 and -80 (but sometimes as well -100), which I believe should be sufficient? I hope it's not just a zigbee device it's detecting.
Anyhow, once I got the time to try a different sized antenna, I'll give you an update!
from bresserweathersensorreceiver.
Yes, the signal level should be fine. You can find log files in the examples' directories with similar values. I think you've been receiving the correct signal, because the preamble was detected successfully and some parts of the raw data look familiar and different transmissions are similar.
So it's just a matter of bit error rate, I think.
Did you try to replace a helical coil antenna with a straight wire antenna or vice versa?
from bresserweathersensorreceiver.
Hi,
sorry for the late reply. Yes, I tried straight wire as well as the (very cheap looking) coil antenna from the c1101. Still no luck. I'll try with a different setup, I'll keep you updated
from bresserweathersensorreceiver.
Quick update,
I got a TTGO Lora Oled now and tried, but at least connected to my PC still no joy.
21:11:05.739 -> [178737][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
21:11:17.734 -> [190729][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 A5 DB 73 93 44 83 18 FE AD FE 15 C8 27 66 85 BB B0 57 20 00 00 00 00 00 00 00
21:11:17.734 -> [190731][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -102.5
21:11:17.782 -> [190738][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
21:11:41.742 -> [214730][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 DB CE 73 93 44 83 18 FD 7A FD 13 D8 27 66 85 BB B2 BE 00 00 00 00 00 00 00 00
21:11:41.742 -> [214732][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -101.5
21:11:41.742 -> [214739][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
21:11:53.768 -> [226731][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 DE 48 73 93 C4 83 18 FD BB FD 13 58 FF D9 C9 FF 01 59 00 00 00 00 84 00 00 00
21:11:53.768 -> [226732][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -101.5
21:11:53.768 -> [226739][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
I'll try again getting closer later this week
from bresserweathersensorreceiver.
Thanks for the information. I hope it is still a matter of range.
Or maybe your PC is creating to much noise - either as radiated emission or as conducted emission (USB power)?
from bresserweathersensorreceiver.
The RSSI is definately a matter of range. I finally got my lenovo laptop out with arduino just below the weatherstation:
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13220
ho 0 tail 12 room 4
load:0x40080400,len:3028
entry 0x400805e4
[ 5][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 43][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=4 scl=15 freq=100000
BresserWeatherSensorMQTT 20221024
xxxxxxx
connected!
Checking wifi...
MQTT connecting... connected!
BresserDomo-E0A35C/status: online
[ 2249][D][WeatherSensor.cpp:85] begin(): [SX1276] Initializing ...
[ 2261][D][WeatherSensor.cpp:98] begin(): success!
[ 2261][D][WeatherSensor.cpp:133] begin(): [SX1276] Setup complete - awaiting incoming messages...
[ 13859][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 44 29 73 93 44 83 18 FD E6 FE 13 58 FF D9 C9 FF 01 2D 00 00 00 00 00 00 00 00
[ 13860][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -76.5
[ 13867][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
[ 25859][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 7A B7 73 93 44 83 18 FD E6 FE 13 58 31 96 72 BB B0 2A 00 00 00 00 00 00 00 00
[ 25861][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -82.5
[ 25867][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
[ 37859][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 DC 19 73 93 44 83 18 FE EE FE 13 58 FF D9 C9 FF 01 24 00 00 00 00 00 00 00 00
[ 37861][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -83.0
[ 37868][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
[ 49860][V][WeatherSensor.cpp:220] getMessage(): [SX1276] Data: D4 BF 60 73 93 44 83 18 FE 79 FE 13 58 31 96 72 BB B0 96 00 00 00 00 00 00 00 00
[ 49862][D][WeatherSensor.cpp:222] getMessage(): [SX1276] R [D4] RSSI: -78.5
[ 49868][D][WeatherSensor.cpp:463] decodeBresser5In1Payload(): Parity wrong at column 0
Unfortunately still the Parity problem. Any idea what else I could try?
from bresserweathersensorreceiver.
Hi,
I fed your testdata to BresserWeatherSensorTest.ino and disabled the parity/checksum error aborts in decodeBresser5In1Payload()
(WeatherSensor.cpp
lines 507 & 525). I got the following results:
20:10:27.259 -> testData[5]
20:10:27.259 -> Id: [ 8D] Typ: [B] Battery: [OK ] Ch: [0] Temp: [ 0.0C] Hum: [ 0%] Wind max: [171.2m/s] Wind avg: [ 0.0m/s] Wind dir: [202.5deg] Rain: [ 0.0mm] Moisture: [--%] UV index: [-.-%] Light (lux): [--.-Klux] RSSI: [-56.0dBm]
20:10:28.318 -> testData[6]
20:10:28.318 -> Id: [ 36] Typ: [F] Battery: [OK ] Ch: [0] Temp: [ 0.0C] Hum: [ 0%] Wind max: [332.9m/s] Wind avg: [ 0.0m/s] Wind dir: [ 45.0deg] Rain: [ 0.0mm] Moisture: [--%] UV index: [-.-%] Light (lux): [--.-Klux] RSSI: [-56.0dBm]
20:10:29.346 -> testData[7]
20:10:29.346 -> Id: [ 8D] Typ: [B] Battery: [OK ] Ch: [0] Temp: [ 0.0C] Hum: [ 0%] Wind max: [273.6m/s] Wind avg: [ 0.0m/s] Wind dir: [ 45.0deg] Rain: [ 0.0mm] Moisture: [--%] UV index: [-.-%] Light (lux): [--.-Klux] RSSI: [-56.0dBm]
20:10:30.373 -> testData[8]
20:10:30.373 -> Id: [ 36] Typ: [F] Battery: [OK ] Ch: [0] Temp: [ 0.0C] Hum: [ 0%] Wind max: [102.5m/s] Wind avg: [ 0.0m/s] Wind dir: [ 45.0deg] Rain: [ 0.0mm] Moisture: [--%] UV index: [-.-%] Light (lux): [--.-Klux] RSSI: [-56.0dBm]
As you can see, the input data is still wrong, you do not even get the same ID on every cycle.
Did you already try a different USB cable? (Sounds stupid, but give it a try...)
Did you try with different PCs to sort out a potential problem with a noisy power supply? As far as I remember, you already tried different ESP board/receiver/antenna combinations, right?
Another try would be attaching the debug output to an external serial-to-usb converter to get the data to the PC and supplying the MCU/receiver from a USB power bank.
from bresserweathersensorreceiver.
Yes, that's right, tried initally with esp8266/cc1101 and now with TTGO Lora Oled.
The try 2 weeks ago was on a Dell PC, and now on a lenovo laptop.
Just pluged a different cable (no, doesn't sound too stupid ;-)) but still parity error.
I don't have a serial to usb converter handy, unfortunately.
I will let it run tonight close to the sensor using a USB powerbank and MQTT for logging, but I doubt it'll be different (but who knows?)
from bresserweathersensorreceiver.
Closed due to inactivity.
from bresserweathersensorreceiver.
Related Issues (20)
- 6-in-1 Decoder: Bresser 3-in-1 Professional Wind Gauge / Anemometer, PN 7002531 - automatic decoding of negative temperatures
- Upgraded to 0.20.0 from 0.19.5, now no data is received HOT 13
- Compile Error Wemos D1 mini with CC1101 with MQTT custom HOT 8
- Trouble with Heltec ESP32 WiFi LoRa 32(V3) / Wireless shell(V3) / Wireless stick lite (V3) SX1262 HOT 14
- Does it work with Bresser 3in1 as well? HOT 2
- Compatibility RFplayer HOT 1
- Radio sleep before ESP deep sleep to lower Power drain HOT 1
- decodeBresserLightningPayload(): Change counter decoding from binary to BCD
- Rain gauge no hour, day or week rapport HOT 3
- Config isn't saved HOT 4
- Unify RainGauge and Lightning classes
- New library -> adjust examples HOT 5
- MQTT example error affter upgrade
- Board Heltec WiFi Kit 32(V3) will not select SX1262 but SX1276 HOT 1
- Add support for Bresser CO2 PN 7009977 and HCHO/VOC PN 7009978 sensors
- Request for testing with Bresser CO2 sensor (P/N 7009977)
- Request for testing with Bresser HCHO/VOC sensor (P/N 7009978)
- Potential mix of weather sensor data using 6-in-1 decoder
- What receiver do you recommend? HOT 5
- rain implementation -> renew examples HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bresserweathersensorreceiver.