Can't seem to control GPIO pins

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
garnold
Normal user
Posts: 93
Joined: 17 Jun 2019, 03:59

Can't seem to control GPIO pins

#1 Post by garnold » 01 Feb 2021, 01:35

I wanted to try to start controlling devices from my ESP8266. I'm following the URL pattern from this page but each time I make a call the page is not found. Do I have to turn something on within the firmware to allow these calls to work?

https://www.letscontrolit.com/wiki/index.php?title=GPIO

This does not work and I'm not sure why?
http://http//192.168.86.43/control?cmd=GPIO,15,1

User avatar
dynamicdave
Normal user
Posts: 257
Joined: 30 Jan 2017, 20:25
Location: Hampshire, UK

Re: Can't seem to control GPIO pins

#2 Post by dynamicdave » 01 Feb 2021, 09:02

The command you posted doesn't look right.

Have you tried...

Code: Select all

http://192.168.86.43/control?cmd=GPIO,15,1

garnold
Normal user
Posts: 93
Joined: 17 Jun 2019, 03:59

Re: Can't seem to control GPIO pins

#3 Post by garnold » 01 Feb 2021, 13:20

OK, it was he URL. Not sure how the extra http:// got put into my last post but when I tried to make the call with no http:// it worked.

Worked - 192.168.86.43/control?cmd=GPIO,14,1
Didn't work - http://192.168.86.43/control?cmd=GPIO,14,1

All good and time to play ;-)

Post Reply

Who is online

Users browsing this forum: No registered users and 126 guests