Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No buttons except macros #57

Open
maxpshaw opened this issue Apr 10, 2017 · 3 comments
Open

No buttons except macros #57

maxpshaw opened this issue Apr 10, 2017 · 3 comments

Comments

@maxpshaw
Copy link

Hello,

I copied the "config.json" in example_configs but there was only one button for "Xbox360" when I opened the browser. Not sure what went wrong. Can you shed some light? thank you.

@JameZUK
Copy link

JameZUK commented Nov 8, 2017

I have the same issue too. After upgrading from Jessie to Stretch all by buttons are missing expect the Macros...

@DropbearNinja
Copy link

I had the same issue, managed to fix today. You need to change 4 lines of code in the lirc_NODE.js file. Lirc_web is the interface, but it's lirc_node that fetches the remotes/data. This file here: https://github.com/alexbain/lirc_node/blob/master/lib/lirc_node.js

On my pi it's located here: /usr/lib/node_modules/lirc_web/node_modules/lirc_node/lib/lirc_node.js

change line 32 and 53 stderr.split('\n'); to stdout.split('\n');

and change lines 37 and 56 from element.match(/\s(.*)$/); to element.match(/\b(.*)$/);

start lirc_web, it'll work :)

@ionothanus
Copy link

Thanks @DropbearNinja - this worked for me - however as a note to anyone else attempting to correct this, line 56 actually needs to be modified to element.match(/\b.*\s(.*)$/);. Line 37 can be corrected as described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants