Hello Everyone,
I am building an interface using node-red to connect to octoprint. I've successfully connected and am able to display (get) and send out (post) info to/from the printers. I have some gauges using node-red-dashboard displaying the temp of the nozzle and bed. They are currently working fine.
However, I would like to display the "actual temp" on the 'Value format' field and the "target temp" on the 'Units' field of the gauge. This also works at the moment but the text for the 'Units' field displayed on dashboard is tiny.
What I've tried:
Adding a change node before the gauge and do: Set msg.ui_control.options.labelMinFontSize to (number):12
This works, it resizes the font to the ideal size HOWEVER, since I am injecting the nodes every 5 seconds to capture the live data from the printer, the entire gauge now refreshes every 5 seconds (flashes, gauge goes from zero to 250 degree C) and does not look good.
My Question: Is there another way to set the font size of the Units? Maybe modifying the ui_gauge.js or html file so the change can be permanent/default? It seems like since the data is passing through a change node (or function, i've tried that too) it forces the gauge to refresh.
11 Jun 15:48:20 - [info] Node-RED version: v1.3.5
11 Jun 15:48:20 - [info] Node.js version: v14.16.1
here's my flow. Pardon the messy-ness, it's my first node-red flow.
Unfortunately, you won't see the flashing unless you connect a printer or something to get data from.
note: only the 'nozzle' gauge has the change node in front of it
node: I deleted a lot of other functioning nodes since I was hitting the limit on character count, lmk if I need to post the rest.
Thank you in advance
[{"id":"24b4fc1d.dc1434","type":"subflow","name":"Upload G-Code","info":"","category":"","in":[{"x":54,"y":126,"wires":[{"id":"9568cdc7.6c476"}]}],"out":[],"env":[],"meta":{},"color":"#DDAA99"},{"id":"fd46d45c.0b9468","type":"function","z":"24b4fc1d.dc1434","name":"Format the header and payload","func":"msg.headers = {\n \"Content-Type\": \"multipart/form-data; boundary=------------------------d74496d66958873e\"\n}\n\n\nmsg.payload = '--------------------------d74496d66958873e\\r\\n'+\n'Content-Disposition: form-data; name=\"select\"\\r\\n'+\n'\\r\\n'+\n'true\\r\\n'+\n'--------------------------d74496d66958873e\\r\\n'+\n'Content-Disposition: form-data; name=\"print\"\\r\\n'+\n'\\r\\n'+\n'false\\r\\n'+\n'--------------------------d74496d66958873e\\r\\n'+\n'Content-Disposition: form-data; name=\"file\"; filename=\"'+msg.filename+'\"\\r\\n'+\n'Content-Type: application/octet-stream\\r\\n'+\n'\\r\\n'+\nmsg.payload+'\\r\\n'+\n'--------------------------d74496d66958873e--\\r\\n';\n\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":544,"y":144,"wires":[["c634de7a.3d5e6"]]},{"id":"c634de7a.3d5e6","type":"http request","z":"24b4fc1d.dc1434","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"http://10.10.13.71/api/files/local?apikey=EF4EA6DCB7E845FEB33724865388D794","tls":"","persist":false,"proxy":"","authType":"","x":772,"y":144,"wires":[["da9503c3.f393d"]]},{"id":"da9503c3.f393d","type":"debug","z":"24b4fc1d.dc1434","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":934,"y":144,"wires":[]},{"id":"ebe4c7d6.bb5718","type":"file in","z":"24b4fc1d.dc1434","name":"","filename":"","format":"","chunk":false,"sendError":false,"x":338,"y":144,"wires":[["fd46d45c.0b9468"]]},{"id":"9568cdc7.6c476","type":"function","z":"24b4fc1d.dc1434","name":"","func":"msg.filename = msg.payload\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":186,"y":126,"wires":[["ebe4c7d6.bb5718","4b622c86.c0b5e4"]]},{"id":"4b622c86.c0b5e4","type":"debug","z":"24b4fc1d.dc1434","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":338,"y":72,"wires":[]},{"id":"a6a697b7.0da498","type":"subflow","name":"Conditioning","info":"","category":"","in":[{"x":56,"y":234,"wires":[{"id":"6cfb200c.654d7"}]}],"out":[{"x":776,"y":72,"wires":[{"id":"698e7586.cbcfdc","port":0},{"id":"7f9c3eeb.e9c4d","port":0}]},{"x":776,"y":126,"wires":[{"id":"bda4d05.f262d3","port":1}]},{"x":776,"y":180,"wires":[{"id":"2d4ec7b4.9ed328","port":0},{"id":"cdf869d4.821a58","port":0}]},{"x":776,"y":252,"wires":[{"id":"f3009186.c1427","port":0},{"id":"2d841f1.5eddde","port":0}]},{"x":848,"y":396,"wires":[{"id":"ec2fd52c.c95c68","port":"0"}]},{"x":848,"y":450,"wires":[{"id":"b58b0616.1300d8","port":0}]},{"x":848,"y":522,"wires":[{"id":"168e0e27.14fce2","port":0}]},{"x":848,"y":576,"wires":[{"id":"df390ef9.d68b9","port":0}]},{"x":848,"y":630,"wires":[{"id":"64834c4e.76b524","port":0}]},{"x":956,"y":324,"wires":[{"id":"e43c9f4b.6fea1","port":0},{"id":"c97d017b.52592","port":0}]}],"env":[],"meta":{},"color":"#DDAA99","inputLabels":["from http request"],"outputLabels":["Nozzle/Bed/State","Interface","Nozzle Timeline","Bed Timeline","Progress","Progress to 0","Current Job","Print Time Left","Elapsed Print Time"]},{"id":"b58b0616.1300d8","type":"change","z":"a6a697b7.0da498","name":"Set Progress 0","rules":[{"t":"set","p":"payload.progress.completion","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":486,"wires":[[]]},{"id":"7f9c3eeb.e9c4d","type":"json","z":"a6a697b7.0da498","name":"","property":"payload","action":"","pretty":false,"x":320,"y":108,"wires":[["f3009186.c1427","bda4d05.f262d3","2d4ec7b4.9ed328","cdf869d4.821a58","2d841f1.5eddde","57c14122.40984","698e7586.cbcfdc"]]},{"id":"168e0e27.14fce2","type":"json","z":"a6a697b7.0da498","name":"","property":"payload","action":"","pretty":false,"x":392,"y":540,"wires":[["ec2fd52c.c95c68","df390ef9.d68b9","64834c4e.76b524"]]},{"id":"6cfb200c.654d7","type":"switch","z":"a6a697b7.0da498","name":"","property":"api","propertyType":"msg","rules":[{"t":"cont","v":"PRINTER","vt":"str"},{"t":"cont","v":"JOB","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":176,"y":234,"wires":[["7f9c3eeb.e9c4d"],["168e0e27.14fce2"]]},{"id":"ec2fd52c.c95c68","type":"switch","z":"a6a697b7.0da498","name":"","property":"payload.progress.completion","propertyType":"msg","rules":[{"t":"nnull"},{"t":"cont","v":"null","vt":"str"},{"t":"null"}],"checkall":"true","repair":false,"outputs":3,"x":572,"y":432,"wires":[[],["b58b0616.1300d8"],["b58b0616.1300d8"]]},{"id":"f3009186.c1427","type":"change","z":"a6a697b7.0da498","name":"Bed Temp Actual","rules":[{"t":"move","p":"msg.payload.temperature.bed.actual","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"Line1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":234,"wires":[[]]},{"id":"bda4d05.f262d3","type":"function","z":"a6a697b7.0da498","name":"print check","func":"var state = msg.payload.state.flags.printing;\nvar msg1 = { background:\"green\",enabled: true };\nvar msg2 = { background:\"red\", enabled: false };\nif ( state === true ){\n global.set(\"state\",true);\n return [msg1,msg2];\n} else {\n global.set(\"state\",false);\n return [msg2,msg1];\n}","outputs":2,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":126,"wires":[[],[]]},{"id":"2d4ec7b4.9ed328","type":"change","z":"a6a697b7.0da498","name":"Tool Temp Actual","rules":[{"t":"move","p":"msg.payload.temperature.tool0.actual","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"Line1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":162,"wires":[[]]},{"id":"cdf869d4.821a58","type":"change","z":"a6a697b7.0da498","name":"Tool Temp Target","rules":[{"t":"move","p":"msg.payload.temperature.tool0.target","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"Line2","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":198,"wires":[[]]},{"id":"7f6842dd.92bbcc","type":"function","z":"a6a697b7.0da498","d":true,"name":"","func":"var msg1 = {};\nvar msg2 = {};\n\nmsg.payload = msg.payload.temperature.tool0.actual\nmsg.topic = 'Line1';\n\nmsg.payload = msg.payload.temperature.tool0.target\nmsg.topic = 'Line2';\n\nreturn [msg1, msg2];","outputs":2,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1104,"y":252,"wires":[[],[]]},{"id":"2d841f1.5eddde","type":"change","z":"a6a697b7.0da498","name":"Bed Temp Target","rules":[{"t":"move","p":"msg.payload.temperature.bed.target","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"Line2","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":270,"wires":[[]]},{"id":"df390ef9.d68b9","type":"function","z":"a6a697b7.0da498","name":"","func":"// Time HH:MM:SS from number\n\n// Hours\nvar Hours = ((msg.payload.progress.printTimeLeft)/3600);\nHours = Math.floor(Hours);\n\n// Minutes\nvar Minutes = (msg.payload.progress.printTimeLeft-(Hours*3600))/60;\nMinutes = Math.floor(Minutes);\n\n// Seconds\nvar Seconds = (msg.payload.progress.printTimeLeft-(Hours*3600)-(Minutes*60));\n\n// Concatenate\nvar Time = ('0' + Hours).slice(-2)+':'+('0' + Minutes).slice(-2)+':'+('0' + Seconds).slice(-2);\n\nmsg.payload = Time;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":618,"y":558,"wires":[[]]},{"id":"64834c4e.76b524","type":"function","z":"a6a697b7.0da498","name":"","func":"// Time HH:MM:SS from number\n\n// Hours\nvar Hours = ((msg.payload.progress.printTime)/3600);\nHours = Math.floor(Hours);\n\n// Minutes\nvar Minutes = (msg.payload.progress.printTime-(Hours*3600))/60;\nMinutes = Math.floor(Minutes);\n\n// Seconds\nvar Seconds = (msg.payload.progress.printTime-(Hours*3600)-(Minutes*60));\n\n// Concatenate\nvar Time = ('0' + Hours).slice(-2)+':'+('0' + Minutes).slice(-2)+':'+('0' + Seconds).slice(-2);\n\nmsg.payload = Time;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":618,"y":594,"wires":[[]]},{"id":"e43c9f4b.6fea1","type":"change","z":"a6a697b7.0da498","name":"","rules":[{"t":"set","p":"enabled","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"value","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"background","pt":"msg","to":"\"red\"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":782,"y":306,"wires":[[]]},{"id":"23319124.03b6de","type":"switch","z":"a6a697b7.0da498","name":"","property":"payload.state.flags.printing","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":626,"y":324,"wires":[["e43c9f4b.6fea1"],["c97d017b.52592"]]},{"id":"57c14122.40984","type":"rbe","z":"a6a697b7.0da498","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload.state.flags.printing","x":500,"y":324,"wires":[["23319124.03b6de"]]},{"id":"c97d017b.52592","type":"change","z":"a6a697b7.0da498","name":"","rules":[{"t":"set","p":"enabled","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"value","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"background","pt":"msg","to":"\"green\"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":782,"y":342,"wires":[[]]},{"id":"e24c988b.699b78","type":"change","z":"a6a697b7.0da498","d":true,"name":"","rules":[{"t":"set","p":"ui_control.options.minLabelMinFontSize","pt":"msg","to":"6","tot":"num"},{"t":"set","p":"ui_control.options.maxLabelMinFontSize","pt":"msg","to":"32","tot":"num"},{"t":"set","p":"ui_control.options.labelMinFontSize","pt":"msg","to":"32","tot":"str"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":638,"y":1224,"wires":[["8c14a7d9.681bb8"]]},{"id":"8c14a7d9.681bb8","type":"ui_gauge","z":"a6a697b7.0da498","d":true,"name":"","group":"39b7a5c6.1e9a8a","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value|number:2}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"3","seg2":"7","x":808,"y":1284,"wires":[]},{"id":"22d7d976.1fa2c6","type":"inject","z":"a6a697b7.0da498","d":true,"name":"","repeat":"1","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":508,"y":1284,"wires":[["f0bfbde4.1a8cf"]]},{"id":"f97cda05.dde058","type":"ui_ui_control","z":"a6a697b7.0da498","d":true,"name":"","x":298,"y":1084,"wires":[["95ef6d63.e77fd"]]},{"id":"2d8d8dd6.8c2a82","type":"comment","z":"a6a697b7.0da498","d":true,"name":"To send options when dashboard connects","info":"","x":394,"y":972,"wires":[]},{"id":"95ef6d63.e77fd","type":"delay","z":"a6a697b7.0da498","d":true,"name":"","pauseType":"delay","timeout":"40","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":438,"y":1144,"wires":[["e24c988b.699b78"]]},{"id":"250f93b0.a9b97c","type":"comment","z":"a6a697b7.0da498","d":true,"name":"Let gauge to be initialized before change any options","info":"There will be browser errors otherwise ","x":578,"y":1104,"wires":[]},{"id":"d94b0f1f.2a6f6","type":"comment","z":"a6a697b7.0da498","d":true,"name":"Change the options","info":"gauge scales according to predefined card size\ndefined font sizes are not absolute values but minimum values\nFor example if you make your gauge smaller, the changed font sizes may happen to be too large and will overlap.\n\nminLabelMinFontSize - minimum size of min field // number\nmaxLabelMinFontSize - minimum size of max field // number\nlabelMinFontSize - minimum size of units field // numbert\n\ndelete msg.payload cos it does not contain proper value","x":638,"y":1184,"wires":[]},{"id":"f0bfbde4.1a8cf","type":"function","z":"a6a697b7.0da498","d":true,"name":"random","func":"msg.payload = Math.random()*10\nreturn msg;","outputs":1,"noerr":0,"x":648,"y":1284,"wires":[["8c14a7d9.681bb8"]]},{"id":"a651e851.2a2a28","type":"comment","z":"a6a697b7.0da498","d":true,"name":"generate random value","info":"","x":588,"y":1324,"wires":[]},{"id":"698e7586.cbcfdc","type":"change","z":"a6a697b7.0da498","d":true,"name":"Adjust Gauge Font","rules":[{"t":"set","p":"ui_control.options.title","pt":"msg","to":"F12","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":558,"y":54,"wires":[[]]},{"id":"39b7a5c6.1e9a8a","type":"ui_group","name":"Default","tab":"ad12ad91.ab672","order":1,"disp":true,"width":"6","collapse":false},{"id":"ad12ad91.ab672","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false},{"id":"ac533c28.0d831","type":"http request","z":"8e75d807.a546a8","name":"","method":"use","ret":"txt","paytoqs":"ignore","url":"","tls":"","persist":false,"proxy":"","authType":"","x":592,"y":756,"wires":[["57ffe333.7f65ec"]]},{"id":"e5c3239a.dce3f","type":"ui_gauge","z":"8e75d807.a546a8","name":"","group":"6e8a7c0a.7ef564","order":9,"width":4,"height":4,"gtype":"gage","title":"Bed","label":"{{msg.payload.temperature.bed.target}}°C","format":"{{msg.payload.temperature.bed.actual}}°C","min":0,"max":"110","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1004,"y":728,"wires":[]},{"id":"5a2b499.5f7ceb8","type":"ui_gauge","z":"8e75d807.a546a8","name":"","group":"6e8a7c0a.7ef564","order":2,"width":4,"height":4,"gtype":"gage","title":"Nozzle","label":"{{msg.payload.temperature.tool0.target}}°C","format":"{{msg.payload.temperature.tool0.actual}}°C","min":0,"max":"265","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1130,"y":692,"wires":[]},{"id":"6e1efa20.c18224","type":"inject","z":"8e75d807.a546a8","name":"","props":[{"p":"payload"}],"repeat":"5","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":132,"y":736,"wires":[["c8a6d03e.84eeb"]]},{"id":"c6f66da6.bf827","type":"inject","z":"8e75d807.a546a8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":124,"y":890,"wires":[["56296096.151b7"]]},{"id":"8f57d24f.eecb4","type":"comment","z":"8e75d807.a546a8","name":"Load Config","info":"Read in the API Key and save the valua to an global var\nContent of the file:\n{\n \"apikey\": \"Octoprint API Key\",\n \"ip\": \"192.168.1.210\",\n \"port\": \"5000\"\n}\n","x":124,"y":854,"wires":[]},{"id":"c8a6d03e.84eeb","type":"function","z":"8e75d807.a546a8","name":"GET MESSAGE","func":"var apikey=flow.get('apikey') || 0;\nvar ip=flow.get('ip') || 0;\nmsg.headers = {};\nmsg.headers={\n 'Content-type':'application/json',\n 'X-Api-Key': apikey };\nvar url1 = \"http://\" + ip + \"/api/printer\";\nvar url2 = \"http://\" + ip + \"/api/job\";\n\n\nvar msg1={\"method\":\"GET\",\"headers\":msg.headers,\"url\":url1,\"api\":\"PRINTER\"};\nvar msg2={\"method\":\"GET\",\"headers\":msg.headers,\"url\":url2,\"api\":\"JOB\"};\n\nreturn [ [ msg1 , msg2 ] ];\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":386,"y":728,"wires":[["ac533c28.0d831"]]},{"id":"2c91ab11.b7abb4","type":"function","z":"8e75d807.a546a8","name":"POST MESSAGE","func":"var apikey=flow.get('apikey') || 0;\nvar ip=flow.get('ip') || 0;\nmsg.method = \"POST\";\nmsg.headers = {};\nmsg.headers={\n 'Content-type':'application/json',\n 'X-Api-Key': apikey };\nmsg.url = \"http://\" + ip + \"/api/printer/command\";\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":396,"y":782,"wires":[["ac533c28.0d831"]]},{"id":"300d67a9.44cfb8","type":"link out","z":"8e75d807.a546a8","name":"","links":["384a8a63.42d506"],"x":1559,"y":868,"wires":[]},{"id":"56296096.151b7","type":"function","z":"8e75d807.a546a8","name":"","func":"//flow.set(\"ip\", msg.payload.ip);\n//flow.set(\"apikey\", msg.payload.apikey);\n//return msg;\n\nflow.set(\"ip\", global.get('XX'));\nflow.set(\"apikey\", global.get('XX'));\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":366,"y":890,"wires":[[]]},{"id":"5f3cda72.d29fb4","type":"ui_button","z":"8e75d807.a546a8","name":"","group":"7bfb7591.f92bfc","order":1,"width":0,"height":0,"passthru":false,"label":"Home","tooltip":"","color":"","bgcolor":"{{msg.background}}","icon":"","payload":"{ \"command\": \"G28\" }","payloadType":"json","topic":"","topicType":"str","x":1364,"y":728,"wires":[["300d67a9.44cfb8"]]},{"id":"bb26625b.d5e37","type":"ui_text","z":"8e75d807.a546a8","group":"1187834b.c1f0dd","order":14,"width":2,"height":1,"name":"","label":"State: ","format":"{{msg.payload.state.text}}","layout":"row-left","x":1004,"y":764,"wires":[]},{"id":"4373ce63.cc52","type":"link in","z":"8e75d807.a546a8","name":"in_print_nonactive","links":["4a04cf65.5839f"],"x":1199,"y":868,"wires":[["5f3cda72.d29fb4"]]},{"id":"4a04cf65.5839f","type":"link out","z":"8e75d807.a546a8","name":"out_print_inactive","links":["4373ce63.cc52"],"x":1005,"y":818,"wires":[]},{"id":"384a8a63.42d506","type":"link in","z":"8e75d807.a546a8","name":"Post_MESSAGE_IN","links":["300d67a9.44cfb8"],"x":217,"y":796,"wires":[["2c91ab11.b7abb4"]]},{"id":"ada868d5.6f7a48","type":"ui_text_input","z":"8e75d807.a546a8","name":"","label":"Upload Gcode","tooltip":"Copy and Paste the address of file then press Enter","group":"1187834b.c1f0dd","order":19,"width":0,"height":0,"passthru":false,"mode":"text","delay":"0","topic":"topic","topicType":"msg","x":116,"y":998,"wires":[["9734f548.ed7d58"]]},{"id":"57ffe333.7f65ec","type":"subflow:a6a697b7.0da498","z":"8e75d807.a546a8","name":"","env":[],"x":808,"y":1034,"wires":[["bb26625b.d5e37","e5c3239a.dce3f","b7cdad5e.4cc3d"],["4a04cf65.5839f"],[],[],[],[],[],[],[],["1c6220e3.4653ff"]]},{"id":"9734f548.ed7d58","type":"subflow:24b4fc1d.dc1434","z":"8e75d807.a546a8","name":"","env":[],"x":314,"y":998,"wires":[]},{"id":"1c6220e3.4653ff","type":"ui_switch","z":"8e75d807.a546a8","name":"","label":"Tool Temp 265°C","tooltip":"","group":"6e8a7c0a.7ef564","order":19,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"{ \"commands\" :[ \"M104 S265\"] }","onvalueType":"json","onicon":"","oncolor":"","offvalue":"{ \"commands\" : [ \"M104 S0\" ] }","offvalueType":"json","officon":"","offcolor":"","animate":false,"x":1404,"y":1088,"wires":[["300d67a9.44cfb8"]]},{"id":"b7cdad5e.4cc3d","type":"change","z":"8e75d807.a546a8","name":"","rules":[{"t":"set","p":"ui_control.options.labelMinFontSize","pt":"msg","to":"32","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":872,"y":692,"wires":[["5a2b499.5f7ceb8"]]},{"id":"6e8a7c0a.7ef564","type":"ui_group","name":"Temperature","tab":"757ca397.8a250c","order":3,"disp":true,"width":8,"collapse":false},{"id":"7bfb7591.f92bfc","type":"ui_group","name":"Move","tab":"757ca397.8a250c","order":2,"disp":true,"width":"6","collapse":false},{"id":"1187834b.c1f0dd","type":"ui_group","name":"Info","tab":"757ca397.8a250c","order":1,"disp":true,"width":"6","collapse":true},{"id":"757ca397.8a250c","type":"ui_tab","name":"FS02","icon":"dashboard","order":4,"disabled":false,"hidden":false}]