hello, i can't control the following attribute via "Control via messages"!
-> ui_svg_graphicsPumpe.json (6.2 KB)
"payload":[
{
"command": "set_attribute",
"selector": "#Solarpumpe",
"attributeName": "dur",
"attributeValue": "1s"
},
{
"command": "update_attribute",
"selector": "#Solarpumpe",
"attributeName": "fill",
"attributeValue": "green"
}
]
The change of the color works, the change of the speed does not!
Judy,
Can you share/export this part of your flow, with e.g. inject node and svg node. I don't see at first sight what might be wrong. Might be a bug...
Barr
a new id "Page-1" in the right place and you are ready to go.
[
{
"command": "set_attribute",
"selector": "#Page-1",
"attributeName": "dur",
"attributeValue": "0s"
}
]
Sorry
Hello Bart,
after this small success another question.
This animation (pump) I would like to display outside the dashboard?
My SmartHome (HomeAssistant) shows the heating control on->
No problem. Glad that you found it yourself meanwhile!
Could you explain that a bit more in detail? Not sure what you mean.
The node-red-contrib-ui-svg node can only show a drawing in the Node-RED dashboard.
Thanks for the help, I am thrilled with "Node-Red" and "ui_svg_graphics"! I try to implement my visualization in the dashboard.
Great project and great work from you - THANKS