Can't see what is happening

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

Hi,

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

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

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.

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

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.

]

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.

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
```

[
{
"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
}
]

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