If Device_end_id is already a javascript variable then all you need is http_packet.payload.devEui = Device_end_id
However, I suspect that Device_end_id may not be a simple javascript variable of that name. If so then give us more information about what that variable is.
You are using msg.end_device_id have you checked the msg BEFORE it goes in to the function?
Canned text...
There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
thank you ALL.. still working on the receiving end, since the dveui data finally was created, but it goes as header information , not part of the "telemetry" .. next to solve
solution