I am using node-red to read one device via Modbus TCP. this step is working. also I use node-red module to send email and it works as well. however, when I include some data from modbus reading into a html email content, I got some issue.
I attach template module to display msg.payload from previous node, but I can't get data display.
When I connect buffer-parser node to debug node, and use msg.payload.vln[0] in debug output , I got reading. but after connect to template node then connect debug node, msg.payload.vln[0] in template node, program can't display value for payload.vln[0]
Either you are working with msg.payload.vln[ 0 ] or with msg.payload.VLN[ 0 ].
Which is it?
The template is modifying msg.payload to contain some html, so it's no surprise if a debug afterwards can find neither msg.payload.VLN[0] nor msg.payload.vln[0]