python-broadlink icon indicating copy to clipboard operation
python-broadlink copied to clipboard

Hub Does Not Present get_subdevices()

Open ifyouwouldplease opened this issue 10 months ago • 1 comments

Hello. Working with an RM4 Pro, hub is unlocked, am able to discover, hello, auth.

I've added a test TV device via the phone app and the TV is functional via the phone app.

I may be missing a step, but my device object in Python for the hub does not expose get_subdevices()

>>> foo.
foo.TYPE                    foo.id
foo.aes                     foo.is_locked
foo.auth(                   foo.iv
foo.cancel_sweep_frequency( foo.lock
foo.check_data(             foo.mac
foo.check_frequency(        foo.manufacturer
foo.check_humidity(         foo.model
foo.check_sensors(          foo.name
foo.check_temperature(      foo.ping(
foo.count                   foo.send_data(
foo.decrypt(                foo.send_packet(
foo.devtype                 foo.set_lock(
foo.encrypt(                foo.set_name(
foo.enter_learning(         foo.sweep_frequency(
foo.find_rf_packet(         foo.timeout
foo.get_fwversion(          foo.type
foo.get_type(               foo.update(
foo.hello(                  foo.update_aes(
foo.host
>>> foo.

I've confirmed I'm using the current version of python-broadlink by doing a git+ install from pip.

Any insight into what I'm doing wrong?

ifyouwouldplease avatar Feb 14 '25 13:02 ifyouwouldplease

I think I understand. Despite the vendor I purchased this unit from using the term "hub" in the description, and the phone app presenting a list of subdevices, the RM4 Pro is not a hub like the BroadLink S series, it's a remote (or if it has hub features the current python-broadlink implementation doesn't interface with them yet).

ifyouwouldplease avatar Feb 22 '25 14:02 ifyouwouldplease