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

please help. Newbie needs assistance #9

Closed pmac2785 closed 6 years ago

pmac2785 commented 6 years ago

Hi,

I am getting the following error when i try and run your script getBroadlinkSharedData.py

All the files required are in the same folder.

RESTART: C:\Users\robyn\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6\broadlink dump\getBroadlinkSharedData.py Traceback (most recent call last): File "C:\Users\robyn\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6\broadlink dump\getBroadlinkSharedData.py", line 27, in jsonSubIr = open("jsonSubIr").read() File "C:\Users\robyn\AppData\Local\Programs\Python\Python36\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1179: character maps to

NightRang3r commented 6 years ago

You are using python 3 this script is for python 2.7