diff --git a/dump_grabber/dump_grabber/main.py b/dump_grabber/dump_grabber/main.py
index 5dd5951..8b6aa9e 100644
--- a/dump_grabber/dump_grabber/main.py
+++ b/dump_grabber/dump_grabber/main.py
@@ -174,8 +174,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow,
except AttributeError:
pass
else:
- if text == "temperatur":
- text += "e"
if actor == "merle":
self.add_text(0, "%s = %s" % (
text, ", ".join([str(i) for i in args])))
diff --git a/ehealth_sketch/ehealth_eno/ehealth_eno.ino b/ehealth_sketch/ehealth_eno/ehealth_eno.ino
index 839c917..48b01e8 100644
--- a/ehealth_sketch/ehealth_eno/ehealth_eno.ino
+++ b/ehealth_sketch/ehealth_eno/ehealth_eno.ino
@@ -59,14 +59,14 @@ float getTemperature(void)
void loop() {
zaehler++;
- int airFlow = analogRead(A1);
- int emg = analogRead(0);
- int temp = getTemperature();
- Serial.print(airFlow);
+// int airFlow = analogRead(A1);
+// int emg = analogRead(0);
+// int temp = getTemperature();
+ Serial.print(analogRead(A1));
Serial.print(";");
- Serial.print(emg);
+ Serial.print(analogRead(0));
Serial.print(";");
- Serial.println(temp);
+ Serial.println(getTemperature());
delay(100);
if(zaehler >= 10) {
diff --git a/fensterkram/.devilspie/vlc.ds b/fensterkram/.devilspie/vlc.ds
new file mode 100644
index 0000000..7f329ee
--- /dev/null
+++ b/fensterkram/.devilspie/vlc.ds
@@ -0,0 +1 @@
+(if (contains (window_name) "VLC media player") (undecorate))
diff --git a/fensterkram/positions.sh b/fensterkram/positions.sh
new file mode 100755
index 0000000..b34d458
--- /dev/null
+++ b/fensterkram/positions.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+# vlc mit Kamera
+STR="Universal Pictures"
+wmctrl -r $STR -e 0,1600,0,640,480
+wmctrl -r $STR -b add,sticky,above
+
+# vlc mit annes texter
+STR="http://walter"
+wmctrl -r $STR -e 0,2240,0,640,480
+wmctrl -r $STR -b add,sticky,above
+
+# datenstroeme
+STR="http://devimages"
+wmctrl -r $STR -e 0,2880,0,640,480
+wmctrl -r $STR -b add,sticky,above
+
+#das HealthDisplay
+wmctrl -r "HD Main" -e 0,2570,480,950,570
+wmctrl -r "HD Main" -b add,sticky,above
+
+killall devilspie
+devilspie &
diff --git a/fensterkram/vlc_webcam.sh b/fensterkram/vlc_webcam.sh
new file mode 100755
index 0000000..42ed975
--- /dev/null
+++ b/fensterkram/vlc_webcam.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+
+
+vlc --no-audio --video-on-top --no-video-title-show --no-osd \
+ --repeat --qt-notification 0 --no-video-deco --autoscale \
+ ../streaming/Serenity\ -\ HD\ DVD\ Trailer.mp4
diff --git a/healthdisplay/.idea/copyright/profiles_settings.xml b/healthdisplay/.idea/copyright/profiles_settings.xml
index 3572571..e7bedf3 100644
--- a/healthdisplay/.idea/copyright/profiles_settings.xml
+++ b/healthdisplay/.idea/copyright/profiles_settings.xml
@@ -1,5 +1,3 @@
-
-
-
+
\ No newline at end of file
diff --git a/healthdisplay/.idea/misc.xml b/healthdisplay/.idea/misc.xml
index 8a80acb..4c4c1de 100644
--- a/healthdisplay/.idea/misc.xml
+++ b/healthdisplay/.idea/misc.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/healthdisplay/.idea/uiDesigner.xml b/healthdisplay/.idea/uiDesigner.xml
index c47fa82..aff8117 100644
--- a/healthdisplay/.idea/uiDesigner.xml
+++ b/healthdisplay/.idea/uiDesigner.xml
@@ -119,16 +119,21 @@
-
- -
-
-
-
-
+ -
+
+
+ -
+
+
+ -
+
+
-
-
+
\ No newline at end of file
diff --git a/healthdisplay/README b/healthdisplay/README
index 4a3b245..f965e40 100644
--- a/healthdisplay/README
+++ b/healthdisplay/README
@@ -1,5 +1,10 @@
+you need jdk 1.7 or newer and maven2 installed
compile with
mvn clean compile ideauidesigner:javac2 assembly:single
+
+run with
+
+java -jar psychose-X.X-jar-with-dependencies.jar
diff --git a/healthdisplay/healthdisplay.iml b/healthdisplay/healthdisplay.iml
index d987de2..efc4c55 100644
--- a/healthdisplay/healthdisplay.iml
+++ b/healthdisplay/healthdisplay.iml
@@ -5,20 +5,19 @@
+
+
+
-
-
-
-
-
+
\ No newline at end of file
diff --git a/healthdisplay/pom.xml b/healthdisplay/pom.xml
index cd5c36f..8fc0fba 100644
--- a/healthdisplay/pom.xml
+++ b/healthdisplay/pom.xml
@@ -15,21 +15,22 @@
0.2
-
- org.jboss.netty
- netty
- 3.2.7.Final
-
+
+
+
+
+
com.intellij
forms_rt
7.0.3
+ compile
-
- org.snmp4j
- snmp4j
- 1.9.1f
-
+
+
+
+
+
diff --git a/healthdisplay/src/main/java/de/psychose/ActorData.java b/healthdisplay/src/main/java/de/psychose/ActorData.java
new file mode 100644
index 0000000..3f921cd
--- /dev/null
+++ b/healthdisplay/src/main/java/de/psychose/ActorData.java
@@ -0,0 +1,162 @@
+package de.psychose;
+
+/**
+ * @author: lucas
+ * @date: 17.11.14 21:07
+ */
+public class ActorData {
+
+ private String actor = "";
+ private String caption = "";
+ private PulseData pulseData = new PulseData();
+ private int airflow;
+ private int ekg;
+ private int emg;
+ private double temperature;
+ private double temperatureOffset;
+ private boolean tommyHeartbeat;
+
+ private long timestampPulse = 0;
+ private long timestampHeartbeat = 0;
+ private long timestampOxygen = 0;
+ private long timestampTommyHeartbeat = 0;
+ private long timestampEkg = 0;
+ private long timestampEmg = 0;
+ private long timestampTemperature = 0;
+ private long timestampBreath = 0;
+
+ public ActorData(String actor, String caption) {
+ this.actor = actor;
+ this.caption = caption;
+ }
+
+ public String getActor() {
+ return actor;
+ }
+
+ public String getCaption() {
+ return caption;
+ }
+
+ public int getOxygen() {
+ return pulseData.getOxygen();
+ }
+
+ public void setOxygen(int oxygen) {
+ timestampOxygen = System.currentTimeMillis();
+ pulseData.setOxygen(oxygen);
+ }
+
+ public boolean getHeartbeat() {
+ return pulseData.getHeartbeat();
+ }
+
+ public void setHeartbeat(boolean heartbeat) {
+ timestampHeartbeat = System.currentTimeMillis();
+ pulseData.setHeartbeat(heartbeat);
+ }
+
+ public int getPulse() {
+ return pulseData.getPulse();
+ }
+
+ public void setPulse(int pulse) {
+ timestampPulse = System.currentTimeMillis();
+ pulseData.setPulse(pulse);
+ }
+
+ public int getAirflow() {
+ return airflow;
+ }
+
+ public void setAirflow(int airflow) {
+ this.airflow = airflow;
+ this.timestampBreath = System.currentTimeMillis();
+ }
+
+ public int getEkg() {
+ return ekg;
+ }
+
+ public void setEkg(int ekg) {
+ this.ekg = ekg;
+ this.timestampEkg = System.currentTimeMillis();
+ }
+
+ public int getEmg() {
+ return emg;
+ }
+
+ public void setEmg(int emg) {
+ this.emg = emg;
+ this.timestampEmg = System.currentTimeMillis();
+ }
+
+ public double getTemperature() {
+ return temperature;
+ }
+
+ public void setTemperature(double temperature) {
+ this.temperature = temperature;
+ this.timestampTemperature = System.currentTimeMillis();
+ }
+
+ public boolean getTommyHeartbeat() {
+ return tommyHeartbeat;
+ }
+
+ public void setTommyHeartbeat(boolean tommyHeartbeat) {
+ this.tommyHeartbeat = tommyHeartbeat;
+ this.timestampTommyHeartbeat = System.currentTimeMillis();
+ }
+
+ public double getTemperatureOffset() {
+ return temperatureOffset;
+ }
+
+ public void setTemperatureOffset(double temperatureOffset) {
+ this.temperatureOffset = temperatureOffset;
+ }
+
+ public long getTimestampPulse() {
+ return timestampPulse;
+ }
+
+ public long getTimestampEkg() {
+ return timestampEkg;
+ }
+
+ public long getTimestampEmg() {
+ return timestampEmg;
+ }
+
+ public long getTimestampTemperature() {
+ return timestampTemperature;
+ }
+
+ public long getTimestampBreath() {
+ return timestampBreath;
+ }
+
+ @Override
+ public String toString() {
+ return "ActorData{" +
+ "actor='" + actor + '\'' +
+ ", caption='" + caption + '\'' +
+ ", airflow=" + airflow +
+ ", ekg=" + ekg +
+ ", emg=" + emg +
+ ", temperature=" + temperature +
+ ", temperatureOffset=" + temperatureOffset +
+ ", tommyHeartbeat=" + tommyHeartbeat +
+ ", timestampPulse=" + timestampPulse +
+ ", timestampHeartbeat=" + timestampHeartbeat +
+ ", timestampOxygen=" + timestampOxygen +
+ ", timestampTommyHeartbeat=" + timestampTommyHeartbeat +
+ ", timestampEkg=" + timestampEkg +
+ ", timestampEmg=" + timestampEmg +
+ ", timestampTemperature=" + timestampTemperature +
+ ", timestampBreath=" + timestampBreath +
+ '}';
+ }
+}
diff --git a/healthdisplay/src/main/java/de/psychose/ActorDisplay.form b/healthdisplay/src/main/java/de/psychose/ActorDisplay.form
index d72dc0a..3bb806e 100644
--- a/healthdisplay/src/main/java/de/psychose/ActorDisplay.form
+++ b/healthdisplay/src/main/java/de/psychose/ActorDisplay.form
@@ -1,6 +1,6 @@