-
Notifications
You must be signed in to change notification settings - Fork 2
Use SPIFFS to add more variables like in AutoConnect #5
Comments
Thanks for your nice and encouraging words which can help us, the library writers/maintainers, to continue to provide the free service to the community. For you requirements, you can use one of the many options as follows:
and will implement those features into those similar libraries, such as this BlynkGSM_Manager, etc. soon when I have time.
I certainly can not help you more in details. Please research, don't be afraid of errors from which you can learn a lot, then be a happy master quickly. Regards, |
Thanks to people like you who contribute their knowledge altruistically. The world can move a little faster and people like me with a little programming knowledge can make codes tailored to our needs. I am not afraid of mistakes, as they say, they help us learn a lot. 1 interesting SmartFarm DeepSleep Project but I have already created a similar one and it is relatively easy to create and read variables with blynk. But I am sorry to say that I do not like to depend alone and exclusively on blynk and I like to use 2 roads to get to the same place. always having an option b, so that solution, although practical, is not what I want on my devices nor do I always want to depend on third parties. As I commented my code, although you can use the blynk app, it also sends all the data to a sql server allowing the use of its own app. 2 I will study the libraries to see how they work and the ease of adding custom variables. I eagerly await your updates from BlynkGSM_Manager 3 and 4 I will try to better understand your BlynkSimpleEsp32_GSM_WFM.h file so that I can add custom variables and static ip settings without prior programming. Thank you |
With your very good vision and the way you approach and solve the problem, I don't think you're just a person Regards, |
### Releases v1.0.6 1. New ***powerful-yet-simple-to-use feature to enable adding dynamic custom parameters*** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. 2. Dynamic custom parameters to be saved ***automatically in EEPROM, or SPIFFS***. 3. See issue [Add dynamic parameters](#5)
### Releases v1.0.6 1. New ***powerful-yet-simple-to-use feature to enable adding dynamic custom parameters*** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. 2. Dynamic custom parameters to be saved ***automatically in EEPROM, or SPIFFS***. 3. See issue [Add dynamic parameters](#5)
### Releases v1.0.6 1. New ***powerful-yet-simple-to-use feature to enable adding dynamic custom parameters*** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. 2. Dynamic custom parameters to be saved ***automatically in EEPROM, or SPIFFS***. 3. See issue [Add dynamic parameters](#5)
Dear @FRANAIRBUS , Regards, |
### Releases v1.0.6 1. New ***powerful-yet-simple-to-use feature to enable adding dynamic custom parameters*** from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. 2. Dynamic custom parameters to be saved ***automatically in EEPROM, or SPIFFS***. 3. See issue [Add dynamic parameters](#5)
Good morning @ khoih-prog thank you very much for the updates of BlynkGSM_Manager, the truth is that it works very well, it is checked and verified that it works well. Also thank the support given and for the considerations to my person when seeing something more than a copy paste, thank you for the mention, the concern to improve the library on demand and your pleasant response. Thanks to its update it is now very easy to add custom variables to the program. Just one more thing... best regards. |
Hi,
|
How about questions 1. and 2. ? |
Forgive me for just answering # 3 In principle, I use WIFI for blynk or msql and to configure variables such as shipping time to servers or high and low temperature alarms, humidity, or select the pin where dht or ds will work or any type of probe. In case of not having WIFI you must use GPRS. you will usually have a local ip to access port 80 on the same LAN and configure variables. but if we can also connect to the ip WAN it would be fantastic. Have you thought about or have a library with modbus rtu protocol? on port 502 modbus-rtu-tcpip server;) |
I think your use-case is special but so interesting that I'll have to create a separate files for applications similar to yours, where persistent Config Portal is used. The WiFi/Config Portal operation will be as follows:
Any more idea? In the bucket list again now. |
About
I certainly need to know and have the device to test if I have time to write that kind of library. Without test device, it's impossible to write something reliably. |
Thank you very much for reopening and I'm glad you find it interesting to work on the project. 1st Correct, this should work with the option to configure static ip or DHCP. 2nd Correct but remember that in this code AP IP is (192.168.100.1) or change information in readme. |
(192.168.100.1) is configured by: Blynk_WF.setConfigPortalIP(IPAddress(192, 168, 100, 1)); default is (192.168.4.1) if |
Good morning @ khoih-prog. It is indeed configurable but by default in the BlynkGSM_Manager examples
|
Hello Please check example ESP8266_GSM.ino 30 # define MODEM_RST D0 // Pin D0 asignado al pin GPIO16 Thank you so much for everything. can we talk about modbus privately? |
// Use configurable AP IP, instead of default IP 192.168.4.1
Blynk_WF.setConfigPortalIP(IPAddress(192, 168, 100, 1));
// Use channel = 0 => random Config Portal WiFi channel to avoid conflict
Blynk_WF.setConfigPortalChannel(0);
// Set personalized Hostname
Blynk_WF.begin("ESP8266-WiFi-GSM");
|
D0 is 16 (GPIO16) in ESP8266. Just an example. You can change according to your actual connection. :) I know but arduino IDE does not compile with the "D" remove the "D" and put digital pin or gpio number as in other examples |
and you can use in sketch. |
Hi @FRANAIRBUS Contact my friend, [email protected], BOIAN I hope that he can give you some HELP! Recently he ported to VISUINO the MODBUS RTU |
Hi @FRANAIRBUS @tcpipchip is my friend I asked for help and advice in that ModBus-RTU matter. Don't hesitate to contact his friend. |
Hello congratulations, a great job and very interesting your bookstore for my project.
I really like that your code doesn't stop in the absence of a wifi hotspot, since in my project I would like it to also serve as a thermostat as a sensor, so it should continue to work in the absence of wifi or gprs.
My code, although I am relatively new to programming, is quite elaborate with the Hieromon / AutoConnect / mqttRSSI_FS library and has 39 variables among which there are probe calibration alarms, blynk, msql, high and low temperature and other configuration variables more by SPIFFS.
I would like to be able to integrate my code with your library and have the option of gprs as well as wifi in a ttgo call.
Could you tell me the easiest way to add variables to SPIFFS so you can use them in your library like AutoConnect / mqttRSSI_FS does? I would also like to know if there is a way to have an active html page for variable configuration once connected to wifi or gprs like this as the option to use static ip in wifi configuration.
thank you very much and forgive my english.
The text was updated successfully, but these errors were encountered: