So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Szaki Dani
#63888 Hi all!

I want make a simple project with ESP8266.
This project have two simple function:
1: I send temperature data 8float) to a local server. This function is working for me.
2: i want read a txt file. I.e.: 192.168.1.100/files/lamp.txt
This txt only contain an 0 or 1. If this 1, then I want to set a GPIO pin to HIGH.

But I not found working example to this. I try different code, but not working.
Somebody can help me?

Thank you!

Here is the code:
http://pastebin.com/Pe5x4C70

In this code some elements not used and commented.