Dashboard Text display

Hi, I am trying to display two text with label name and score. I manage to split the message but it only display score in my dashboard.


I would start by fixing the error at the top of the debug window. If you click where it says node: followed by the node id then it should highlight the node giving the error. It looks as if you have an error in the node's config. If you give all nodes names in their config then when you get an error it will show the node name instead of just the id.

The error occur as I try and error the split node. There is no error actually.

Sorry, that statement does not make sense. There is an error in that node. Show us how you have configured it, you can paste a screenshot directly here.


I just set the node as default

I have no idea what that means or why you have posted an image of the flow again. I think the best thing is if you share the flow here. Select all the nodes in the image you posted (except the image preview as I presume that has nothing to do with the problem) and select Export from the hamburger menu, then Copy to Clipboard. Then in the forum text entry window go to a new line and click the </> button above the window and paste the flow in.
Also explain exactly what you expect to see in the debug output and in the dashboard.

[{"id":"e87edf67.5b8c2","type":"teachable machine","z":"1f45c9a0.880ab6","name":"","mode":"online","modelUrl":"https://teachablemachine.withgoogle.com/models/WSAEhC33b/","localModel":"teachable_model","output":"best","activeThreshold":false,"threshold":80,"activeMaxResults":false,"maxResults":3,"passThrough":true,"x":378,"y":120,"wires":[["c29f429d.789a3"]]},{"id":"b245bdb8.3618f","type":"fileinject","z":"1f45c9a0.880ab6","name":"","x":140,"y":120,"wires":[["e87edf67.5b8c2","c7beb8a6.ba2af8"]]},{"id":"c7beb8a6.ba2af8","type":"image","z":"1f45c9a0.880ab6","name":"","width":160,"data":"payload","dataType":"msg","thumbnail":false,"active":true,"pass":false,"outputs":0,"x":380,"y":220,"wires":[]},{"id":"3e507888.9dfc58","type":"debug","z":"1f45c9a0.880ab6","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":870,"y":120,"wires":[]},{"id":"65ee7e86.bd0b6","type":"ui_text","z":"1f45c9a0.880ab6","group":"ed9f6790.1226c8","order":3,"width":0,"height":0,"name":"","label":"Score","format":"{{msg.payload}}","layout":"col-center","x":850,"y":320,"wires":[]},{"id":"c29f429d.789a3","type":"split","z":"1f45c9a0.880ab6","name":"","splt":"\\n","spltType":"str","arraySplt":"1","arraySpltType":"len","stream":false,"addname":"","x":570,"y":120,"wires":[["b630cfe5.545d8"]]},{"id":"b630cfe5.545d8","type":"split","z":"1f45c9a0.880ab6","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":710,"y":220,"wires":[["65ee7e86.bd0b6","3e507888.9dfc58"]]},{"id":"ed9f6790.1226c8","type":"ui_group","z":"","name":"Result","tab":"fac4adcc.be33b","order":2,"disp":true,"width":"6","collapse":false},{"id":"fac4adcc.be33b","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

I want the dashboard to display the name of the person and the score. Before the split node is connected the dashboard display something like this.


In the version without the split nodes, put in the text node Value Format field
{{msg.payload[0].class}} {{msg.payload[0].score}}

@shazni did that help?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.