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...
lirc changed from what I knew it as. lirc_options.conf is your friend.
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
You can manually test a simulate command by running something like this from the CLI: irsend SIMULATE "00000000000005d0 00 <COMMAND> <REMOTE>
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...
sudo irexec -d /etc/lirc/lircrc
irsend SIMULATE "00000000000005d0 00 <COMMAND> <REMOTE>