Friday, August 29, 2025

HF2211 iot setting

 

















Initial 


TCP-SERVER


MQTT

Detail

UART Protocol Device for use MQTT
UART Protocol Modbus for use TCP

UART Protocol Device for use MQTT

https://www.youtube.com/watch?v=URnt9w62yxg

UART Protocol Modbus for use TCP
https://www.youtube.com/watch?v=ILlH-zUioWI

node-red

http://192.168.0.86:1880/

node-red dashboard 

http://192.168.0.86:1880/ui

TCP modbus client setting

Set TCP server


Function1

var Humidity = { payload: Number(msg.payload[0])/10 };
var temperature = { payload: Number(msg.payload[1])/10 };
return [Humidity, temperature];