# Can't see what is happening

**URL:** https://discourse.nodered.org/t/cant-see-what-is-happening/36072
**Category:** General
**Created:** [17 November 2020 16:20 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072 "2020-11-17T16:20:45Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![hengia7](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@hengia7](https://discourse.nodered.org/u/hengia7)
#### Post date: [17 November 2020 16:20 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/1 "2020-11-17T16:20:45Z")

</div>

I am new to Node-Red and MQTT and RPi.

I have created some small test flows and they seem to work as expected. I now have a programme on an ESP8266 which is supposed to control an LED and display temperature and humidity. I have entered my RPI address on my browser followed by /ui to see what is happening but I get no response. Any suggestions

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [17 November 2020 16:30 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/2 "2020-11-17T16:30:14Z")

</div>

Hi,

have you also added the Node-red **port** after your PI ip ?  
Example : `http://192.168.1.160:1880/ui/`

---

<div class="post-metadata">

### Author: ![hengia7](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@hengia7](https://discourse.nodered.org/u/hengia7)
#### Post date: [17 November 2020 16:33 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/3 "2020-11-17T16:33:47Z")

</div>

Yes I did . Is the http:// important? I usually do no add that when using Google

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [17 November 2020 16:47 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/4 "2020-11-17T16:47:33Z")

</div>

Could you explain a bit more about your situation or better still post your flow.  
It would be helpful if you told us what firmware you are running on the ESP8266.  
I assume you are sending the commands to the ESP8266 via MQTT ??  
Is it just an ESP8266 or is it mounted on a board like a Wemos D1 Mini ??

In your thread you mention controlling an LED - which sounds like sending a command to the ESP8266.  
And display temp and humidity - which sounds like the RPi is supposed to be receiving data.

---

<div class="post-metadata">

### Author: ![hengia7](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@hengia7](https://discourse.nodered.org/u/hengia7)
#### Post date: [17 November 2020 17:13 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/5 "2020-11-17T17:13:39Z")

</div>

I added http:// but that made no difference..

---

<div class="post-metadata">

### Author: ![hengia7](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@hengia7](https://discourse.nodered.org/u/hengia7)
#### Post date: [17 November 2020 17:29 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/6 "2020-11-17T17:29:56Z")

</div>

I dont know how to copy my flow. I tried export and hit clipboard but nothing happened.  
I am using mosquitto. My RPI is old . A newer model is on its way  
I did seem to be able to copy my flow but it does not copy to here.

]

---

<div class="post-metadata">

### Author: ![hengia7](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@hengia7](https://discourse.nodered.org/u/hengia7)
#### Post date: [17 November 2020 17:36 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/7 "2020-11-17T17:36:56Z")

</div>

Hi I have responded on the forum bur I fins email easier to use. Probably because I have used emails a lot. The ESP9266 is a NnodeMCU dev board. I am happy with the script as I have some experience with esp8266s ands 32s.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [17 November 2020 19:04 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/8 "2020-11-17T19:04:03Z")

</div>

> [@hengia7](#):
>
> I dont know how to copy my flow. I tried export and hit clipboard but nothing happened.

It will have copied the flow code to your computer clipboard which you can then paste (CTRL+V) into a reply like this  
`````  
`paste copied flow between backticks`  
`````

---

<div class="post-metadata">

### Author: ![hengia7](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@hengia7](https://discourse.nodered.org/u/hengia7)
#### Post date: [17 November 2020 20:02 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/9 "2020-11-17T20:02:07Z")

</div>

[  
{  
"id": "4ccb6105.122fc",  
"type": "ui\_switch",  
"z": "33fa661c.bd270a",  
"name": "Lamp",  
"label": "Lamp",  
"tooltip": "",  
"group": "492fb47f.93406c",  
"order": 0,  
"width": 0,  
"height": 0,  
"passthru": false,  
"decouple": "false",  
"topic": "room/lamp",  
"style": "",  
"onvalue": "false",  
"onvalueType": "bool",  
"onicon": "",  
"oncolor": "",  
"offvalue": "true",  
"offvalueType": "bool",  
"officon": "",  
"offcolor": "",  
"x": 90,  
"y": 80,  
"wires": [  
[  
"992fa943.227048"  
]  
]  
},  
{  
"id": "a4bebc82.8e5e7",  
"type": "ui\_gauge",  
"z": "33fa661c.bd270a",  
"name": "",  
"group": "2570634c.6c7edc",  
"order": 1,  
"width": 0,  
"height": 0,  
"gtype": "gage",  
"title": "Humidity",  
"label": "units",  
"format": "{{value}}",  
"min": 0,  
"max": "100",  
"colors": [  
"#00b500",  
"#e6e600",  
"#ca3838"  
],  
"seg1": "",  
"seg2": "",  
"x": 300,  
"y": 300,  
"wires":   
},  
{  
"id": "7903e9cf.547c48",  
"type": "ui\_chart",  
"z": "33fa661c.bd270a",  
"name": "Temperature",  
"group": "2570634c.6c7edc",  
"order": 0,  
"width": 0,  
"height": 0,  
"label": "Temperature",  
"chartType": "line",  
"legend": "false",  
"xformat": "HH:mm:ss",  
"interpolate": "linear",  
"nodata": "",  
"dot": false,  
"ymin": "",  
"ymax": "",  
"removeOlder": 1,  
"removeOlderPoints": "",  
"removeOlderUnit": "3600",  
"cutout": 0,  
"useOneColor": false,  
"useUTC": false,  
"colors": [  
"#1f77b4",  
"#aec7e8",  
"#ff7f0e",  
"#2ca02c",  
"#98df8a",  
"#d62728",  
"#ff9896",  
"#9467bd",  
"#c5b0d5"  
],  
"outputs": 1,  
"x": 320,  
"y": 240,  
"wires": [  
  
]  
},  
{  
"id": "77820083.6b8e7",  
"type": "mqtt in",  
"z": "33fa661c.bd270a",  
"name": "Temperature",  
"topic": "room/temperature",  
"qos": "2",  
"datatype": "auto",  
"broker": "2f99344.245b6cc",  
"x": 90,  
"y": 180,  
"wires": [  
[  
"7903e9cf.547c48"  
]  
]  
},  
{  
"id": "992fa943.227048",  
"type": "mqtt out",  
"z": "33fa661c.bd270a",  
"name": "Lamp",  
"topic": "room/lamp",  
"qos": "2",  
"retain": "",  
"broker": "2f99344.245b6cc",  
"x": 310,  
"y": 100,  
"wires":   
},  
{  
"id": "f33cfcbb.b7fce",  
"type": "mqtt in",  
"z": "33fa661c.bd270a",  
"name": "Humidity",  
"topic": "room/humidity",  
"qos": "2",  
"datatype": "auto",  
"broker": "2f99344.245b6cc",  
"x": 100,  
"y": 280,  
"wires": [  
[  
"a4bebc82.8e5e7"  
]  
]  
},  
{  
"id": "492fb47f.93406c",  
"type": "ui\_group",  
"z": "",  
"name": "Lamp",  
"tab": "c14a81b5.fd2",  
"order": 1,  
"disp": true,  
"width": "6",  
"collapse": false  
},  
{  
"id": "2570634c.6c7edc",  
"type": "ui\_group",  
"z": "",  
"name": "Sensor",  
"tab": "c14a81b5.fd2",  
"order": 2,  
"disp": true,  
"width": "6",  
"collapse": false  
},  
{  
"id": "2f99344.245b6cc",  
"type": "mqtt-broker",  
"z": "",  
"name": "",  
"broker": "192.168.0.26",  
"port": "1883",  
"clientid": "test-client",  
"usetls": false,  
"compatmode": false,  
"keepalive": "60",  
"cleansession": true,  
"birthTopic": "",  
"birthQos": "0",  
"birthPayload": "",  
"closeTopic": "",  
"closeQos": "0",  
"closePayload": "",  
"willTopic": "",  
"willQos": "0",  
"willPayload": ""  
},  
{  
"id": "c14a81b5.fd2",  
"type": "ui\_tab",  
"z": "",  
"name": "Room",  
"icon": "dashboard",  
"order": 1,  
"disabled": false,  
"hidden": false  
}  
]

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [17 November 2020 20:04 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/10 "2020-11-17T20:04:23Z")

</div>

Hi, in order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [16 January 2021 20:04 UTC](https://discourse.nodered.org/t/cant-see-what-is-happening/36072/11 "2021-01-16T20:04:30Z")

</div>

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