Giter VIP home page Giter VIP logo

Comments (4)

matthias-bs avatar matthias-bs commented on May 30, 2024

How long did you wait for data?
Which kind of antenna are you using?
What's the distance between the CC1101 and the weather sensor?
What is the power supply to the ESP8266 D1 mini?

Did you check this out: https://github.com/matthias-bs/BresserWeatherSensorReceiver/wiki#radio-transceiver-range?

from bresserweathersensorreceiver.

13 avatar 13 commented on May 30, 2024

I had wiring problems (GDO pins swapped).

Now BresserWheaterSensorBasic receives data, but BresserWheaterSensorMQTT is not publishing.
The topics radio and status are published.

00:51:23.197 -> Checking wifi...
00:51:23.197 -> MQTT connecting... connected!
00:51:23.197 -> ESPWeather-CB65BD/status: online
00:51:23.197 -> [CC1101] Initializing ... 
00:51:23.363 -> success!
00:51:23.363 -> [CC1101] Setup complete - awaiting incoming messages...
00:51:28.142 -> [CC1101] Data: D4 BE FD 19 8D AA 8A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:51:28.175 -> [CC1101] R [D4] RSSI: -27.0
00:51:28.175 -> find_slot(): ID=0000B327
00:51:28.175 -> find_slot(): Storing into slot #0
00:51:32.191 -> pm open,type:2 0
00:51:40.654 -> [CC1101] Data: D4 BE FD 19 8D AA 8A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:51:40.654 -> [CC1101] R [D4] RSSI: -26.5
00:51:40.654 -> find_slot(): ID=0000B327
00:51:40.654 -> find_slot(): Storing into slot #0
00:51:53.164 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:51:53.164 -> [CC1101] R [D4] RSSI: -25.5
00:51:53.164 -> find_slot(): ID=0000B327
00:51:53.164 -> find_slot(): Storing into slot #0
00:52:05.643 -> [CC1101] Data: D4 BE FD 19 8D AA 8A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:52:05.643 -> [CC1101] R [D4] RSSI: -27.0
00:52:05.643 -> find_slot(): ID=0000B327
00:52:05.677 -> find_slot(): Storing into slot #0
00:52:18.157 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:52:18.157 -> [CC1101] R [D4] RSSI: -27.0
00:52:18.157 -> find_slot(): ID=0000B327
00:52:18.157 -> find_slot(): Storing into slot #0
00:52:30.635 -> [CC1101] Data: D4 46 D5 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA FB AA AA AA AA AA AA AA AA 00 
00:52:30.669 -> [CC1101] R [D4] RSSI: -26.0
00:52:30.669 -> find_slot(): ID=0000B327
00:52:30.669 -> find_slot(): Storing into slot #0
00:52:43.148 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:52:43.148 -> [CC1101] R [D4] RSSI: -26.0
00:52:43.148 -> find_slot(): ID=0000B327
00:52:43.148 -> find_slot(): Storing into slot #0
00:52:53.668 -> ESPWeather-CB65BD/status: online
00:52:53.668 -> ESPWeather-CB65BD/radio: {"rssi":-26}
00:52:55.660 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00 
00:52:55.660 -> [CC1101] R [D4] RSSI: -26.5
00:52:55.660 -> find_slot(): ID=0000B327
00:52:55.660 -> find_slot(): Storing into slot #0
00:53:08.137 -> [CC1101] Data: D4 46 D5 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA FB AA AA AA AA AA AA AA AA 00 
00:53:08.170 -> [CC1101] R [D4] RSSI: -27.5
00:53:08.170 -> find_slot(): ID=0000B327
00:53:08.170 -> find_slot(): Storing into slot #0

from bresserweathersensorreceiver.

matthias-bs avatar matthias-bs commented on May 30, 2024

Could you please add the following code to the end of decodeBresser7In1Payload() before line 935 (return DECODE_OK;) in WeatherSensor.cpp?

 sensor[slot].valid    = true;
 sensor[slot].complete = true;

from bresserweathersensorreceiver.

13 avatar 13 commented on May 30, 2024

Solved, thank you

14:21:27.064 -> ESPWeather/status: online
14:21:27.064 -> ESPWeather/radio: {"rssi":-57.5}
14:21:39.542 -> [CC1101] Data: D4 EA AF 19 8D A3 AA 18 AA AA AA AA AA 82 AA 88 9A FC AA AB A2 AA AA AA AA AA 00 
14:21:39.575 -> [CC1101] R [D4] RSSI: -58.5
14:21:39.575 -> find_slot(): ID=0000B327
14:21:39.575 -> find_slot(): Storing into slot #0
14:21:39.575 -> ESPWeather/data/    B327: {"id":45863,"battery_ok":1,"temp_c":22.3,"humidity":56,"wind_gust":0.0,"wind_avg":0.0,"wind_dir":90.0,"uv":0.0,"light_klx":0.1,"rain":0.0,"rain_d":0.0,"rain_w":0.0,"rain_m":0.0}
14:21:39.575 -> ESPWeather/extra: {"wind_dir_txt":"E","wind_gust_bft":0,"wind_avg_bft":0,"dewpoint_c":13.1,"perceived_temp_c":24.7}
14:21:52.048 -> [CC1101] Data: D4 E0 36 19 8D A3 AA 18 AA AA AA AA AA 82 AA 88 9A FC AA AB 8A AA AA AA AA AA 00 
14:21:52.048 -> [CC1101] R [D4] RSSI: -53.5
14:21:52.048 -> find_slot(): ID=0000B327
14:21:52.048 -> find_slot(): Storing into slot #0
14:22:04.554 -> [CC1101] Data: D4 E0 36 19 8D A3 AA 18 AA AA AA AA AA 82 AA 88 9A FC AA AB 8A AA AA AA AA AA 00 
14:22:04.554 -> [CC1101] R [D4] RSSI: -54.0
14:22:04.554 -> find_slot(): ID=0000B327
14:22:04.554 -> find_slot(): Storing into slot #0
14:22:04.554 -> ESPWeather/data/    B327: {"id":45863,"battery_ok":1,"temp_c":22.3,"humidity":56,"wind_gust":0.0,"wind_avg":0.0,"wind_dir":90.0,"uv":0.0,"light_klx":0.1,"rain":0.0,"rain_d":0.0,"rain_w":0.0,"rain_m":0.0}
14:22:04.587 -> ESPWeather/extra: {"wind_dir_txt":"E","wind_gust_bft":0,"wind_avg_bft":0,"dewpoint_c":13.1,"perceived_temp_c":24.7}
14:22:04.587 -> ESPWeather/status: online
14:22:04.587 -> ESPWeather/radio: {"rssi":-54}

from bresserweathersensorreceiver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.