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

Add base64 code output #12

Closed zhaohuabing closed 6 years ago

zhaohuabing commented 6 years ago
  1. Add base64 code which could be directly used in Home assistant configuration file.
  2. Formatting the output file.

Signed-off-by: zhaohuabing zhaohuabing@gmail.com

NightRang3r commented 6 years ago

@zhaohuabing Thanks!

zhaohuabing commented 6 years ago

@NightRang3r Thanks for accepting my commit. The script is very useful when setting up my HA server with Broadlink, I'm glad that I get a chance to contribute to it.

NightRang3r commented 6 years ago

@zhaohuabing Thank you, I added code duplication option

run:~# python getBroadlinkSharedData.py works as before

or duplicate code by number

~# python getBroadlinkSharedData.py 5