+
+
+
+

:
-
-
Update Required
- To play the media you will need to either update your browser to a recent version or update your
Flash plugin.
+
+
+
+

:
+
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000..eaa89b6
Binary files /dev/null and b/logo.png differ
diff --git a/raspberry_pi_files/autostart b/raspberry_pi_files/autostart
new file mode 100644
index 0000000..f8756d1
--- /dev/null
+++ b/raspberry_pi_files/autostart
@@ -0,0 +1,9 @@
+#put this file at /etc/xdg/lxsession/LXDE/
+@lxpanel --profile LXDE
+@pcmanfm --desktop --profile LXDE
+@xset s off
+@xset -dpms
+@xset s noblank
+@lxterminal --command "/home/pi/infoscreen/infovideos.sh"
+@xscreensaver -no-splash
+
diff --git a/raspberry_pi_files/blinds.php b/raspberry_pi_files/blinds.php
new file mode 100644
index 0000000..709cc00
--- /dev/null
+++ b/raspberry_pi_files/blinds.php
@@ -0,0 +1,47 @@
+\n";
+
+if(isset($_GET["lights"]))
+{
+ echo "Thy will be done
\n";
+ if($_GET["lights"] == "on")
+ {
+ echo "Turning Lights On
\n";
+ // exec("/opt/vc/bin/tvservice -p");
+ shell_exec("sudo reboot");
+ }
+ else if($_GET["lights"] == "off")
+ {
+ echo "Turning Lights Off
\n";
+ exec("/opt/vc/bin/tvservice -o");
+ }
+}
+
+echo "Aloha
\n";
+
+?>
diff --git a/raspberry_pi_files/infovideos.sh b/raspberry_pi_files/infovideos.sh
new file mode 100644
index 0000000..0e00e40
--- /dev/null
+++ b/raspberry_pi_files/infovideos.sh
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+function cleanup()
+{
+ rm videos videos.json
+ return $?
+}
+
+function control_c()
+# run if user hits control-c
+{
+ echo -en "\n*** Ouch! Exiting ***\n"
+ cleanup
+ exit $?
+}
+
+# trap keyboard interrupt (control-c)
+trap control_c SIGINT
+
+while :
+do
+ cleanup
+ if pgrep "epiphany" ; then
+ echo browser runing
+ else
+ echo "`date "+%d/%m/%Y %T"` : Starting work" >> infovideos.log 2>&1
+ #midori -e Fullscreen -a http://192.168.1.5/tools/infoscreen/index2.html >> infovideos.log 2>&1&
+ epiphany --private-instance http://192.168.1.5/tools/infoscreen/index.html >> infovideos.log 2>&1&
+ #for epiphany-browser
+ #
+ sleep 20 # give it time to start
+ echo "going fullscreen" >> infovideos.log 2>&1&
+ echo key F11 | xte >> infovideos.log 2>&1&
+ fi
+ curl http://192.168.1.5/tools/infoscreen/videos/ | python -mjson.tool | grep m4v |\
+ sed 's/ /%20/g' | awk -v k="http" '{n=split($0,a,"\""); print a[4]}' > videos.json
+ while IFS= read -r LINE; do
+ echo "omxplayer $LINE >> /home/pi/omxp.log " >> videos
+ done < videos.json
+ echo "starting videos" >> /home/pi/omxp.log
+ bash videos
+ echo "finished playing videos" >> /home/pi/omxp.log
+done
diff --git a/temperature.png b/temperature.png
new file mode 100644
index 0000000..998de5d
Binary files /dev/null and b/temperature.png differ
diff --git a/thermometer4.png b/thermometer4.png
new file mode 100644
index 0000000..3b71860
Binary files /dev/null and b/thermometer4.png differ
diff --git a/water12.png b/water12.png
new file mode 100644
index 0000000..fdff356
Binary files /dev/null and b/water12.png differ