Topic: CGI: WidgetPlayer / setChannel not working on Chumby8?
I've got a Chumby One and a C8... and am integrating them into my DomotiGa (home automation) setup. Specifically, "in case event x happens, change the chumby to channel x via the built-in web server, script files are in /psp/cgi-bin/. This Wiki page "Chumby_tricks#Sending_events_to_the_Control_Panel" was very useful to get it up and running, it's fairly easy to do!
So this setup works wonderfully on the Chumby One, it even wakes from sleep/dark mode and sets a channel.
On the C8 - some basic things like setting brightness do work with the same setup.
However, changing the channel does NOT seem to work on the C8.
So here's the script with issues on the C8 (incidentally, the btplay only works occasionally - whereas on the C1 it works all the time):
#!/bin/sh echo "HTTP/1.1 200 ok" echo "Content-type: text/html" echo "" echo "<event type=\"WidgetPlayer\" value=\"setChannel\" comment=\"webcams\"/>" > /tmp/flashplayer.event chumbyflashplayer.x -F1 > /dev/null 2>&1 btplay /usr/chumby/alarmtones/Klaxon.mp3 > /dev/null 2>&1
The flashplayer.event file is removed, so it is definitely processed (also proven by the fact that other commands do work).