You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/mower_config.schema.json
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,13 @@
58
58
"default": "xbox360",
59
59
"description": "Select your gamepad. The cheap ones are usually xbox360.",
60
60
"x-environment-variable": "OM_MOWER_GAMEPAD"
61
+
},
62
+
"OM_IGNORE_CHARGING_CURRENT": {
63
+
"type": "boolean",
64
+
"default": false,
65
+
"title": "Ignore Charging Current",
66
+
"description": "Set to True if you're affected by a wrong IC2 sourcing. Read here https://openmower.de/docs/versions/errata/ic2-is-wrong/ for more details",
"description": "Use perimeter sensor for docking. Set to 1 or 2 depending on the signal selected on the docking station. This is only supported by Mowgli builds for now.",
508
515
"x-environment-variable": "OM_PERIMETER_SIGNAL"
516
+
},
517
+
"OM_EMERGENCY_INPUT_CONFIG": {
518
+
"type": "string",
519
+
"default": "",
520
+
"description": "Comma separated list of emergency inputs (halls or stop), where each sensor can be configured in one of the following modes '[!]<I>gnore|<U>nused|<S>top|<L>Lift'",
"description": "Stock-CoverUI limited rain sensor threshold, below which humidity/dryness value get identified as rain. As higher, as more dry. Default to 700",
540
+
"x-environment-variable": "OM_CU_RAIN_THRESHOLD"
541
+
},
542
+
"OM_BATTERY_CRITICAL_HIGH_VOLTAGE": {
543
+
"type": "number",
544
+
"default": -1,
545
+
"title": "Max. battery voltage",
546
+
"description": "Max. battery voltage before charging get switched off",
uint16_train_threshold=0xffff; // If (stock CoverUI) rain value < rain_threshold then it rains
165
+
floatv_charge_cutoff=-1; // Protective max. charging voltage before charging get switched off (-1 = unknown)
166
+
floati_charge_cutoff=-1; // Protective max. charging current before charging get switched off (-1 = unknown)
167
+
floatv_battery_cutoff=-1; // Protective max. battery voltage before charging get switched off (-1 = unknown)
168
+
floatv_battery_empty=-1; // Empty battery voltage used for % calc of capacity (-1 = unknown)
169
+
floatv_battery_full=-1; // Full battery voltage used for % calc of capacity (-1 = unknown)
170
+
uint16_tlift_period=0xffff; // Period (ms) for >=2 wheels to be lifted in order to count as emergency (0 = disable, 0xFFFF = unknown)
171
+
uint16_ttilt_period=0xffff; // Period (ms) for a single wheel to be lifted in order to count as emergency (0 = disable, 0xFFFF = unknown)
172
+
uint8_tshutdown_esc_max_pitch=0xff; // Do not shutdown ESCs if absolute pitch angle is greater than this (0 = disable, 0xff = unknown) (to be implemented, see OpenMower PR #97)
173
+
iso639_1language= {'e', 'n'}; // ISO 639-1 (2-char) language code (en, de, ...)
174
+
uint8_tvolume=0xff; // Volume (0-100%) feedback (if directly changed i.e. via CoverUI) (0xff = do not change)
175
+
HallConfighall_configs[MAX_HALL_INPUTS]; // Set all to UNDEFINED
176
+
// INFO: Before adding a new member here: Decide if and how much hall_configs spares do we like to have
177
+
178
+
// uint16_t crc; Just for illustration, that it get appended later within the wire buffer
0 commit comments