I couldn't figure out the "set msg.payload"
But the "move msg.payload" worked.
Thanks for the help.
Here is the flow.
[{"id":"2451fec2.edb1b2","type":"mqtt in","z":"c74b932.e47c17","name":"DS18B20 Temp Sensors","topic":"tele/relaystack/SENSOR","qos":"0","datatype":"json","broker":"389dd264.7716de","nl":false,"rap":true,"rh":0,"x":350,"y":1860,"wires":[["6fb9b1fa.e3e9a","7f1002d3.21145c","7d2b290.61cfcd8"]]},{"id":"698c33fb.3193cc","type":"debug","z":"c74b932.e47c17","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":770,"y":1880,"wires":[]},{"id":"682f8968.4c2698","type":"debug","z":"c74b932.e47c17","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":770,"y":1840,"wires":[]},{"id":"7f1002d3.21145c","type":"change","z":"c74b932.e47c17","name":"Prob 1","rules":[{"t":"move","p":"payload[\"DS18B20-1\"].Temperature","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":1840,"wires":[["682f8968.4c2698","864641df.89983"]]},{"id":"7d2b290.61cfcd8","type":"change","z":"c74b932.e47c17","name":"Prob 2","rules":[{"t":"move","p":"payload[\"DS18B20-2\"].Temperature","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":1880,"wires":[["698c33fb.3193cc"]]},{"id":"389dd264.7716de","type":"mqtt-broker","z":"c74b932.e47c17","name":"","broker":"192.168.10.65","port":"1883","clientid":"Node-Red","usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]
I am building a pool controller with an Arduino for the sensors and relays inside the steel control panel and a raspberry pie with a built in 5 inch touch screen placed on the patio, to replace my old dated goldline pool controller.