molexx / irdb2broadlinkha

Script to scrape IR codes from irdb or parse lirc configs, convert them to Broadlink and output HASS' yaml
Apache License 2.0
56 stars 6 forks source link

when try to create yaml motorola/VIP_1200.lircd.conf or VIP_1150 #3

Open wadalino opened 4 years ago

wadalino commented 4 years ago
$ ./irdb2broadlinkha.bash motorola/VIP_1510.lircd.conf vip_1510_ > t.yaml
(...)
function: 'KEY_POWER', code: '0xF7F6', comment: '#  Was: power'.
running irptransmogrifier for 'KEY_POWER', code: '0xF7F6'...
Cannot not use --irp together with named protocols

Use "IrpTransmogrifier help" or "IrpTransmogrifier help --short"
for command syntax.
pronto: 
Traceback (most recent call last):
  File "irdb2broadlinkha-work/pronto2broadlink.py", line 44, in <module>
    pulses = pronto2lirc(pronto)
  File "irdb2broadlinkha-work/pronto2broadlink.py", line 7, in pronto2lirc
    if codes[0]:
IndexError: list index out of range
BroadlinkHex: 
writing yaml entry for 'vip_1510_KEY_POWER' (sanitized: 'vip_1510_key_power')...
'vip_1510_key_power':
  friendly_name: "vip_1510_KEY_POWER"
  command_on: ''

done looping around buttons.