# ESP8266 + IP Control

**URL:** <https://community.thunkable.com/t/esp8266-ip-control/2271980>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, help\
**Created:** [February 11, 2023, 1:37pm UTC](https://community.thunkable.com/t/esp8266-ip-control/2271980 "2023-02-11T13:37:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![corepeeyutotd7rb](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@corepeeyutotd7rb](https://community.thunkable.com/u/corepeeyutotd7rb)\
**Post date:** [February 11, 2023, 1:37pm UTC](https://community.thunkable.com/t/esp8266-ip-control/2271980/1 "2023-02-11T13:37:16Z")

</div>

**# Not strong in terms of language, sorry**  
I use ESP8266 as a Server to use IP to turn on-off Relay but I have a problem. Doesn’t work when put in thunkable, I’m a newbie, please advise, this is the part that doesn’t work.

 ![Screenshot 2023-02-11 202648](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/45e6224e8a04e6bfe2d52c1a284d0f63e3d87a04.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 12, 2023, 4:34am UTC](https://community.thunkable.com/t/esp8266-ip-control/2271980/2 "2023-02-12T04:34:21Z")

</div>

Those blocks will try to connect to two APIs and then do nothing with the responses.

What do you want those blocks to do?

Are you able to get a JSON response in a browser (without Thunkable)?

I don’t see anything that would interact with a Bluetooth device.

---

<div class="post-metadata">

**Author:** ![corepeeyutotd7rb](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@corepeeyutotd7rb](https://community.thunkable.com/u/corepeeyutotd7rb)\
**Post date:** [February 12, 2023, 8:49am UTC](https://community.thunkable.com/t/esp8266-ip-control/2271980/3 "2023-02-12T08:49:21Z")

</div>

The part that I closed is http IP, such as the upper checkpoint is 111.111.1.1/on and below to 111.111.1.1/off  
What I want is to press the ON IP 1 switch to send the value to turn on the Relay.  
Press to close the switch. Item 2 sends the value to close.

Normally, if Http IP is used for nothing on Chrome, it can still be used normally.

I just switched to use thunkable (migrated from appinventor). These are blocks from inventor that can be used normally.

 ![Screenshot 2023-02-12 160103](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/c/dc96930239c4520bb8d741535074db58f65c23c3.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 12, 2023, 5:27pm UTC](https://community.thunkable.com/t/esp8266-ip-control/2271980/4 "2023-02-12T17:27:56Z")

</div>

Would it work to load the urls in a Web Viewer?

Also, what response do you see in a browser if you browse to either of those urls?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 13, 2023, 5:28pm UTC](https://community.thunkable.com/t/esp8266-ip-control/2271980/5 "2023-05-13T17:28:27Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
