Virtual tank GUI2 via NodeRed

I am struggling to get a value into a virtual tank sensor.

The plan is to use a Shelly blu ultrasonic sensor via MQTT but for now I am testing with an inject node.

I see the tank in the GUI but are not able to get it to display a value.

All i try ends in this error:

“Received invalid payload, expected an object with payload. Ignoring.”

Any advice?

Cerco MKII with 370 beta 49

Try the inject into a custom control node where you choose the virtual tank as the object and then the fluid level as the value.

I will try that. Thanks

That worked! Thank you!