Monitoring the external interface (UL / DL) of a Keenetic router in a desktop widget (Rainmeter Plugin)

Keenetic Rainmeter Plugin

Once, I wanted to see a graph of my Keenetic Viva (KN-1910) router's WAN channel load right on my Windows 10 desktop.

Having found no ready-made solutions, I started looking for a desktop widget program that would let me create custom widgets. I liked the open-source program Rainmeter.

After reading the documentation on creating widgets (called "skins" in their terminology) and external plugins, I wrote a plugin in C++. The plugin communicates with the router via a REST API.

For it to work, you need to specify your router's password in the Rainmeter.dat settings file (I know it's not secure to store the password in plain text).

[KeeneticPlugin]
Password=qwerty1234
;Login=admin
;URL=http://192.168.1.1

Here's what the widget looks like on my desktop (the bottom one). The other widgets are from the Win10 Widgets collection.

Keenetic desktop widget (Rainmeter)

The ready-made skin (widget) for Rainmeter can be downloaded here: https://github.com/zenden2k/KeeneticRainmeterPlugin/releases

P.S. I can't say exactly which Keenetic router models are supported by the plugin, but it's most likely the latest NDMS versions (I currently have version 3.4.12 installed).


Comments
Write your comment
Nickname:
Nickname*:
Юрий (2025-11-02 12:22:25)
Огромное спасибо за плагин! Позволяет оценивать скорости безальтернативно доступных ADSL и 4G в удобном виде. Вывел также значение текущей максимальной скорости, но не разобрался, можно ли вывести значение максимальной скорости на отображаемом в данный момент графике, как в системном мониторе кинетик. А то когда текущая скорость нулевая, не понятно на графике кривая отображает, то ли Мбиты/с, то ли кбиты/с. Или помогла бы фиксированная шкала без автомасштабирования (тоже не понял, как ее настроить), чтобы по графику был сразу понятен масштаб потребления трафика. Но это скорее вопрос вне к плагину, а к API кинетика.