Closed EDsteve closed 1 year ago
Other fields that need to have numeric types are : "recordingState": "0" --> "recordingState": 0 "recordingTime[h]": "0.00" --> "recordingTime[h]": 0.0 "timeStamp": "0.54" --> "timeStamp": 0.54 "totalRecordingTime[h]": "0.00", --> "totalRecordingTime[h]": 0.0, "SdCardFreeSpace[GB]": "115.58" --> "SdCardFreeSpace[GB]": 115.58
@josephx86 fixed most of it, just a few questions:
One thing concerning "recordingState" what do you think about an enum representation?, e.g.
{"recordingState" : {
"val" : 0,
"state" : "IDLE"
}}
This would give us more flexibility for future modes, e.g. a kind of "armed" mode which only records when a trumpet is detected by AI
@LIFsCode Joseph (who wrote that issue while working on my PC as you might have guessed already :) is not availabe today but i can answer some questions:
For now recordingState only defines if the recording is running or not. So the value is either 0 or 1. Correct? Not so sure about the recordingState and what can be achieved with the enum representation. But at the end we need to cover the following scenarios:
So a new proptery which is called "recordDuringDetect" which can be set to 24/7, time in seconds or OFF is necessary?
But this will be part of a seperated list of added comands and questions which I will send you via email or github issue later on. No worries. Noit too much :)
ED
This number defines how accurate the GPS position is in meters. It's a number without decimals from 0 - 100. We were looking for the uptime value, but coudn't find it. Now we know it hides behind timeStamp :) Renaming it to runTime sounds like a good idea.
Ok , then I
Yes. "Uptime" sounds good to me.
I set it to "Uptime[h]"
This is a minor/negligible issue but for consistency, the response from the getConfig command need the value of the "locationAccuracy" as in integer or double type instead of the string type that is currently returned:
"locationAccuracy": "99", -----> "locationAccuracy": 99,