Jey-Cee / ioBroker.net-tools

ioBroker network tools for ping, wake-on-lan and port scan.
Other
3 stars 3 forks source link
discover-devices discovery ping wol

Logo

ioBroker.net-tools

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

net-tools adapter for ioBroker

This adapter cyclic polls configured IPs, can send wake-on-lan packages and scan for open ports.

This discovery feature is provided by discovery adapter, which means discovery will be installed if is not and it has to run. Remark: This feature is limited to the subnet of the ioBroker host.

Important: You have to buy a license to use this adapter. You can buy one here -> https://www.all-smart.net/produkt/iobroker-net-tools-v1-lizenz/

Wichtig: Für die Nutzung dieses Adapters müssen Sie eine Lizenz erwerben. Sie können eine hier kaufen -> https://www.all-smart.net/produkt/iobroker-net-tools-v1-lizenz/

Auto discovery

There is automatic search feature to find devices. It is also possible to execute it scheduled. Note: If you are using ioBroker within a docker container this feature will not work depending on your network configuration.

Pings configured IP addresses

Pings specified IP addresses in defined interval and monitors the results. (alive, rps, time) The ping interval can be specified on device level.

Wake-on-LAN

Set the wol object to true and 3 WOL packages are sent, with a pause of 750ms, to your device.

Port scan

You can enter a list of ports or an range in config that should be scanned by default. If this field is empty the range 0-65535 will be taken as default. It is also possible to specify a list or range for every device which will be used for a single scan.

Enter a list or range of ports in object portList, if you want. This overwrites the setting in config. Set scan to true, this will scan for all open ports in the range of 0-65535 or what is defined in portList. This process takes a while. The result will be written to object ports.


iPhone

iPhones try to protect users against tracking while changing the mac address. Read more about it and how to disable for private networks: https://support.apple.com/en-us/102509


For Developers

Get mac for specific device

sendToAsync('net-tools.X, 'getMac', 'IP ADDRESS')

Remark: This feature is limited to the subnet of the ioBroker host.

Ping specific IP address

sendToAsync('net-tools.X, 'ping', 'IP ADDRESS')

Wake-on-LAN

sendToAsync('net-tools.x', 'wake', 'MAC ADDRESS')


Changelog

WORK IN PROGRESS

1.0.11 27.03.2024

1.0.9 19.03.2024

1.0.6 04.03.2024

1.0.5 04.02.2024

1.0.2 20.01.2024

1.0.1 19.01.2024

License

Attribution-NonCommercial 4.0 (CC BY-NC 4.0)

Copyright (c) 2024 Jey Cee iobroker@all-smart.net

http://creativecommons.org/licenses/by-nc/4.0/

Short content: Licensees may copy, distribute, display and perform the work and make derivative works based on it only if they give the author or licensor the credits in the manner specified by these. Licensees may copy, distribute, display, and perform the work and make derivative works based on it only for noncommercial purposes. (Free for non-commercial use).