Response from the esp8266

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
AndreasK
Normal user
Posts: 2
Joined: 06 Apr 2017, 19:08
Location: Duitsland

Response from the esp8266

#1 Post by AndreasK » 06 Apr 2017, 19:21

Hey,
I'm trying to figure out how I can get a response code from the esp8266.
I made an app with App Inventor works very well but now I want to read the actual pin state so I can see in my App.
Do have some experience with Arduino esp8266 but is new to me.
I hope you can give me a tip.
Thanks.
Sorry for my bad English :oops:
:oops:I'm not the smartest, but would like to learn ;) ;)

paxi
Normal user
Posts: 121
Joined: 02 Feb 2017, 00:48
Location: Germany

Re: Response from the esp8266

#2 Post by paxi » 09 Apr 2017, 21:47

You can send the "status" command via http to the esp and parse the pin state from the response. In my automation app it reads like this

Code: Select all

pinstate = substr(response, 64, 1)

User avatar
AndreasK
Normal user
Posts: 2
Joined: 06 Apr 2017, 19:08
Location: Duitsland

Re: Response from the esp8266

#3 Post by AndreasK » 12 Apr 2017, 16:19

Thanks paxi,

I will try it.

Danke paxi,

Ich gehe es mal auf diese weiße probieren.
:oops:I'm not the smartest, but would like to learn ;) ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests