-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Record "remote log" events #446
base: main
Are you sure you want to change the base?
Conversation
* DataLogger calls writeInfoToLog() every 60s * DataLogger sends an info string to SD_TC * DataLogger sends warning strings to SD_TC * Writes to EEPROM trigger DataLogger warnings * Include EEPROM values in DataLogger warnings * SD_TC writes alerts to SD card * Duplicate EEPROM writes don't warn DataLogger * New slope from PHProbe triggers DataLogger warning * thermal mean and std dev, more columns in alerts. * Alert filename in TankController.ino * Resolve EEPROM nan printing issues * Construct SD_TC without Ethernet_TC * WIP AlertPusher works but blocks, lacks tests * Changes related to alert file
* DataLogger calls writeInfoToLog() every 60s * DataLogger sends an info string to SD_TC * Reformat info string * DataLogger sends warning strings to SD_TC * Writes to EEPROM trigger DataLogger warnings * Include EEPROM values in DataLogger warnings * SD_TC writes alerts to SD card * Duplicate EEPROM writes don't warn DataLogger * New slope from PHProbe triggers DataLogger warning * thermal mean and std dev, more columns in alerts. * Alert filename in TankController.ino * WIP AlertPusher * Remove maximum size for logFileName * Add maximum size for logFileName * SD_TC::getAlert() * WIP AlertPusher * Resolve EEPROM nan printing issues * WIP tests * Construct SD_TC without Ethernet_TC * WIP AlertPusher somewhat functional * WIP AlertPusher works but blocks, lacks tests * Changes related to alert file * Tests run again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you have time, can you walk me through this change.
@@ -1 +1 @@ | |||
const String gitVersion = 'v24.3.2 +'; | |||
const String gitVersion = 'v24.3.2-8-g9987+'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the additional information?
test/PHProbeTest.cpp
Outdated
@@ -167,14 +184,14 @@ unittest(settingMidpointClearsBadCalibration) { | |||
unittest(setHighpointCalibration) { | |||
GodmodeState *state = GODMODE(); | |||
state->reset(); | |||
eeprom->setIgnoreBadPHSlope(true); | |||
assertTrue(eeprom->getIgnoreBadPHSlope()); | |||
// eeprom->setIgnoreBadPHSlope(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the commented out code?
# Conflicts: # extras/device_client/lib/model/version.dart # src/Version.h
# Conflicts: # Makefile # examples/TankController/TankController.ino # extras/device_client/lib/model/version.dart # extras/log_file_client/lib/main.dart # extras/log_file_client/pubspec.yaml # src/TankController.cpp # src/TankController.h # src/Version.h # src/model/DataLogger.cpp # src/model/DataLogger.h # src/wrappers/SD_TC.cpp # src/wrappers/SD_TC.h # src/wrappers/ThermalProbe_TC.cpp # src/wrappers/ThermalProbe_TC.h # test/SDTest.cpp # test/ThermalControlTest.cpp # test/ThermalProbeTest.cpp
# Conflicts: # extras/device_client/lib/model/version.dart # src/Version.h # src/model/DataLogger.cpp # src/model/DataLogger.h # src/wrappers/SD_TC.cpp # src/wrappers/SD_TC.h # test/SDTest.cpp
# Conflicts: # Makefile # extras/device_client/lib/model/version.dart # src/Version.h # src/model/DataLogger.cpp # src/wrappers/SD_TC.cpp # src/wrappers/SD_TC.h # test/DataLoggerTest.cpp # test/PHProbeTest.cpp # test/SDTest.cpp # test/SerialTest.cpp # test/TCLibTest.cpp # test/ThermalProbeTest.cpp
* PushingBoxTest.cpp * RemoteLogPusherTest.cpp # Conflicts: # extras/device_client/lib/model/version.dart # src/TankController.cpp # src/Version.h # src/model/JSONBuilder.cpp # test/PushingBoxTest.cpp
# Conflicts: # Makefile # extras/device_client/lib/model/version.dart # src/TankController.cpp # src/Version.h # src/model/RemoteLogPusher.cpp # src/model/RemoteLogPusher.h # src/wrappers/EEPROM_TC.cpp # src/wrappers/SD_TC.cpp # test/RemoteLogPusherTest.cpp
- Use tabs instead of spaces in Makefile. - Fix format error.
- Remove duplicates from Makefile.
# Conflicts: # extras/device_client/lib/model/version.dart # src/Version.h
In addition to storing one-second data on the SD card, we store one-minute events and (plan to) upload that file to oap.cs.wallawalla.edu where it can be used by a web application to show log files.