1.0.2 • Published 9 months ago

node-red-contrib-padavan v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Router management with Padavan firmware

Install

npm install node-red-contrib-padavan

Nodes

Configuration

Input

credentialsDescription
repoRepository where firmware builds are hosted
branchBranch for the device
tokenAccess token for GitHub
hostRouter IP address
usernameUsername for router access
passwordPassword for router access

SpeedTest

Measure download and upload speeds

Output

outputsDescription
resultResult
historyResult with date and timestamp
progressTest start and end
result.msgtypeValue
topicstringNetworkControl
payloadobject
payloadDescription
networkDownloadSpeedMbpsDownload speed
networkUploadSpeedMbpsUpload speed

Devices

Get the list of connected devices

Output

msgtype
payloadarray
numConnectedDevicesinteger
payload
hostname
ip
mac
rssi

History

Retrieve traffic history

Output

msgtype
payloadobject
networkUsagestring
networkUsageMBinteger
payloadtypeDescription
daily_historyarrayDaily
monthly_historyarrayMonthly
*_historyDescription
0Year, month, day
1Download
2Upload

Updates

Manage firmware updates

Input

msgtype
topicstring
topicDescription
buildBuild firmware
changelogList of changes
upgradeInstall firmware

Output

msgtypeValue
topicstringchangelog
errorstring
payloadobject
payloadDescription
from_idCurrent firmware
to_idBuilt firmware
dataArray of changes

Status

Retrieve and manage router status

Input

msgtype
topicstring
topicDescription
statusGet current status
logGet logs
rebootReboot

Output

msgtypeValue
topicstringstatus
payloadobject
payloadDescription
lavgSystem load average over the last 1, 5, and 15 minutes
uptimeRouter uptime
ramRAM usage information
swapSwap memory status
cpuCPU load information
wifi2Wi-Fi status on the 2.4 GHz band
wifi5Wi-Fi status on the 5 GHz band
logmtTimestamp of the last log modification
uptime
days
hours
minutes
ramDescription
totalTotal RAM (in KB)
usedUsed RAM
freeFree RAM
buffersRAM used for buffers
cachedRAM used for cache
swap
total
used
free
cpuDescription
busyTotal time the CPU has been busy
userTime spent on user processes
niceTime spent on processes with modified priority
systemTime spent on system processes
idleIdle time when the CPU was not busy
iowaitTime spent waiting for I/O operations
irqTime spent on hardware interrupt handling
sirqTime spent on software interrupt handling
totalTotal units of time since the system started
wifi*Description
stateNetwork state
guestGuest network state

Parameters

Retrieve and modify parameters

Input

msgtype
payloadobject
topicstring
topicDescription
listRetrieve all parameters
getRetrieve specific parameters
setModify parameters
payload
sid_list
action_mode

Output

msgtype
topicstring
payloadobject

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.

1.0.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago