Hi,
first of all: thanks for your great software, plugins and tutorials. Right now I’m using pimatic with some switches and the echo plugin - and its working like charme.
Now I want to use pimatic with my lirc setup, but I don’t understand how to integrate my remote. What I have done:
lirc is up and running, for example: irsend SEND_ONCE TV Key_1 is working. Then I have installed and activated this lirc-plugin for pimatic and add some buttons:
{
“plugin”: “lirc”,
“active”: true
},
and some buttons:
“devices”: [
{
“id”: “TV”,
“name”: “TV”,
“class”: “ButtonsDevice”,
“buttons”: [
{
“id”: “TVon”,
“text”: “OnOff”
},
The question is now how can I combine the button “OnOff” with the rule “irsend SEND_ONCE TV Key_1”? I saw this example “if state of sonos-connect is equal to “play” then set lirc remote: AMP command: KEY_POWER” but I really don’t understand it.
If I try to use the WebGUI with “When” … “then”… to set a rule it will quit with an error. Could you give me an example how to use the right rule with my setup?
Thanks for your help