Hello,
as I already posted some time ago my "moOde mod" for switchin amps in the old thread I updated this to the latest version (moOde 4.2 07-19-2018)
With the modified files I have an additional "Amplifier" menu entry . I am using two amps which can be switched On/Off from here.
This happens by two relais connected to the GPIO connectors (I am using a cheap China relais platine for this - connected to GPIO 23 and 24).
Additionaly the amp gets switched off, when music is paused, stopped or muted for more than 5 minutes.
They are switched on again (last amp selection) when the music is resumed.
To use this mod, the attached files have to be replaced and two additional settings have to be added to the moode-sqlite3.db:
The amps name and description of the amps are hardcoded in the footer.php file.
The used GPIOs are set in the gpio.sh file
Maybe it is usefull for others, too.
Download Link
Regards
Hans.
Edit:
added Dropbox link
as I already posted some time ago my "moOde mod" for switchin amps in the old thread I updated this to the latest version (moOde 4.2 07-19-2018)
With the modified files I have an additional "Amplifier" menu entry . I am using two amps which can be switched On/Off from here.
This happens by two relais connected to the GPIO connectors (I am using a cheap China relais platine for this - connected to GPIO 23 and 24).
Additionaly the amp gets switched off, when music is paused, stopped or muted for more than 5 minutes.
They are switched on again (last amp selection) when the music is resumed.
To use this mod, the attached files have to be replaced and two additional settings have to be added to the moode-sqlite3.db:
Code:
insert into cfg_system VALUES(100, amp-1, Off);
insert into cfg_system VALUES(101, amp-2, Off);
The amps name and description of the amps are hardcoded in the footer.php file.
The used GPIOs are set in the gpio.sh file
Maybe it is usefull for others, too.
Download Link
Regards
Hans.
Edit:
added Dropbox link