Wonderful!! Changing the first line to python3 worked, as you suggested
pi@raspberrypi:~/python-broadlink/cli $ ./broadlink_discovery --timeout 10 --dst-ip 192.168.1.6
Discovering...
###########################################
RM4
# broadlink_cli --type 0x61a2 --host 192.168.1.6 --mac 24dfa7b9c689
Device file data (to be used with --device @filename in broadlink_cli) :
0x61a2 192.168.1.6 24dfa7b9c689
temperature = 0.0
Now I need to learn how to record my RF remotes to work with this Broadlink binding:
Broadlink binding for RMx, A1, SPx and MP. Any interest?
By chance, do you know a good tutorial for learning RF codes and how to set them up to work with the binding in the link?