Esp8266 and multiple ds18b20's with mqtt

so i have ds18b20 set up on gpio4 (d2)
and a switch1 on gpio5 (i believe d1)

Not sure what you mean scroll down to the bottom of the list for 18

there wasnt an option for generic 18 on module type
i just changed it to generic 0 and this is now showing.

also not d1 and d2 do not show available here

Its right at the bottom of the list

lol using team viewer i wasnt seeing the bottom of the list haha.
ok changed to that one sec.

ok i now see this in mqtt explorer

[{"id":"1815959b3c3196ba","type":"ui_switch","z":"74b8a7cc2ec7d068","name":"Wferm","label":"Wferm","tooltip":"","group":"","order":4,"width":"3","height":"1","passthru":false,"decouple":"true","topic":"cmnd/Wferm/POWER","topicType":"str","style":"","onvalue":"ON","onvalueType":"str","onicon":"","oncolor":"","offvalue":"OFF","offvalueType":"str","officon":"","offcolor":"","animate":true,"className":"","x":674.4286499023438,"y":255.25001668930054,"wires":[["dc31eaf2325ec446","9dafc775d0e68f32"]]},{"id":"dc31eaf2325ec446","type":"mqtt out","z":"74b8a7cc2ec7d068","name":"","topic":"","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"8db3fac0.99dd48","x":910,"y":260,"wires":[]},{"id":"b2b0feced5587e54","type":"mqtt in","z":"74b8a7cc2ec7d068","name":"","topic":"stat/Wferm/POWER","qos":"1","datatype":"json","broker":"8db3fac0.99dd48","nl":false,"rap":false,"inputs":0,"x":370,"y":240,"wires":[["1815959b3c3196ba","29e740c8c29caed1"]]},{"id":"9dafc775d0e68f32","type":"debug","z":"74b8a7cc2ec7d068","name":"out","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":950,"y":180,"wires":[]},{"id":"29e740c8c29caed1","type":"debug","z":"74b8a7cc2ec7d068","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":561.5642700195312,"y":406.924516394043,"wires":[]},{"id":"8db3fac0.99dd48","type":"mqtt-broker","name":"","broker":"localhost","port":"1883","clientid":"RailPI","autoConnect":true,"usetls":false,"compatmode":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"1","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]

so i see these 2 things in mqtt explorer


errornote
do these mean it knows that nothing is hooked up?
aka for this to work right should i hook up a relay to it so it can validate state?

try the flow I sent - you will need to put the switch back onto the correct group....

just did, there is no topic on mqtt out
and should the payload be "on and off" or " 1 and 0"

As I set it up for you, it will then change switch on dashboard in response to esp changing relay state

Topic comes from the switch node so no need to put in MQTT - also means you can use same MQTT node for other things.

You will need to configure a relay1 in tasmota - it doesn't need to be wired up though

Any luck with this ?

Relay? Not switch?
I came to brewery and I'm hooking up a relay, at least I'll see it light up if working

yeah relay is an output - switch is an input

so its set up but the sitch in node red dashboard doesnt change when i click on it
when logged into tasmota i can hit toggle button and the relay turns on and off.
im going to walk away for a little im getting frustrated with myself lol.

can you open a browser to the esp and open the console so you can see MQTT messages there

click button on dashboard and show me what you see on the esp console

its not changing in tasmota console when i use ui dashboard


this is hitting the toggle button