Open pasna opened 6 years ago
I have the same issue.
It looks like the Broadlink-e-control-db-dump script was updated to require an extra parameter 'devtype' I'm using an RM Mini 3 so I changed line 6 in the script to
device = broadlink.rm(host=("MYIP",80), mac=bytearray.fromhex("MYMAC"), devtype='rm_mini')
It's working now. =)
Thank you it works for me.
I had this exact same issue and this fix worked for me, thank you so much @ProggerPete!
Hi NightRang3r, I follow each step carefully and now I received error message below. I beg if you will advise what can goes wrong or I had missed something.
Mac-Pro:python-broadlink ipasitt$ python sendCode.py Traceback (most recent call last): File "sendCode.py", line 6, in
device = broadlink.rm(host=("192.168.0.51",80), mac=bytearray.fromhex("34ea34e46725"))
TypeError: init() takes exactly 4 arguments (3 given)
Please accept my sincere appreciation.