Web Interface to start and stop my fireplace.
echo "2" > /sys/class/gpio/export
echo "3" > /sys/class/gpio/export
echo "in" > /sys/class/gpio/gpio3/direction
echo "out" > /sys/class/gpio/gpio2/direction && echo "1" > /sys/class/gpio/gpio2/value
cat /sys/class/gpio/gpio3/value
echo "0" > /sys/class/gpio/gpio2/value && sleep 0.1 && echo "1" > /sys/class/gpio/gpio2/value
echo "2" > /sys/class/gpio/unexport
echo "3" > /sys/class/gpio/unexport
- J1 to RaspberryPi expansion header
- J2 to existing control wires
- J3 to existing manual switch