diff --git a/src/StationRow.vue b/src/StationRow.vue
index 484de28..8b9cfe6 100644
--- a/src/StationRow.vue
+++ b/src/StationRow.vue
@@ -5,8 +5,10 @@
{{ formatTime(status.lastHeard) }} |
{{ formatTime(now - status.lastHeard, true) }} |
{{ formatTime(Math.round(status.avgDelta), true) }} |
+ {{ status.lastMicE }} |
{{ status.lastVoltage || "" }} |
{{ status.lastTemperature || "" }} |
+ {{ status.lastComment }} |
Never Heard |
@@ -14,6 +16,8 @@
Never Heard |
Never Heard |
Never Heard |
+ Never Heard |
+ Never Heard |
@@ -76,9 +80,13 @@ export default {
let delta = message.date.getTime() - arr[idx - 1].date.getTime();
acc.avgDelta = (acc.avgDelta * (idx - 1) + delta) / idx;
}
- if ("data" in message && "analog" in message.data) {
- acc.lastVoltage = message.data.analog[0] / 10;
- acc.lastTemperature = message.data.analog[1];
+ if ("data" in message) {
+ if ("analog" in message.data) {
+ acc.lastVoltage = message.data.analog[0] / 10;
+ acc.lastTemperature = message.data.analog[1];
+ }
+ acc.lastMicE = message.data.mice;
+ acc.lastComment = message.data.comment;
}
return acc;
}, {})
diff --git a/src/StatusScreen.vue b/src/StatusScreen.vue
index 7c86b30..d2eae71 100644
--- a/src/StatusScreen.vue
+++ b/src/StatusScreen.vue
@@ -6,8 +6,10 @@
Last Heard |
Time since Last Heard |
Avg. Period |
+ Last MicE |
Last Voltage |
Last Temperature |
+ Last Comment |