Giter Site home page Giter Site logo

irdb2broadlinkha's People

Contributors

molexx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

irdb2broadlinkha's Issues

Parameter [...] is outside of the allowed domain: 0..0

When attempting to run the following command:

./irdb2broadlinkha.bash frigidaire/WF-RG63.lircd.conf prfx_

I get the following errors:

pronto2broadlink.py found at 'irdb2broadlinkha-work/pronto2broadlink.py'.
irptransmogrifier found at 'irdb2broadlinkha-work/irptransmogrifier'.
path 'frigidaire/WF-RG63.lircd.conf' ends in .conf, assuming a lirc conf, downloading file...
downloading lirc config from 'https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/remotes/frigidaire/WF-RG63.lircd.conf?format=raw' to 'irdb2broadlinkha-work/lircd.conf'...
downloaded lirc config to 'irdb2broadlinkha-work/lircd.conf'.             
converting lirc config to irp using irptransmogrifier...
irp created.                       
function: 'KEY_POWER', code: '0x10AF8877', comment: ''.
running irptransmogrifier for 'KEY_POWER', code: '0x10AF8877'...        
Parameter F = 279939191 is outside of the allowed domain: 0..0
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 'prfx_KEY_POWER' (sanitized: 'prfx_key_power')...
'prfx_key_power':               
  friendly_name: "prfx_KEY_POWER"                                                                                         
  command_on: ''
                                   
function: 'KEY_LEFT', code: '0x10AF20DF', comment: ''.
running irptransmogrifier for 'KEY_LEFT', code: '0x10AF20DF'...       
Parameter F = 279912671 is outside of the allowed domain: 0..0
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 'prfx_KEY_LEFT' (sanitized: 'prfx_key_left')...  
'prfx_key_left':                
  friendly_name: "prfx_KEY_LEFT"                                                                                          
  command_on: ''
                                   
function: 'KEY_UP', code: '0x10AF708F', comment: ''.

[...]

done looping around buttons.

With the relevant error seeming to be the title of this issue. The stdout which would redirect to a file just has a bunch of entries like this:

'prfx_key_left':                
  friendly_name: "prfx_KEY_LEFT"                                                                                          
  command_on: ''

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

$ ./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.

Question

Hello,

Is it also possible to convert all existing remotes from irdb and lirc to yaml ?
If not could you change the code so it loops through every remote listed ?
Because I would like to put this script on my VPS and let it generate the yaml files for all existing remotes in those databases and then upload them to github for everyone to use.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.