ha-asusrouter icon indicating copy to clipboard operation
ha-asusrouter copied to clipboard

[Feature] Add service/button to perform router's internal speed test and store results

Open Valdorama opened this issue 1 year ago • 5 comments

The problem

The official HA SpeedTest integration is fairly unreliable (and I believe it uses the wrong API?). Asus routers have a built-in internet speed test feature:

image

It would be great if this integration could provide an ability to trigger the router's speed test and store the results. It could be provided as a service or a button, with the most-recent result stored in attributes (download, upload, ping).

Users could then create automations to periodically run the speed test and track performance over time.

Specific device(s)?

None

Firmware type

None

Valdorama avatar Nov 14 '23 21:11 Valdorama

Hello. Yes, this should be possible. I will check it

Vaskivskyi avatar Nov 16 '23 05:11 Vaskivskyi

Yes, the feature can be implemented. It might even come in the next version since it does not seem to be complicated

Vaskivskyi avatar Nov 19 '23 22:11 Vaskivskyi

Thanks, that would be much appreciated.

Valdorama avatar Nov 20 '23 04:11 Valdorama

Hello! Is there any way to trigger a new speed test via this sensor/service?

rac146 avatar Jun 04 '24 01:06 rac146

Unfortunately, up till now, I didn't manage to make the testing work. Speedtest does not like any "automated" triggering. That's why sensors are not added to the stable integration branch (release) - there is no point yet without the possibility to run the test.

I will post updates as soon as there is any progress.

Vaskivskyi avatar Jun 05 '24 15:06 Vaskivskyi