-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add Parameters other than SSID and Password #463
Comments
I did that with this project : https://github.com/reseauducommun/cociclo/tree/master/cociclo_transpiksel_eastern_bloc/software/cociclo_transpiksel_eastern_bloc The first file in that directory has an example of latitude, longitude and userid added to the ssid + password. Good luck ++ |
This is built in, see the parameters example. |
Hi, sorry about my english... With de APIkey I dont have any problem, but if I want to put the channel number too, its not possible because de compilator says "invalid conversion from 'char' to 'long unsigned int' [-fpermissive*]" This is te code I am using: `#include <FS.h> #define DRD_TIMEOUT 100 DoubleResetDetector drd(DRD_TIMEOUT, DRD_ADDRESS); LiquidCrystal_I2C lcd(0x27, 16, 2); const char* serverThingspeak = "api.thingspeak.com"; DHT dht(DHTpin, DHTTYPE); WiFiClient client;
void setup() {
//if you get here you have connected to the WiFi
Serial.println("Conectado a la red WIFI :)"); Serial.println(myWriteAPIKey);
ThingSpeak.begin(client); void refreshDatos(){ if (millis() > anteriorRefreshDatos + 20000){ float temp = dht.readTemperature(); if (isnan(temp) || isnan(humi)){
void loop() { drd.loop(); // Check if a client has connected // Read the first line of the request int val;
// Set GPIO2 according to the request // Prepare the response // Send the response to the client |
I am thankful to @tzapu for giving this tremendous work. I want take some more parameters other than SSID and password from AutoConnectAP captive page. After selecting Configure Wifi if I want to add some more parameters, can anybody help me out there? I am novice programmer in HTML and C++. So requesting you to give detailed explanation
The text was updated successfully, but these errors were encountered: