HHit

Forum Replies Created

Viewing 1 post (of 1 total)
  • 7. Januar 2021 at 20:50 #50563

    I will use the plugin to control jivelite via IR.

    Problem:
    „irxevent“ does not start out of the box.

    HW:
    Pi 4B / 4GB RAM,
    7″ Touch Display „official“,
    TSOP4838,
    PRC-30 Remote (Sky),
    BH1750

    SW (Version Beta-201125):
    Linux 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
    Logitech Media Server (v8.0.1, 1608617100, Tue Dec 22 07:18:04 CET 2020)
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999
    JiveLite 0.1.0
    Plugin Bluetooth
    Plugin Hardwarecontrol

    Solution:
    in /opt/max2play/custom_autostart.sh replace:
    – `if [ „$(ps -Al | grep irxevent | wc -l)“ -lt „1“ ]; then export DISPLAY=:0;sudo su -l pi -c „irxevent -d /var/www/max2play/\
    application/plugins/hardwarecontrol/scripts/ir/my_lircjivelite“;fi`
    with
    + `if [ „$(ps -Al | grep irxevent | wc -l)“ -lt „1“ ]; then export DISPLAY=‘:0′;sudo -u pi -H /usr/bin/irxevent -d /var/www/max\
    2play/application/plugins/hardwarecontrol/scripts/ir/my_lircjivelite; fi`

    (same sudo-pattern used for starting up jivelite from start_audioplayer.sh)

    Happy new year from HH, Germany.

Viewing 1 post (of 1 total)