# Sent text to Domoticz IDX

**URL:** <https://discourse.nodered.org/t/sent-text-to-domoticz-idx/94233>\
**Category:** General\
**Created:** [29 December 2024 11:56 UTC](https://discourse.nodered.org/t/sent-text-to-domoticz-idx/94233 "2024-12-29T11:56:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spike318](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/spike318/32/79235_2.png) [@spike318](https://discourse.nodered.org/u/spike318)\
**Post date:** [29 December 2024 11:56 UTC](https://discourse.nodered.org/t/sent-text-to-domoticz-idx/94233/1 "2024-12-29T11:56:56Z")

</div>

I have this value in debug window

29-12-2024, 12:52:30[node: 2](http://192.168.1.19:1880/#)BMS02/Pack\_Data : msg.payload : string[22]

**""Sum volt low level 1""**

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/9/f9c54ff12619e3d49c96fe6283e887dfe0a9848b.png)

I want to sent this as a text to IDX506 to Domoticz

i've this in a function

"msg.payload4 = msg.payload ;  
msg.payload = {"idx":506,"nvalue":0,"svalue":msg.payload4};

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/9/f9c54ff12619e3d49c96fe6283e887dfe0a9848b.png)

---

<div class="post-metadata">

**Author:** ![spike318](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/spike318/32/79235_2.png) [@spike318](https://discourse.nodered.org/u/spike318)\
**Post date:** [29 December 2024 12:05 UTC](https://discourse.nodered.org/t/sent-text-to-domoticz-idx/94233/2 "2024-12-29T12:05:26Z")

</div>

msg.payload4 = msg.payload;  
msg.payload = {"idx":506,"nvalue":0,"svalue":msg.payload4};  
return msg;

i forgot the return its working now

---

<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:** [12 January 2025 12:05 UTC](https://discourse.nodered.org/t/sent-text-to-domoticz-idx/94233/3 "2025-01-12T12:05:36Z")

</div>

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