I like your project, but it doesn't work for my RM4c (0x6539) yet. That for, I updated the python-library and added my device to the getDeviceName and the README.
For some reason,
broadlink.gendevice(0x6539, ('***.***.***.**',80), '**********') doesn't work, but
broadlink.gendevice(0x610F, ('***.***.***.**',80), '**********') does.
Both devices are similar (https://github.com/mjg59/python-broadlink/blob/master/broadlink/__init__.py), what makes this a bit strange. Because of that, I added a little workaround in your initDevice.
It would be great if you'd apply the changes, so that your project works for every 0x6539.
If you don't want to update the lib, just adding my code should do the job too since my tests with the old library were successful as well.
Hi!
I like your project, but it doesn't work for my RM4c (0x6539) yet. That for, I updated the python-library and added my device to the
getDeviceName
and the README. For some reason,broadlink.gendevice(0x6539, ('***.***.***.**',80), '**********')
doesn't work, butbroadlink.gendevice(0x610F, ('***.***.***.**',80), '**********')
does. Both devices are similar (https://github.com/mjg59/python-broadlink/blob/master/broadlink/__init__.py), what makes this a bit strange. Because of that, I added a little workaround in yourinitDevice
.It would be great if you'd apply the changes, so that your project works for every 0x6539. If you don't want to update the lib, just adding my code should do the job too since my tests with the old library were successful as well.