SIr,
i have required web based appliances control flowcode examples.
like street light and home automation can you give any examples
and can you explain below code
"GET /demo/test.txt HTTP/1.1\r\nHost: 46.17.91.231\r\n\r\n"
as a same time "post" examples also required like light condition ON/OFF
esp8266
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: esp8266
Hello,
Have you looked at the examples available here: https://www.matrixtsl.com/wikiv7/index. ... 6ada46f7bf
Have you looked at the examples available here: https://www.matrixtsl.com/wikiv7/index. ... 6ada46f7bf
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: esp8266
Have you looked at the examples available here: https://www.matrixtsl.com/wikiv7/index. ... 6ada46f7bf
yes i see but there not given any post examples.
and i want to use thingspeek server. please give me some examples for post and as a same time thingspeak server.
yes i see but there not given any post examples.
and i want to use thingspeek server. please give me some examples for post and as a same time thingspeak server.
Re: esp8266
This is page request code how to convert http1.1 format. please help me
"https://api.thingspeak.com/update?api_k ... &field2=25"
"https://api.thingspeak.com/update?api_k ... &field2=25"
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: esp8266
Hello,
This site may help.
https://www.w3schools.com/tags/ref_httpmethods.asp
You would connect to the server, open a socket and then send a string like this. Carriage returns are coded as "\r\n"
Data should be ON or OFF from the looks of your first post. YOUR_IP should be your ESP IP address.
This site may help.
https://www.w3schools.com/tags/ref_httpmethods.asp
You would connect to the server, open a socket and then send a string like this. Carriage returns are coded as "\r\n"
Assuming thingspeak still allows for http vs https. https would be hard with a micro.
Data should be ON or OFF from the looks of your first post. YOUR_IP should be your ESP IP address.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel