ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Moderators: grovkillen, Stuntteam, TD-er
ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Dear forum,
I am facing a small issue and I'm hoping you can help me out. I have two ESP controllers, one ESP01S and one ESP12F, running ESP Easy. My goal is to transmit data from a BMP280 sensor connected to the ESP01S to the ESP12F.
The BMP280 sensor is properly set up and is displayed under devices on both controllers. The connection between the two controllers is established using the internal Peer-to-Peer protocol. Everything seems to be configured correctly, but I'm encountering a strange problem: The sensor data is only displayed on the ESP01S, while the ESP12F only shows zeros.
In the console, there is an error message stating that the wrong sensor type was selected. Interestingly, when I swapped the BMP280 for a BME280 sensor, the data transmission worked flawlessly. However, I would expect the "BMx280" selection to work for both sensors, as it does directly on the ESP01S.
I have tried checking the connection and ensuring that both controllers can communicate with each other. The data transmission settings also appear to be correct. However, I haven't found a solution for this specific issue in forums or online documentation.
Has anyone encountered a similar problem or can provide me with some hints on what to check or adjust? I would greatly appreciate any help to resolve this issue and successfully transmit the sensor data from the ESP01S to the ESP12F.
Thank you in advance for your support and experiences!
Best regards,
Kai
I am facing a small issue and I'm hoping you can help me out. I have two ESP controllers, one ESP01S and one ESP12F, running ESP Easy. My goal is to transmit data from a BMP280 sensor connected to the ESP01S to the ESP12F.
The BMP280 sensor is properly set up and is displayed under devices on both controllers. The connection between the two controllers is established using the internal Peer-to-Peer protocol. Everything seems to be configured correctly, but I'm encountering a strange problem: The sensor data is only displayed on the ESP01S, while the ESP12F only shows zeros.
In the console, there is an error message stating that the wrong sensor type was selected. Interestingly, when I swapped the BMP280 for a BME280 sensor, the data transmission worked flawlessly. However, I would expect the "BMx280" selection to work for both sensors, as it does directly on the ESP01S.
I have tried checking the connection and ensuring that both controllers can communicate with each other. The data transmission settings also appear to be correct. However, I haven't found a solution for this specific issue in forums or online documentation.
Has anyone encountered a similar problem or can provide me with some hints on what to check or adjust? I would greatly appreciate any help to resolve this issue and successfully transmit the sensor data from the ESP01S to the ESP12F.
Thank you in advance for your support and experiences!
Best regards,
Kai
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Hmm that sounds like a bug...
I don't think I will have time for this tomorrow, but maybe Ton will already have a look
I don't think I will have time for this tomorrow, but maybe Ton will already have a look
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
By the way, which version of ESPEasy do you use?
Can you also try the latest GH Actions build?
Can you also try the latest GH Actions build?
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
I am using Version ESP_Easy_mega_20230623_normal_ESP8266_1M.bin on the ESP01S and ESP_Easy_mega_20230623_normal_ESP8266_4M1M.bin on the ESP12F.
I will try it later thank you for the hint. Where can i find this build?
I will try it later thank you for the hint. Where can i find this build?
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
That's on Github, in the Actions tab, best would be the latest "mega" (merge) build, over here. You will need a Github account (free) to be able to download files from there.
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
That seems to be a bug that's been fixed a few weeks ago (June 28th to be exact), shortly after the mega release you are on was created.kai23 wrote: ↑24 Jul 2023, 21:33 In the console, there is an error message stating that the wrong sensor type was selected. Interestingly, when I swapped the BMP280 for a BME280 sensor, the data transmission worked flawlessly. However, I would expect the "BMx280" selection to work for both sensors, as it does directly on the ESP01S.
I expect this to be resolved when testing with the GH Actions build I just referred to, above At least the receiving end, the ESP12F, should be updated.
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Thank you i found it! Didn´t know that i have to be signed in to download. Both controllers are now on version: ESP_Easy_mega_20230724_normal_ESP8266_4M1M
But unfortunately the problem remains. I have also tried to reconfigure the sensor but that has also done nothing.
P2P data : SensorType mismatch for task 12 from unit 2 <--- this is the error message from the log.
But unfortunately the problem remains. I have also tried to reconfigure the sensor but that has also done nothing.
P2P data : SensorType mismatch for task 12 from unit 2 <--- this is the error message from the log.
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
I think this is really specific to the BMx280 plugin as it can't be explicitly set to "BMP280" or "BME280" mode and only determines at runtime what mode it will run. (thus based on what sensor is found)
So either this check for sensortype should be relaxed, or maybe allowed to be done by the plugin itself...
Or force the operations mode of that plugin to a specific BME/BMP/Auto mode.
So either this check for sensortype should be relaxed, or maybe allowed to be done by the plugin itself...
Or force the operations mode of that plugin to a specific BME/BMP/Auto mode.
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
I've created PR (pull request) #4748 that adds an option to select the Sensor model, default is Auto, but can be forced to either BME280 or BMP280, to match the remote setting when connected via P2P. It should only be needed to force to BMP280 on the receiving side, if the actual connected sensor is a BMP280. In all other cases Auto should just work fine.
@kai23 can you please test this build, the corresponding Actions run builds can be downloaded here (or via the PR).
@kai23 can you please test this build, the corresponding Actions run builds can be downloaded here (or via the PR).
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Now i am on version 20230725. But sadly i still receive the same error message. On the sending unit i can change the sensor to BMP280 but on the receiving unit there isn't such an option.
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
That sounds like the update on that receiving unit wasn't successful. You might want to retry the update, as there is no condition on wether the option is shown.
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Hm, have to eat my words here (again...). For remote data-feed devices, no configuration options are shown, working on a solution, hang on.
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
I expect to have nailed the issue with this GH Actions build (may take an hour or so from now before it's available).
The new setting is now only available on the receiving end of the P2P connection, as the sending side is using the 'auto-detect' of the plugin to decide to present the humidity data (that's not available on a BMP280).
The new setting is now only available on the receiving end of the P2P connection, as the sending side is using the 'auto-detect' of the plugin to decide to present the humidity data (that's not available on a BMP280).
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
I've now fixed that, and updated to documentation (in the PR, will be visible on RTD once the PR is merged into the mega branch).
Most recent build can be downloaded from this GH Actions run
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
Hi Kai,
Are you available for testing? I've updated the GH Actions run (had to fix a merge issue anyway), so a fresh build should be available soon after I post this.
Edit: Updated Actions run url, because of a merge conflict that needed a fix.
/Ton (PayPal.me)
Re: ESP Easy Peer-to-Peer Data Transmission Issue - Values Only Displayed on One ESP
@kai23 Another ping, with an updated GH Actions run link.
Can you please update your units and report your findings here?
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 39 guests