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
57 stars 6 forks source link

Question #2

Open gelsas opened 5 years ago

gelsas commented 5 years ago

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.

molexx commented 5 years ago

It's possible, sure. You can pull down all of irdb's codes from their github then run this script in a loop over every file.

But I don't recommend it because you're effectively maintaining a copy of those sites which will get out of date.

It would be better to write a website which queries those sites and then runs this tool in the background. Even better, add it to irdb.tk's list of outputs.