Enigma2Events: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
Line 36: Line 36:




see [[https://www.boxpirates.to/index.php?thread/203570-vti-image-14-x-x-update-infos/&postID=951431#post951431 VTi Image 14.x.x Update Infos]]
see [https://www.boxpirates.to/index.php?thread/203570-vti-image-14-x-x-update-infos/&postID=951431#post951431 VTi Image 14.x.x Update Infos]

Revision as of 01:13, 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