Tested on RPi3
for RuneAudio 0.3 and 0.4b
View code - GitHub
Try it - Demo
GPIO-connected relay module control for power on / off audio equipments.
(can be installed without relay module to play with interface)
Power on off audio equipments in sequence
- up to 4 equipments(relays)
delay setting for each equipment(relay)
notification broadcast for on off
- polling 'play' status every minute
idle time setting
notification last minute warning with countdown
reset on play or during warning
- GPIO (speaker icon) button on the left of top bar
change button icon and color on on / off
show button only when enable
setting in Menu > GPIO (local browser: right click > Fullscreen (exit) > click GPIO tab)
RPi pin numbering diagram included, show / hide on click
Can be used with USB PC Remote
Warning !
- A relay module can be connected to GPIO, to see how it works, by anyone with basic skill.
Wrong connection may just damage your RPi. (only 5V)
Requires electrical skill and knowledge to connect these relays as power switches. (110V / 220V)
Electric shock can kill.
Things to get
Dirt cheap on ebay
- Relay module
GPIO jumper wires
Power cables
Box
Things to do
(click for larger image)
Install:
from Addons