Using tcp node for getting data in node red


I was getting data but now it stopped sending data coming in node red after some time how to fix this?I am querying sensor value by giving modbus command in sscom

[{"id":"44b997cd.ae6328","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"ce130de8.8ae98","type":"tcp in","z":"44b997cd.ae6328","name":"","server":"client","host":"192.168.1.1","port":"5001","datamode":"single","datatype":"utf8","newline":"","topic":"","base64":false,"x":180,"y":120,"wires":[["3c30d963.47a3a6"]]},{"id":"dd1bf507.901a48","type":"debug","z":"44b997cd.ae6328","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":630,"y":140,"wires":[]},{"id":"903ca0e4.9bea1","type":"debug","z":"44b997cd.ae6328","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":590,"y":220,"wires":[]},{"id":"3c30d963.47a3a6","type":"function","z":"44b997cd.ae6328","name":"","func":"msg.payload = msg.payload.toString('utf8')\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":400,"y":180,"wires":[["dd1bf507.901a48"]]}]

Data recvd-;sB�!>��h>��B>�9�A�apBn0W

change it to buffer

image

then you can access the bytes of data.


Earlier it was sending data but it suddenly stopped and uptil now data is not coming.last data was at 4:17:30 pm seconds.
Is there a scheduler node which can help in directly pulling data from lora gateway into node red instead of giving modbus commands in sscom for querying the sensor.
There is no problem in sscom as i can see data coming continously on it without any problem.

there is some issue with tcp input node it shows status as connected but somehow not able to recev the data in node red.


The lora gateway supports tcp/ip protocol for data transmission