Folks,
I'm new to the new dashboard and this is confusing.
Status quo - to call it.
(Yeah, a lot of screen shots)
Nice "short" buttons.
(edit side - just to declare things)
Now, when I enable that text field:
Why the taller buttons?
Code:
[{"id":"b3efbc304ded5586","type":"ui-gauge-classic","z":"b39000460508d582","name":"Up","group":"6f4a6f88bfbb219b","order":4,"width":"4","height":"4","min":0,"max":"100","sectors":[],"major_division":"10","minor_division":"2","value_decimal_places":1,"scale_decimal_places":0,"label":"","measurement":"UP","units":"MB/S","needles":[{"topic":"","color":"black","lengthPercent":"100"}],"sweep_angle":250,"myclass":"","x":1250,"y":530,"wires":[]},{"id":"9f911bf264a37747","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":530,"wires":[["b3efbc304ded5586"]],"l":false},{"id":"88740176955f399c","type":"junction","z":"b39000460508d582","x":1130,"y":620,"wires":[["b3efbc304ded5586","df63fe35206bb344","aeade13e1f736ed5","02e9a8c62cff0c18"]]},{"id":"55564aeb8cf59718","type":"function","z":"b39000460508d582","name":"function 1","func":"const up = msg.payload.upload.bandwidth\nconst down = msg.payload.download.bandwidth\nconst jitter = msg.payload.ping.jitter\n\nconst msg1 = {\"payload\":up / 100000,\"topic\":\"UP\"}\nconst msg2 = {\"payload\":down/ 100000,\"topic\":\"DOWN\"}\nconst msg3 = {\"payload\":jitter,\"topic\":\"JITTER\"}\n\nreturn [msg1,msg2, msg3]","outputs":3,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":590,"wires":[["9f911bf264a37747","dc599b15a803b171"],["a95943a269acba3a","dc599b15a803b171"],["3084f7137ef25712","760e70e8cdda211b","dc599b15a803b171"]],"outputLabels":["up","down","jitter"]},{"id":"9734efc198b32b22","type":"junction","z":"b39000460508d582","x":1000,"y":530,"wires":[["a95943a269acba3a","3084f7137ef25712","9f911bf264a37747","8a0f2457de496a8a"]]},{"id":"5d5e9423a985e2b3","type":"change","z":"b39000460508d582","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":675,"y":620,"wires":[["88740176955f399c"]],"l":false},{"id":"df63fe35206bb344","type":"ui-gauge-classic","z":"b39000460508d582","name":"Down","group":"6f4a6f88bfbb219b","order":1,"width":"4","height":"4","min":0,"max":"100","sectors":[],"major_division":"10","minor_division":"2","value_decimal_places":1,"scale_decimal_places":0,"label":"","measurement":"DOWN","units":"MB/S","needles":[{"topic":"","color":"black","lengthPercent":"100"}],"sweep_angle":250,"myclass":"","x":1250,"y":580,"wires":[]},{"id":"aeade13e1f736ed5","type":"ui-gauge-linear","z":"b39000460508d582","name":"","group":"6f4a6f88bfbb219b","order":10,"width":"8","height":"1","min":0,"max":"1","ticks":[],"colors":[{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(0, 227, 0)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 169, 22)"},{"size":100,"color":"rgb(255, 76, 22)"},{"size":100,"color":"rgb(255, 76, 22)"}],"zeroCrossColors":["#ff4c16","#00e300"],"mode":"default","bar":"segmented","minLabel":"","maxLabel":"","label":"JITTER","icon":"","unit":"Jitter","dim":"0.3","property":"payload","decimals":2,"zeros":true,"myclass":"","x":1270,"y":660,"wires":[]},{"id":"02e9a8c62cff0c18","type":"ui-text","z":"b39000460508d582","group":"6f4a6f88bfbb219b","order":9,"width":"2","height":"1","name":"","label":"Jitter value","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":1270,"y":700,"wires":[]},{"id":"cca85169024b2e11","type":"function","z":"b39000460508d582","name":"Now()","func":"msg.time = time();\nfunction time() { return { time: new Date().toLocaleTimeString() } };\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":675,"y":660,"wires":[["55564aeb8cf59718","8a0f2457de496a8a"]],"l":false},{"id":"a95943a269acba3a","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":580,"wires":[["df63fe35206bb344"]],"l":false},{"id":"3084f7137ef25712","type":"trigger","z":"b39000460508d582","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1065,"y":660,"wires":[["aeade13e1f736ed5","02e9a8c62cff0c18"]],"l":false},{"id":"760e70e8cdda211b","type":"debug","z":"b39000460508d582","name":"Jitter","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1100,"y":710,"wires":[]},{"id":"a0d12323f02eccb0","type":"change","z":"b39000460508d582","name":"Reset","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":955,"y":490,"wires":[["9734efc198b32b22"]],"l":false},{"id":"8a0f2457de496a8a","type":"trigger","z":"b39000460508d582","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"10","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":755,"y":580,"wires":[["fbeeb3f149c2d8ba","c3f89cd42bfcb661"],["dce9cad1b1549593","c3f89cd42bfcb661"]],"l":false},{"id":"f5dd0f4c10b5a02f","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"WIPE","order":7,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"0","payloadType":"num","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":570,"wires":[["dce9cad1b1549593","8344fa99a2a4949f","5d5e9423a985e2b3"]]},{"id":"a2b99db0037e519c","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"Test","order":2,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"Running","payloadType":"str","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":530,"wires":[["cdec8dfd8222d653","5d5e9423a985e2b3","9ed83ad96f7a8405","c3f89cd42bfcb661"]]},{"id":"cdec8dfd8222d653","type":"speedtest","z":"b39000460508d582","name":"","maxTime":5000,"serverId":"","acceptLicense":true,"acceptGdpr":true,"x":540,"y":660,"wires":[["cca85169024b2e11"]]},{"id":"de5be44bacf7ef7d","type":"ui-button","z":"b39000460508d582","group":"6f4a6f88bfbb219b","name":"","label":"HOLD","order":6,"width":"1","height":"1","emulateClick":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","iconPosition":"left","payload":"X","payloadType":"str","topic":"topic","topicType":"msg","buttonColor":"","textColor":"","iconColor":"","enableClick":true,"enablePointerdown":false,"pointerdownPayload":"","pointerdownPayloadType":"str","enablePointerup":false,"pointerupPayload":"","pointerupPayloadType":"str","x":530,"y":490,"wires":[["a0d12323f02eccb0","5bdde14fb80b87f6"]]},{"id":"dce9cad1b1549593","type":"change","z":"b39000460508d582","name":"Wipe","rules":[{"t":"set","p":"payload","pt":"msg","to":" ","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":460,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"fbeeb3f149c2d8ba","type":"change","z":"b39000460508d582","name":"RESULT","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== RESULT ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":420,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"c3f89cd42bfcb661","type":"junction","z":"b39000460508d582","x":830,"y":530,"wires":[["83a84fbcd60566a5"]]},{"id":"8344fa99a2a4949f","type":"change","z":"b39000460508d582","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":675,"y":550,"wires":[["c3f89cd42bfcb661"]],"l":false},{"id":"9ed83ad96f7a8405","type":"change","z":"b39000460508d582","name":"Running","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== RUNNING ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":380,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"ef4a762fbd189044","type":"inject","z":"b39000460508d582","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":530,"y":720,"wires":[["cdec8dfd8222d653"]]},{"id":"5bdde14fb80b87f6","type":"change","z":"b39000460508d582","name":"Hold","rules":[{"t":"set","p":"payload","pt":"msg","to":"--== HOLD ==--","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":755,"y":340,"wires":[["8faf0d2cb0338722"]],"l":false},{"id":"8faf0d2cb0338722","type":"junction","z":"b39000460508d582","x":830,"y":380,"wires":[["3356f32d9cee6b1a"]]},{"id":"d5c5267d47461eb8","type":"inject","z":"b39000460508d582","name":"Initialise","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":755,"y":510,"wires":[["c3f89cd42bfcb661"]],"l":false},{"id":"83a84fbcd60566a5","type":"ui-led","z":"b39000460508d582","name":"","group":"6f4a6f88bfbb219b","order":3,"width":"1","height":"1","label":"State","labelPlacement":"left","labelAlignment":"left","states":[{"value":"false","valueType":"bool","color":"#ff0000"},{"value":"true","valueType":"bool","color":"#00ff00"},{"value":"Running","valueType":"str","color":"#f6d32d"}],"allowColorForValueInMessage":false,"shape":"circle","showBorder":true,"showGlow":true,"x":920,"y":530,"wires":[]},{"id":"3356f32d9cee6b1a","type":"ui-text","z":"b39000460508d582","group":"6f4a6f88bfbb219b","order":5,"width":"2","height":"1","name":"State","label":"","format":"{{msg.payload}}","layout":"col-center","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":920,"y":380,"wires":[]},{"id":"6f4a6f88bfbb219b","type":"ui-group","name":"Group 1","page":"b9b507aa5c5840c2","width":"10","height":1,"order":1,"showTitle":false,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"b9b507aa5c5840c2","type":"ui-page","name":"Down/Up load speed tester","ui":"379027033ed5c83a","path":"/page1","icon":"home","layout":"flex","theme":"aba172339379333c","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":"true","disabled":"false"},{"id":"379027033ed5c83a","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"headerContent":"page","navigationStyle":"default","titleBarStyle":"default","showReconnectNotification":true,"notificationDisplayTime":1,"showDisconnectNotification":true},{"id":"aba172339379333c","type":"ui-theme","name":"Default Theme","colors":{"surface":"#ffffff","primary":"#0094CE","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]
EXTERNAL NODE:
node-red-contrib-speedtest
(but that doesn't really matter - does it?
Thanks in advance.