# no update/modification of "rotate: dur" bei Control via messages 

**URL:** https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821
**Category:** Dashboard
**Created:** [6 October 2020 08:39 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821 "2020-10-06T08:39:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![judie07](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/judie07/32/29786_2.png) [@judie07](https://discourse.nodered.org/u/judie07)
#### Post date: [6 October 2020 08:39 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/1 "2020-10-06T08:39:07Z")

</div>

hello, i can't control the following attribute via "Control via messages"!  
-\> ui\_svg\_graphics[Pumpe.json](https://discourse.nodered.org/uploads/short-url/7AEJOzwRPYffUSIYHonC1N6ysAh.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!

Thanks

update -\> im post [Node-red-contrib-ui-svg : server side logging](https://discourse.nodered.org/t/node-red-contrib-ui-svg-server-side-logging/26728)

switched on and -\> "An SVG element selected by '#Solarpumpe' has no attribute with name 'fill'"

=\> but the color changes!

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [6 October 2020 16:16 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/2 "2020-10-06T16:16:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![judie07](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/judie07/32/29786_2.png) [@judie07](https://discourse.nodered.org/u/judie07)
#### Post date: [6 October 2020 17:00 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/3 "2020-10-06T17:00:59Z")

</div>

This is the export of my flow[Pumpe.json](https://discourse.nodered.org/uploads/short-url/7AEJOzwRPYffUSIYHonC1N6ysAh.json) (6.2 KB)

---

<div class="post-metadata">

### Author: ![judie07](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/judie07/32/29786_2.png) [@judie07](https://discourse.nodered.org/u/judie07)
#### Post date: [6 October 2020 17:20 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/4 "2020-10-06T17:20:43Z")

</div>

NOOOO it´s not a bug!

```auto
<g id="Solarpumpe" transform="matrix(.26458 0 0 .25613 -138.24 159.34)" font-family="Arial" font-size="14px" stroke-width="1.0164">
   <g font-family="Arial" font-size="14px" stroke-width="1.0164">
    <g transform="matrix(.34425 0 0 -.31906 275.72 515.47)">
     <g stroke-width="3.117">
      <animateTransform id="Page-1" attributeName="transform"

```

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

---

<div class="post-metadata">

### Author: ![judie07](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/judie07/32/29786_2.png) [@judie07](https://discourse.nodered.org/u/judie07)
#### Post date: [6 October 2020 18:03 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/5 "2020-10-06T18:03:50Z")

</div>

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-\>

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/2/02977f93ad1e3a9bcd079548688be33894c5bf08.png)

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [6 October 2020 18:49 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/6 "2020-10-06T18:49:39Z")

</div>

> [@judie07](#):
>
> Sorry

No problem. Glad that you found it yourself meanwhile!

> [@judie07](#):
>
> This animation (pump) I would like to display outside the dashboard?

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.

---

<div class="post-metadata">

### Author: ![judie07](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/judie07/32/29786_2.png) [@judie07](https://discourse.nodered.org/u/judie07)
#### Post date: [6 October 2020 19:24 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/7 "2020-10-06T19:24:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [6 October 2020 19:32 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/8 "2020-10-06T19:32:23Z")

</div>

Thanks for the nice feedback!!

> [@judie07](#):
>
> after this small success another question.

But can you explain that question a bit more!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 November 2020 19:32 UTC](https://discourse.nodered.org/t/no-update-modification-of-rotate-dur-bei-control-via-messages/33821/9 "2020-11-05T19:32:27Z")

</div>

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