ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Sprite_tm
#23114
dexterkhm wrote:Hello! I am using ESPHTTPD in my progect , i made a web form to connect to local WIFI AP also i made for for changing station IP and even connected ds18b20 and everything is perfect till now. I wish to connect to thingspeak. I copied files httpclient.c httpclient.h from example "DHT22 ThingSpeak" i take it from SDK examples. And I get many errors
Image I think the problem is in make file settings but i do not know where exactly. So maybe there is a sample progect Httpd + http client+thingspeak?


I would say: try to put -lssl in the ldflags settings.
User avatar
By steve_carter
#23508 The web server is really nice. Took me a while to get past SDK and various flashing issues but I am all OK now..I would like to add something though and I cant figure out how to do it..I would like to add last three octets of MAC address to the wifi.tpl page but I dont know how you are passing variables from the ajax page back and forth to the cgi. I can grab the mac and parse it no problem but I just cannot pass the variable back from the cgi 'C code' to the javascript web front end...Any ideas gratefully received...
User avatar
By Sprite_tm
#24283 The wifi.tpl gets its data in two ways: some data is passed using the template code and the current list of access points is passed using JSON/AJAX. If you want to show the MAC of the ESP, I think you'd be best off modifying the template code and keeping away from the JSON stuff.
User avatar
By Yageti
#74353 Tell me, please, whether it is possible using SmHodule to get the temperature values ​​not from the sensor connected to the ESP8266, but from the sensor of the homematicIP - STHD system.
As I understand this code it is possible to transfer the readings from BMP180 to the system, but I need to read it from the system homematicIP (sensor STHD) in ESP8266.
Thanks!