-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wemos D1 mini + CC1101+ 7003210 #88
Comments
Hi, yes, the GPIO/RST connection must be present, otherwise the MCU will never wake up from sleep mode. On the other hand, the connection must be removed while flashing. To get more information, please enable debug output as described in https://github.com/matthias-bs/BresserWeatherSensorReceiver/blob/main/DEBUG_OUTPUT.md. I cannot promise that your sensor is supported, but I am quite confident that it is... Let's see what the debug output reveals... It's probably just (well...) a bad radio link. Regards, |
Hello thanks, In fact I realized that nothing was working with RadioLib 6.2.0, so I upgraded to 6.1.0 and finally I was receiving data. All I have to do now is understand MQTT! |
Hi, Could you please provide some debug output to allow me to check if the decoding works for your sensor? Regards |
No problem, how can I do this to you? Because in the console it waits for a message and that's it. I managed to recover the data in MQTT with BresserWeatherSensorMQTTWifiMgr (I modified it because the password provided by my broker is longer than 20 characters!) On the other hand, I didn't really understand rain_d, rain_w, rain_m, they return the same value to me and it seems to increment with each reception (1500, 2501 ...). Rain does not match what is indicated on my weather screen and it only seems to be a total. I would also like to take this opportunity to tell you that I have acquired an additional “Air quality n°7009970” probe. Do you think we will be able to add it one day? 😁 |
If you enable debug output, you should see a lot of text in the console. Did you select the right port and baudrate (115200 Baud)? Did you read https://github.com/matthias-bs/BresserWeatherSensorReceiver/wiki/03.-Implementing-Rain-Gauge-Statistics? Rain data statistics is currently not supported on the ESP8266, that's why the values are meaningless. You should have seen a compiler warning which indicates this. I'd be happy to integrate the air quality sensor. If you could provide some raw data with many different values, normal/low battery etc. and ideally the matching readings on the original display, this might be feasible. |
Wow, the price for the air quality sensor dropped from 109€ to 39€! |
I don't have any more information with debugging in verbose or debug mode.
Oh yes indeed! I didn't think it was so complex! What a crazy job!
Um... how can I do that? with what script? I really wish I could provide that.
Yes it has gone down a lot! 😀 |
BTW: Did you re-compile after changing the debug level? (Setting the debug level inserts a certain set of printf-statements into the source code, which has to be compiled and uploaded to take effect!) I cannot reproduce both issues. Which Arduino IDE version and ESP32 board package are you using? I just compiled with Arduino IDE 2.2.1 and ESP32 board package 2.0.14 - no issues regarding RadioLib 6.2.0. Could you provide some compiler output?
This can be done by running BresserWeatherSensorBasic.ino.
|
This is all driving me crazy...!
This is probably the problem, I understand now. I'm navigating between two machines, it's a bit of anarchy.
OK ! I will do this as soon as possible, I think I will buy more antennas, since I only have one. On the other hand, I have a problem with BresserWeatherSensorMQTTWifiMgr, as soon as the esp32 restarts it loses the MQTT information. I also ended up deactivating sleep mode, because I don't find it of any interest in my case!? There is a lot of data I would like to recover it all. I will try BresserWeatherSensorMQTT.
|
Ah, it's getting better! I don't think you need this Maybe you have seen the air quality probe. You could check if any message output coincides with the probe's transmission indicator. |
No, it gives me information like temperature, wind, UV etc. BresserWeatherSensorMQTT requires SSL for wifi? I'm never going to get out of this 😶 |
No, it's your choice: This is a little bit misleading, because it's actually not directly related to WiFi but provided in the WiFi library (or not). No worries - some things are a little tricky... |
This compiled well with RadioLib 6.2.0 but I definitely don't get any messages when it is used.
With RadioLib 6.1.0 everything is ok
|
Thanks for the log! Update: Yes, I have to confirm that reception using CC1101 with Radiolib 6.2.0 no longer works. Please see #91. |
Thank you for your incredible responsiveness. I'm waiting for a new antenna (this should take 15 days) in order to do more testing (mainly for Air Quality) |
I ordered an air quality sensor, too. Stay tuned! 😉 |
Air quality sensor has arrived and implementation of a decoder is in progress! (Just a variant of the existing 7-in-1 decoder - easy!) |
Great ! I can't wait to see this! |
You can give it a try: Release v0.19.0 |
Good morning ! And otherwise I send MQTT messages for reset, by sending 2 this resets me "day", by sending 6 this resets me "week", by sending 8 this resets me "month". I can't reset "hour" or "total". I am currently still in 0.18.0. Edit :
and
Have I forgotten something? Edit 2 :
So I no longer retrieve the information with AirQualitySensor but with e473, strange! |
Hi, so the good news is that the Air Quality Sensor is already working! ;-) Automatic Reset
Manual Reset
You can add the values to reset multiple counters in one go. Sensor name issue Besides, you have spaces in the JSON string (e.g: "battery_ok ") which do not originate from the sketch. Cheers, |
See #100 |
Yes it works wonderfully! However, the automatic reset doesn't seem to work for me (And it didn't rain non-stop for several days 😁) : I shouldn't need to reset manually but it is not functional for rain_h. Even if I send 1 nothing happens. As stated before, I am forced to send 2,6,8 instead of 2,4,8.
Phew! thank you for the correction. So I'm not crazy.
oops, probably just a problem translating my post. I have no space in the MQTT logs. No problems reported here. Thanks again for your work! |
Which sketch are you running? Could you please have a look at the debug output if the time and date is set up properly after each wake-up? Currently, this is not fully implemented in the MQTT example. Time and date is only set from NTP if USE_SECUREWIFI is defined. The required changes are:
I tend to have mainly BresserWeatherSensorTTN in focus, that's why I did't realize that something might by missing... In case time and date are not set up properly, it will always start at 1970-01-01 01:00:00 after wake-up, a change of day/month/week will never occur and the hourly rainfall will behave in an odd way, too. |
The fix is ready for testing... |
Fixed in Release v0.19.4 |
Hello,
Your project looks extraordinary.
However I'm having some difficulty getting it to work...
After several unsuccessful tests on NodeMCU ESP32 and Node MCU ESP8266, I returned to your base with a Wemos ESP8266 D1 mini.
I followed your "diagram", I just have a doubt about "To wake up the ESP8266 from deep sleep, GPIO16 should be connected to the RST pin.". Is this connection permanent and mandatory to function?
It didn't seem to change much with it.
I specify that the antenna is a CC1101 (868Mhz version).
I compiled and uploaded the program "BresserWeatherSensorBasic.ino".
Here is what I get:
that's all...
My weather station is 7003210: https://www.bresser.de/fr/Temps/Centrale-Station-meteo-WIFI/Station-meteo-6-jours-BRESSER-capteur-7-en-1-solaire.html
Maybe it's not supported yet?
What could be the steps to achieve a functional result?
Worst case scenario, I'm willing to change antenna or development board, but I need some good guidance
Thank you all for reading
The text was updated successfully, but these errors were encountered: