I think I found this in another post
[
{
"id": "fad1640e.39cf78",
"type": "inject",
"z": "68bac6fc.a91c88",
"name": "",
"props": [
{
"p": "payload",
"v": "true",
"vt": "bool"
},
{
"p": "topic",
"v": "",
"vt": "string"
}
],
"repeat": "60",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 70,
"y": 600,
"wires": [
[
"24b6f3b8.3b4a9c"
]
]
},
{
"id": "24b6f3b8.3b4a9c",
"type": "exec",
"z": "68bac6fc.a91c88",
"command": "vcgencmd",
"addpay": false,
"append": "measure_temp",
"useSpawn": "false",
"timer": "",
"oldrc": false,
"name": "",
"x": 330,
"y": 600,
"wires": [
[
"89f596af.9ae6b8"
],
[],
[]
]
},
{
"id": "89f596af.9ae6b8",
"type": "change",
"z": "68bac6fc.a91c88",
"name": "",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "pitemp/Automation",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 350,
"y": 660,
"wires": [
[
"e18c947.a9dce68",
"fd36720a.bbecd"
]
]
},
{
"id": "e18c947.a9dce68",
"type": "mqtt out",
"z": "68bac6fc.a91c88",
"name": "",
"topic": "",
"qos": "",
"retain": "",
"broker": "5d7e8c9.d0edf74",
"x": 330,
"y": 720,
"wires": []
},
{
"id": "f67256e3.482398",
"type": "comment",
"z": "68bac6fc.a91c88",
"name": "CPU Temperature",
"info": "",
"x": 110,
"y": 560,
"wires": []
},
{
"id": "fd36720a.bbecd",
"type": "debug",
"z": "68bac6fc.a91c88",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 540,
"y": 660,
"wires": []
},
{
"id": "5d7e8c9.d0edf74",
"type": "mqtt-broker",
"z": "",
"name": "",
"broker": "192.168.1.21",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": false,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
}
]