NodeRED Lesson: Host IP

Node Host IP bagi memberitahu IP Address Raspberry Pi dalam bentuk IPv4 dan IPv6.

Berikut adalah video demo nya.

Node-RED Flow

[{"id":"421771cf.d907d","type":"hostip","z":"3dccd5a5.2de07a","name":"Host IP","x":440,"y":260,"wires":[["9f567f81.60f18","bd36034.a7f4e"]]},{"id":"1dc105a2.66963a","type":"inject","z":"3dccd5a5.2de07a","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":280,"y":260,"wires":[["421771cf.d907d"]]},{"id":"9f567f81.60f18","type":"function","z":"3dccd5a5.2de07a","name":"","func":"msg.payload=msg.payload[0].address;\nreturn msg;","outputs":1,"noerr":0,"x":590,"y":260,"wires":[["bd36034.a7f4e"]]},{"id":"bd36034.a7f4e","type":"debug","z":"3dccd5a5.2de07a","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":570,"y":380,"wires":[]}]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.