Skip to content

The Trusted Source For IP Address Data Node-Red Implementation

License

Notifications You must be signed in to change notification settings

gautric/node-red-ipinfo

Repository files navigation

IP Info - Node Red

platform GitHub last commit Version Downloads

Buy Me A Coffee

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 message
    • output : msg.payload, Where put the result into the node-red image
    • name : Name of the instance node
    • config : IPInfo Config
  • IPInfo Config

    • name: Name of the instance node configuration
    • token: Your Token for calling IPInfo service
    • timeout: 1000 ms, Timeout of the request
    • cacheEnabled: true/false, Enable or disable cache to improve perf and reduce cost
    • maxitem: 5000, number max of item into the cache
    • ttl: 24 * 1000 * 60 * 60 ms, Time To Leave of the item inside the cache

Example

Screenshot

Get Help

For bug reports and feature requests, open issues.

About

The Trusted Source For IP Address Data Node-Red Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published