node-red-contrib-padavan 1.0.1

Router management with Padavan firmware

npm install node-red-contrib-padavan

Router management with Padavan firmware

Install

npm install node-red-contrib-padavan

Nodes

Configuration

Input

credentials Description
repo Repository where firmware builds are hosted
branch Branch for the device
token Access token for GitHub
host Router IP address
username Username for router access
password Password for router access

SpeedTest

Measure download and upload speeds

Output

outputs Description
result Result
history Result with date and timestamp
progress Test start and end
result.msg type Value
topic string NetworkControl
payload object
payload Description
networkDownloadSpeedMbps Download speed
networkUploadSpeedMbps Upload speed

Devices

Get the list of connected devices

Output

msg type
payload array
numConnectedDevices integer
payload
hostname
ip
mac
rssi

History

Retrieve traffic history

Output

msg type
payload object
networkUsage string
networkUsageMB integer
payload type Description
daily_history array Daily
monthly_history array Monthly
*_history Description
0 Year, month, day
1 Download
2 Upload

Updates

Manage firmware updates

Input

msg type
topic string
topic Description
build Build firmware
changelog List of changes
upgrade Install firmware

Output

msg type Value
topic string changelog
error string
payload object
payload Description
from_id Current firmware
to_id Built firmware
data Array of changes

Status

Retrieve and manage router status

Input

msg type
topic string
topic Description
status Get current status
log Get logs
reboot Reboot

Output

msg type Value
topic string status
payload object
payload Description
lavg System load average over the last 1, 5, and 15 minutes
uptime Router uptime
ram RAM usage information
swap Swap memory status
cpu CPU load information
wifi2 Wi-Fi status on the 2.4 GHz band
wifi5 Wi-Fi status on the 5 GHz band
logmt Timestamp of the last log modification
uptime
days
hours
minutes
ram Description
total Total RAM (in KB)
used Used RAM
free Free RAM
buffers RAM used for buffers
cached RAM used for cache
swap
total
used
free
cpu Description
busy Total time the CPU has been busy
user Time spent on user processes
nice Time spent on processes with modified priority
system Time spent on system processes
idle Idle time when the CPU was not busy
iowait Time spent waiting for I/O operations
irq Time spent on hardware interrupt handling
sirq Time spent on software interrupt handling
total Total units of time since the system started
wifi* Description
state Network state
guest Guest network state

Parameters

Retrieve and modify parameters

Input

msg type
payload object
topic string
topic Description
list Retrieve all parameters
get Retrieve specific parameters
set Modify parameters
payload
sid_list
action_mode

Output

msg type
topic string
payload object

Details

If sid_list is specified, changes will be sent via the web panel.

If action_mode is not specified, it will be sent as Apply.

Node Info

Version: 1.0.1
Updated 16 hours ago
License: MIT
Rating: not yet rated

Actions

Rate:

Downloads

157 in the last week

Nodes

  • padavan-config
  • padavan-speedtest
  • padavan-devices
  • padavan-history
  • padavan-upgrade
  • padavan-system
  • padavan-params

Keywords

  • nodejs
  • node-red
  • iot
  • smart home
  • router
  • padavan

Maintainers