Enigma2Events: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
No edit summary
Line 26: Line 26:


I use them to switch the AV receiver on and off by sending a http request to a tasmota switch.
I use them to switch the AV receiver on and off by sending a http request to a tasmota switch.
The commands for the different events are in /etc/enigma2/events:
The commands for the different events are in /etc/enigma2/events. E.g. STANDBY_ENTER.sh:


  #!/bin/sh
  #!/bin/sh

Revision as of 01:12, 19 August 2023

Enigma2 Events

the VTi images used by vu-uno and vuzero run scripts on the following events:

  • DBTASK_CANCEL
  • DBTASK_FINISH
  • DBTASK_START
  • E2START
  • GUI_REBOOT
  • PVRDESCRAMBLE_START
  • PVRDESCRAMBLE_STOP
  • REBOOT
  • RECORD_REMIND
  • RECORD_START
  • RECORD_STOP
  • RECORD_WAKEUP
  • SERVICE_START
  • SERVICE_STOP
  • SHUTDOWN
  • STANDBY_ENTER
  • STANDBY_LEAVE
  • STBBOOT
  • TASK_CANCEL
  • TASK_FINISH
  • TASK_START

I use them to switch the AV receiver on and off by sending a http request to a tasmota switch. The commands for the different events are in /etc/enigma2/events. E.g. STANDBY_ENTER.sh:

#!/bin/sh

OUT=`wget -O- -q 'http://nous4/cm?cmnd=Power%20Off' 2>&1`
echo "${0##*/}: $OUT" > /dev/udp/192.168.1.4/514

exit 0


see [VTi Image 14.x.x Update Infos]