NightRang3r / Broadlink-e-control-db-dump

These two scripts will "parse" the broadlink e-Control Android application database or SharedData and dump the IR / RF codes for selected accessories into a text file which can be later used with broadlink-python to send the codes to the RM PRO hub
149 stars 52 forks source link

sendCode.py not working #30

Open celeritas0725 opened 4 years ago

celeritas0725 commented 4 years ago

I am encountering error with "python sendCode.py"

Error: tuiza@ubuntu:~/HomeAssistant/Econtrol/Broadlink-e-control-db-dump$ python sendCode.py Connecting to Broadlink device.... Traceback (most recent call last): File "sendCode.py", line 9, in device.auth() File "/usr/local/lib/python2.7/dist-packages/broadlink-0.12.0-py2.7.egg/broadlink/init.py", line 203, in auth response = self.send_packet(0x65, payload) File "/usr/local/lib/python2.7/dist-packages/broadlink-0.12.0-py2.7.egg/broadlink/init.py", line 280, in send_packet response = self.cs.recvfrom(2048) socket.timeout: timed out

I have tried to test the code this command sudo python ./BlackBeanControl.py -c 3F_Kitchen_Switch_Broadlink_SinkOn and it switches on the light. The reason why I returned to the previous code knowing that the code is already working is because the RF is not responding in Openhab (I just don't know if these two are related to each other).