How to write a variable from flow

Revision as of 12:46, 16 March 2020 by Registered User

My proposed solution with standard nodes is :

I have added a slider to generate the value (but can be done by any node) then the “template” node formats the payload, and the change node set the topic.

Details : stm32CubeMonitor slider.png The template node :


The variable address and variable type must be filled here. For the type and address, the easiest way it to try first with a write panel and a debug node, and see the values. The Payload value from input will be inserted in the template. (the value to write)


The next node is a “change” to set the topic to write




The result :


When the slider is moved, the new value is written to g_constDouble