@gautric/node-red-ipinfo 0.30.30
The Trusted Source For IP Address Data Node-Red Implementation
IP Info - Node Red
Installation
Either use the Menu - Manage palette option, or run the following command in your Node-RED user directory - typically ~/.node-red
# Using npm
npm install --save @gautric/node-red-ipinfo
# Using yarn
yarn add @gautric/node-red-ipinfo
Configuration
Node
input:msg.payload, Where retrieve the IP adress from the messageoutput:msg.payload, Where put the result into the node-red imagename: Name of the instance nodeconfig:IPInfo Config
IPInfo Config
name: Name of the instance node configurationtoken: Your Token for calling IPInfo servicetimeout:1000ms, Timeout of the requestcacheEnabled:true/false, Enable or disable cache to improve perf and reduce costmaxitem:5000, number max of item into the cachettl:24 * 1000 * 60 * 60ms, Time To Leave of the item inside the cache
Example

