setup myWriteAPIKey | ESP8266 Wi-Fi Module | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
setup myWriteAPIKey
No permission to create posts
November 10, 2016
5:24 pm
Avatar
vceklic
New Member
Members
Forum Posts: 1
Member Since:
November 10, 2016
sp_UserOfflineSmall Offline

Hi there,

I am using ESP module to write some values to Thingspeak and that is working great with the library. I am trying to have user set ssid and password, as well as Thingspeak write key from webpage, but in examples it is hard coded, any idea how I can get this to work? Best regards,

vceklic

November 10, 2016
7:51 pm
Avatar
rw950431

Top
Members
Forum Posts: 262
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

How are you intending to connect to the webpage without already having correct SSID/password in order to get a WiFi connection?

I guess you could store new values in ESP8266 flash memory using the EEPROM function (https://github.com/esp8266/Arduino/tree/master/libraries/EEPROM/examples) and read them back again during startup.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

MiguelWap, JamesdinnA, ScottTug, ThomasApesy, RicardoVeque, AlbertRop

Administrators: Hans: 387, lee: 457