Thank you! I tried that node from the past and it seems doesn't work well as what the demo looks about.
Their sample output:
Why it doesn't animate?
My code:
[
{
"id": "7d145eb6.29b98",
"type": "ui_level",
"z": "deae5156.4857e",
"group": "97d6a3ec.21de7",
"order": 0,
"width": "6",
"height": "1",
"name": "",
"label": "Horizontal",
"colorHi": "#e60000",
"colorWarn": "#ff9900",
"colorNormal": "#00b33c",
"colorOff": "#595959",
"min": 0,
"max": 100,
"segWarn": "23",
"segHigh": "75",
"unit": "buss",
"layout": "sh",
"channelA": "",
"channelB": "",
"decimals": 0,
"animations": "soft",
"shape": "1",
"x": 550,
"y": 180,
"wires": []
},
{
"id": "9f69a78b.9abf38",
"type": "inject",
"z": "deae5156.4857e",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 140,
"y": 180,
"wires": [
[
"d47c42a6.0bde9"
]
]
},
{
"id": "d47c42a6.0bde9",
"type": "function",
"z": "deae5156.4857e",
"name": "Data generator",
"func": "msg.payload = Math.round(Math.random()*100);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 340,
"y": 180,
"wires": [
[
"7d145eb6.29b98"
]
]
},
{
"id": "97d6a3ec.21de7",
"type": "ui_group",
"z": "",
"name": "H",
"tab": "31ca105a.5061d",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "31ca105a.5061d",
"type": "ui_tab",
"z": "",
"name": "Home",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]