I am trying to create a refresh and fullscreen button but got stuck.
First i created a button device and 2 rules. These 2 are working perfect but the output is not what i hoped for. chromium webbrowser does not refresh
device:
"buttons": [
{
"id": "reboot",
"text": "System Reboot"
},
{
"id": "Pimatic Restart",
"text": "Restart Pimatic"
},
{
"id": "Refresh",
"text": "Refresh"
},
{
"id": "Fullscreen",
"text": "Fullscreen"
}
],
"id": "systembutton",
"name": "systembutton",
"class": "ButtonsDevice"
}
rule:
{
"id": "refresh-browser",
"name": "refresh browser",
"rule": "when Refresh is pressed then execute \"/usr/bin/F5.sh\"",
"active": true,
"logging": true
}
and wrote F5.sh in /usr/bin:
#!/bin/sh
echo key F5
and F11.sh:
#!/bin/sh
echo key F11
What am i doing wrong or am i missing something?
additional info:
raspbian jessie pixel
pimatic v0.9.37
matchbox-keybord
xdotool removed