hi everyone, i need some help, i have been doing a plant watering project using an esp32 s3 dev module and i also integrated the ESP Rainmaker, an IOT app similar to the Arduino IOT Cloud App but it's free, the problem is i am able to receive data from the app (Ex: slider values, buttons values ,etc) but i wasnt able to send data to it, i tried finding it on Youtube but i only get the one which uses the old version of the ESP Rainmaker,not the new one (it maybe because of my lack of knowledge about this ), it would be nice if someone gives an example code to send data to the ESP Rainmaker , it makes my project easier , or maybe help me with it by giving suggestions .
@rishwin1212 Sorry, not enough info to offer any advice (BTW, Arduino IoT has a free level and may work properly)
One thing to note, the API for the esp32-s3 module is currently undergoing changes. Maybe drop back to an older generation or back level your boards level.
What you said is a bit confusing, how is the esp32 set up to both be a client and server?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Well, the Arduino IOT Cloud Free plan only gives 5 cloud variables for one "Thing", and the free plan gives 2 "Things", so in total i get 10 cloud variables. However my project need to send 21 variables to it, making the Arduino IOT Cloud useless for my project, so i switch gears to the ESP Rainmaker, where its free and has more cloud variables than i need (except the MQTT guidelines which only allow to send 1 packet of data in a minimum of 6 seconds) , but after the new 3.0 update of the ESP32 boards manager, everything changed. Not only the code for the ESP Rainmaker but also the code for the ESP NOW was also changed. I'm actually new to ESP32s and after some training with it, i planned to try the ESP NOW with my ESP32 S3 and ESP32 C6. Due to the C6 is only available in the 3.0 version which just came out on that time(not the alpha version) i tried it out but it just wouldn't work, so i look at tons of videos in Youtube but i was unable to find a solution. My second choice was going to the documentation of the ESP NOW in Espressif official website and just did "trial and error" and finally got it to work. After that, i planned to do a project using the ESP Rainmaker and like the ESP NOW, it's also had changed. The example code given did in fact worked but none of it demonstrate the way of sending values to the ESP Rainmaker App. So i when to YouTube to find any solution but the code given in most videos were using the old version, i even went to the documentation fo the ESP Rainmaker to find any solution but there was no examples for doing that. In the documentation, it stated that it's possible to do that but there is no example for doing it. Here is the link of the docs if you're interested "https://rainmaker.espressif.com/docs/get-started/" After that i have no other choice but to just create a new topic right here to find help 😊.
Any major software release can have breaking changes. That not only goes for Espressif but for all other software vendors. So if you start a project using 2.x.x and are heavily invested in that code base stay with that version.
You can still go back to 2.x.x with the S3 and continue on.
@rishwin1212 I gave you the answer already in the preceeding post. Here is a picture in case you don't understand the written word. You need to select 2.0.17 and do that again every time you update your boards.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Okay, so after i tried that , it kind of works but not. After doing the changes and upload the code, i tried to connect it to my phone, the first noticeable difference was that the provisioning with bluetooth wasn't working and after usong the softAP to connect to the internet i got this error
Connected to Wi-Fi!
E (2988) esp_rmaker_param: Current time not yet available. Cannot report time series data.
E (2989) esp_rmaker_param: Current time not yet available. Cannot report time series data
Not only that, the value that i planned to send to the app( the values are coming from a dht11 sensor) fail to update in the app. My boards version is 2.0 17 and the code that i use was a old demo code that i found in Youtube which at that time uses the 2.0.17 version. I also tried other types of code which uses this version but i still get the same results Any tips? Should i change my project to make it use the Arduino IOT Cloud(but i have to reduce my variables to 10 rather than the 21 variables that i planned) or try again with different versions and codes( but majority of the code that use the old version uses almost the same structure of code)?
@rishwin1212 Sorry, but I am busy with my own projects and they are at a critical point. What I can see and say is demo code is NOT found on Youtube, it comes with the library. This is SOP.
As to the rest of it, too many problems, not enough (useful info). If you want further help, a wiring diagram and readable photos plus the entire code will be needed.
I STRONGLY suggest you reduce the code to just one error, once that is fixed, move on to the next. At the very least comment out everything that is NOT involved in 'TIME' issue, but even better just delete it in a copy of the full code.
Good luck,
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@zander Thanks For you help by the way. However the library doesn't show the code to send data to the app(even the old version), the only example that there is is in Youtube, anyway thanks for all of the help that ya'll gave , i'll try my best to make it work .Good luck with your project too @zander.
@rishwin1212 What data to what app?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.
@rishwin1212 Did you look at https://search.arduino.cc/search?q=garden%20watering%20system
for some ideas how to do things?
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.