Skip to content

Commit c5bc20b

Browse files
authored
Disable pegasus doorbell due to network delays which makes it not line (#38)
up with directly connected doorbell.
1 parent 05cfdd2 commit c5bc20b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

software/earl/gpioactions.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ func (g *GPIOActions) ringBell(which Target) {
106106
if err == nil {
107107
// Inform pegasus about doorbell, so that it can ring. But
108108
// time-out so that network issues don't cause thread-eating.
109-
go exec.Command("/usr/bin/curl", "-q", "-m", "3", "http://pegasus.noise/bell/?tone="+string(which)).Run()
109+
// (there is a delay currently in the network set-up. Disable
110+
// for now)
111+
//go exec.Command("/usr/bin/curl", "-q", "-m", "3", "http://pegasus.noise/bell/?tone="+string(which)).Run()
110112
go exec.Command(WavPlayer, filename).Run()
111113
} else {
112114
msg = ": [ugh, file not found!]"

0 commit comments

Comments
 (0)