Thanks again for taking the time to reply.
If itās not too much trouble, could you walk me through that last part of where exactly to enter ./broadlink_cli --rfscanlearn --device
, after Iāve done the following steps?
OK, so my broadlink.egg-inf/PKG-INFO shows the following, so Iām guessing this part is fine.
Metadata-Version: 1.1
Name: broadlink
Version: 0.14.0
Summary: Python API for controlling Broadlink IR controllers
Home-page: http://github.com/mjg59/python-broadlink
Author: Matthew Garrett
Author-email: [email protected]
Then I open Windows PowerShell as administrator, type python
to enter Python 3.8.3, then the following commands just to make sure my RM4 Pro is on the network:
>>> import broadlink
>>> devices = broadlink.discover(timeout=5)
>>> devices[0].auth()
True
>>> devices[0].host[0]
192.168.1.98
Where should I go from here? Iāve attempted exiting Python and simply entering the ./broadlink_cli --rfscanlearn --device
command while still in PowerShell, but I get the following error instead:
PS C:\> ./broadlink_cli --rfscanlearn --device "0x6026 192.168.1.98 [MAC]"
./broadlink_cli : The term './broadlink_cli' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ ./broadlink_cli --rfscanlearn --device "0x6026 192.168.1.98 [MAC] ...
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (./broadlink_cli:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I tried Windows Command Prompt instead and got similar:
'broadlink_cli' is not recognized as an internal or external command,
operable program or batch file.
So Iām at a loss as to where exactly should the command be enteredā¦ Would greatly appreciate any help here, thanks!