You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All cloud related function from SG21 and OS 2.1.7 have been moved from main.cpp to cloud.cpp a new module I have added (BTW main.cpp was getting to large and complex!!)
We have to discuss more about all cloud related features we want to add to the ESP32 code so it is better to keep this as a separate task and complete first the implementation of sensor related parts.
Meanwhile it will be usefull to have a description of the new functions you have introduced and how they related to 2.1.7 IFTTT implementation.
The text was updated successfully, but these errors were encountered:
Ok, Good idea, because additional cloud functions are coming. I only got the structure of http POST-ing from IFTTT function, and from server.cpp the content of http sendings.
The Cloud protocol is basically the API_217 with some extended commands. You can see in https://github.com/tcsaba101/SG21/blob/Cloud_testing/Documents/Tables_SG_20_v06.xlsx.
Some more commands will be added, relating to sensors and cloud comm.
The "Firmware as a Client" is sending the same content to the Internet Cloud as sending to the mobile UI as a Server on UI calls (what is processed in server.cpp).
There is one function in main.cpp (what we will move to cloud module) where I tried to cy the content sending from server.cpp, packed in a http POST package.
The cloud sending basics is quite simple:
concatenate the content in one json string,
then calling the POST sending EtherCard function.
The hardest part is to understand how the OS217 and UI communicating originally.
Today only the sending is operative.
The receiving part is under development.
All cloud related function from SG21 and OS 2.1.7 have been moved from main.cpp to cloud.cpp a new module I have added (BTW main.cpp was getting to large and complex!!)
We have to discuss more about all cloud related features we want to add to the ESP32 code so it is better to keep this as a separate task and complete first the implementation of sensor related parts.
Meanwhile it will be usefull to have a description of the new functions you have introduced and how they related to 2.1.7 IFTTT implementation.
The text was updated successfully, but these errors were encountered: