Skip to content

Conversation

@JimJamUrCode
Copy link

A new configuration option is added to allow you to inform lirc_web that a remote within lirc should be referenced as a simulated device.
+Updated the marcros.js file to allow simulated devices to be a part of a macro.
+Minimal changes to systems, everything works the same, but now you can use simulated devices.
+Updated README.md

For this to work, lirc needs to be setup with some commands to simulate. Within your lircd.conf you need a remote similar to this:
remote.conf.txt

You must have an lircrc file setup that looks similar to the following file (note the file shouldn't have any extension, github wouldn't allow me to upload without a file extension). This file should be located in /etc/lirc/
lircrc.txt

This post by the raspberry pi foundation does a great job explaining how to setup lirc to support simulated commands.

Issues I had while coming up with this solution...

  1. lirc changed from what I knew it as. lirc_options.conf is your friend.
  2. lirc_node is partially broken, you need to update it like I mention in this issue.
  3. irexec doesn't seem to load the lircrc file out of /etc/lirc/, so I have been needing to manually start it with this command: sudo irexec -d /etc/lirc/lircrc
  4. You can manually test a simulate command by running something like this from the CLI: irsend SIMULATE "00000000000005d0 00 <COMMAND> <REMOTE>

	A new configuration option is added to allow you to inform lirc_web that a remote within lirc should be referenced as a simulated device.
+Updated the marcros.js file to allow simulated devices to be a part of a macro.
+Minimal changes to systems, everything works the same, but now you can use simulated devices.
+Updated README.md
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

Successfully merging this pull request may close these issues.

1 participant