Jump to content

Modbus and Bluetooth data sending to Node-RED: Difference between revisions

Line 260: Line 260:
Look into Modbus data to server via MQTT section for Modbus Slave and Master setup. Navigate to navigate to '''Services -> Data to server.''' Add new data sender and configure settings accordingly:
Look into Modbus data to server via MQTT section for Modbus Slave and Master setup. Navigate to navigate to '''Services -> Data to server.''' Add new data sender and configure settings accordingly:


*'''Enable''': on
# '''Enable''': on
*'''Name''': tcp (input any preferred name)
# '''Name''': tcp (input any preferred name)
*'''Data source''': MODBUS data
# '''Data source''': MODBUS data
*'''Protocol''': HTTP(S)
# '''Protocol''': HTTP(S)
*'''JSON format''': {"Data": %a} - adjust this according to your needs
# '''JSON format''': {"Data": %a} - adjust this according to your needs
*'''Segment count''': 1
# '''URL/Host/Connection string''': 192.168.10.139:8080 (virtual machine address and port number)
*'''URL/Host/Connection string''': 192.168.10.139:8080 (virtual machine address and port number)


[[File:Modbus data http to node red.png|border|800px|class=tlt-border]]
[[File:Modbus data http to node red.png|border|800px|class=tlt-border]]