Bug 507969 - Expose IP/hostname (+ listening port) in kdeconnect-cli --list-available
Summary: Expose IP/hostname (+ listening port) in kdeconnect-cli --list-available
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 07:22 UTC by Roman Shumikhin
Modified: 2025-08-07 07:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Shumikhin 2025-08-07 07:22:33 UTC
I use kdeconnect-cli in backup scripts that:

* scan the local LAN for my Android phones & tablets
* mount each device’s SFTP share via sshfs
* rsync data off the device

Right now `kdeconnect-cli --list-available` only gives me device ID + friendly name.
To mount automatically I still have to hard-code:

* the device’s IP/host name
* the SFTP port (1739–1741, varies per device/session)

Is it possible to add the device’s current IP/hostname and SFTP port to the data returned by `kdeconnect-cli --list-available` (and the corresponding DBus interface), so scripts can discover everything in one call without extra Avahi/D-Bus probing. Even the IP address of the device alone would be super awesome to have ;)

Thank you!

P.S. I tried submitting a feature suggestion here https://invent.kde.org/network/kdeconnect-kde/-/issues/37 but one of the developers recommended to file this as a wishlist item in this bug tracker.