Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
VAN0527 authored Dec 11, 2024
2 parents 26e2fc8 + d664c2b commit b9931c6
Show file tree
Hide file tree
Showing 8 changed files with 505 additions and 9 deletions.
64 changes: 63 additions & 1 deletion uiflow-1.x/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -4342,5 +4342,67 @@
"UNIT_JOYSTICK2_SET_DEADZONE_POSITION": "%1 Set deadzone with position X %2 (0 ~ 4096) and Y %3 (0 ~ 4096)",
"UNIT_JOYSTICK2_SET_AXIS_X_MAPPING": "%1 Set mapping parameters of the x-axis with %2 min negative ADC value (0 ~ 65536) %3 max negative ADC value (0 ~ 65536) %4 min positive ADC value (0 ~ 65536) %5 max positive ADC value (0 ~ 65536) %6",
"UNIT_JOYSTICK2_SET_AXIS_Y_MAPPING": "%1 Set mapping parameters of the y-axis with %2 min negative ADC value (0 ~ 65536) %3 max negative ADC value (0 ~ 65536) %4 min positive ADC value (0 ~ 65536) %5 max positive ADC value (0 ~ 65536) %6",
"UNIT_JOYSTICK2_SET_LED_BRIGHTNESS": "%1 Set LED brightness %2 % (0 ~ 100)"
"UNIT_JOYSTICK2_SET_LED_BRIGHTNESS": "%1 Set LED brightness %2 % (0 ~ 100)",
"UNIT_TIMERPWR": "TimerPWR",
"UNIT_TIMERPWR_INIT": "Init %1 I2C address %2",
"UNIT_TIMERPWR_GET_FIRMWARE_VERSION": "Get %1 firmware version (return int)",
"UNIT_TIMERPWR_GET_BATTERY_VOLTAGE": "Get %1 battery voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_BATTERY_CURRENT": "Get %1 battery current in milliamperes (return int)",
"UNIT_TIMERPWR_GET_USB_VOLTAGE": "Get %1 usb voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_USB_CURRENT": "Get %1 usb current in milliamperes (return int)",
"UNIT_TIMERPWR_GET_GROVE_VOLTAGE": "Get %1 grove voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_GROVE_CURRENT": "Get %1 grove current in milliamperes (return int)",
"UNIT_TIMERPWR_IS_CHARGING": "%1 is battery charging (return True or False)",
"UNIT_TIMERPWR_GET_BUTTON_STATUS": "Get %1 button %2 status (return True or False)",
"UNIT_TIMERPWR_SAVE_DATA_TO_FLASH": "Save %1 data to flash",
"UNIT_TIMERPWR_GET_GROVE_OUTPUT_STATUS": "Get %1 grove output status (return True or False)",
"UNIT_TIMERPWR_SET_GROVE_OUTPUT_STATUS": "Set %1 grove output %2",
"UNIT_TIMERPWR_GET_OLED_BACKLIGHT_STATUS": "Get %1 grove oled backlight status (return True or False)",
"UNIT_TIMERPWR_SET_OLED_BACKLIGHT_STATUS": "Set %1 oled backlight %2",
"UNIT_TIMERPWR_SET_WAKEUP_TRIGGER": "Set %1 wake-up trigger %2",
"UNIT_TIMERPWR_SET_SLEEP_TRIGGER": "Set %1 sleep trigger %2",
"UNIT_TIMERPWR_SLEEP_ONCE": "Set %1 %2 sleep once after %3 wake up in %4",
"UNIT_TIMERPWR_SLEEP_CYCLE": "Set %1 %2 sleep cycle after %3 wake up in %4",
"UNIT_TIMERPWR_TIME_INPUT_MSG0": "hours (0 ~ 255)",
"UNIT_TIMERPWR_TIME_INPUT_MSG1": "minutes (0 ~ 59)",
"UNIT_TIMERPWR_TIME_INPUT_MSG2": "seconds (0 ~ 59)",
"UNIT_TIMERPWR_USB_CALLBACK": "When %1 was USB %2",
"UNIT_TIMERPWR_CHARGING_CALLBACK": "When %1 %2",
"UNIT_TIMERPWR_BUTTON_CALLBACK": "When %1 button %2 was %3",
"UNIT_TIMERPWR_TICK": "%1 check event in loop",
"MODULE_LLM": "LLM",
"MODULE_LLM_INIT": "Init LLM %1 with %2 UART %3 TX %4 RX %5",
"MODULE_LLM_TICK": "Update %1 in loop",
"MODULE_LLM_CHECK_CONNECTION": "%1 is connection normal (return True or False)",
"MODULE_LLM_GET_RESPONSE_MSG_LIST": "Get %1 response msg list (return list)",
"MODULE_LLM_CLEAR_RESPONSE_MSG_LIST": "Clear %1 response msg list",
"MODULE_LLM_SYS_PING": "%1 Send ping signal",
"MODULE_LLM_SYS_RESET": "Reset %1 wait reset finish %2",
"MODULE_LLM_SYS_REBOOT": "Reboot %1",
"MODULE_LLM_SETUP": "%1 Setup LLM with %2 system prompt %3 model %4 enoutput %5 enkws %6 max token length %7 request id %8",
"MODULE_LLM_INFERENCE": "%1 LLM inference with %2 work id %3 input data %4 request id %5",
"MODULE_LLM_TTS_INFERENCE": "%1 TTS inference with %2 work id %3 input data %4 timeout %5 request id %6",
"MODULE_LLM_AUDIO_SETUP": "%1 Setup audio with %2 cap volume %3 play volume %4 request id %5",
"MODULE_LLM_TTS_SETUP": "%1 Setup TTS with %2 model %3 input %4 enoutput %5 enkws %6 request id %7",
"MODULE_LLM_KWS_SETUP": "%1 Setup KWS with %2 wake-up keyword %3 model %4 enoutput %5 request id %6",
"MODULE_LLM_ASR_SETUP": "%1 Setup ASR with %2 model %3 enoutput %4 enkws %5 wake-up no content timeout %6 ASR no content timeout %7 ASR max recognition timeout %8 request id %9",
"MODULE_LLM_BEGIN_VOICE_ASSISTANT": "%1 Begin voice assistant preset with %2 wake-up keyword %3 system prompt %4 (return True or False)",
"MODULE_LLM_KEYWORD_DETECTED_CALLBACK": "When %1 detected keyword",
"MODULE_LLM_ASR_DATA_INPUT_CALLBACK": "When %1 ASR data input %2 data %3 finish %4 index %5",
"MODULE_LLM_DATA_INPUT_CALLBACK": "When %1 LLM data input %2 data %3 finish %4 index %5",
"MODULE_LLM_GET_LATEST_LLM_WORK_ID": "Get %1 latest llm work id (return string)",
"MODULE_LLM_GET_LATEST_AUDIO_WORK_ID": "Get %1 latest audio work id (return string)",
"MODULE_LLM_GET_LATEST_TTS_WORK_ID": "Get %1 latest tts work id (return string)",
"MODULE_LLM_GET_LATEST_KWS_WORK_ID": "Get %1 latest kws work id (return string)",
"MODULE_LLM_GET_LATEST_ASR_WORK_ID": "Get %1 latest asr work id (return string)",
"MODULE_LLM_GET_LATEST_ERROR_CODE": "Get %1 latest error code (return int)",
"UNIT_PUZZLE": "Puzzle",
"UNIT_PUZZLE_INIT": "Init %1 nodes quantity is %2 (1 ~ 100)",
"UNIT_PUZZLE_SET_COLOR": "Set %1 index (1 ~ 64) %2 RGB color %3",
"UNIT_PUZZLE_SET_BRIGHTNESS": "Set %1 brightness to %2 (0 ~ 100)",
"UNIT_PUZZLE_SET_COLOR_FROM": "Set %1 from %2 to %3 RGB color %4",
"UNIT_PUZZLE_SET_COLOR_ALL": "Set %1 all RGB color %2",
"UNIT_PUZZLE_SET_SHOW_LOCK": "Set %1 show lock %2",
"UNIT_PUZZLE_SHOW": "Show %1 RGB LED",
"UNIT_PUZZLE_SET_HEXAGON_MATRIX": "hexagon matrix in"
}
64 changes: 63 additions & 1 deletion uiflow-1.x/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4302,5 +4302,67 @@
"UNIT_JOYSTICK2_SET_DEADZONE_POSITION": "%1 Set deadzone with position X %2 (0 ~ 4096) and Y %3 (0 ~ 4096)",
"UNIT_JOYSTICK2_SET_AXIS_X_MAPPING": "%1 Set mapping parameters of the x-axis with %2 min negative ADC value (0 ~ 65536) %3 max negative ADC value (0 ~ 65536) %4 min positive ADC value (0 ~ 65536) %5 max positive ADC value (0 ~ 65536) %6",
"UNIT_JOYSTICK2_SET_AXIS_Y_MAPPING": "%1 Set mapping parameters of the y-axis with %2 min negative ADC value (0 ~ 65536) %3 max negative ADC value (0 ~ 65536) %4 min positive ADC value (0 ~ 65536) %5 max positive ADC value (0 ~ 65536) %6",
"UNIT_JOYSTICK2_SET_LED_BRIGHTNESS": "%1 Set LED brightness %2 % (0 ~ 100)"
"UNIT_JOYSTICK2_SET_LED_BRIGHTNESS": "%1 Set LED brightness %2 % (0 ~ 100)",
"UNIT_TIMERPWR": "TimerPWR",
"UNIT_TIMERPWR_INIT": "Init %1 I2C address %2",
"UNIT_TIMERPWR_GET_FIRMWARE_VERSION": "Get %1 firmware version (return int)",
"UNIT_TIMERPWR_GET_BATTERY_VOLTAGE": "Get %1 battery voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_BATTERY_CURRENT": "Get %1 battery current in milliamperes (return int)",
"UNIT_TIMERPWR_GET_USB_VOLTAGE": "Get %1 usb voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_USB_CURRENT": "Get %1 usb current in milliamperes (return int)",
"UNIT_TIMERPWR_GET_GROVE_VOLTAGE": "Get %1 grove voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_GROVE_CURRENT": "Get %1 grove current in milliamperes (return int)",
"UNIT_TIMERPWR_IS_CHARGING": "%1 is battery charging (return True or False)",
"UNIT_TIMERPWR_GET_BUTTON_STATUS": "Get %1 button %2 status (return True or False)",
"UNIT_TIMERPWR_SAVE_DATA_TO_FLASH": "Save %1 data to flash",
"UNIT_TIMERPWR_GET_GROVE_OUTPUT_STATUS": "Get %1 grove output status (return True or False)",
"UNIT_TIMERPWR_SET_GROVE_OUTPUT_STATUS": "Set %1 grove output %2",
"UNIT_TIMERPWR_GET_OLED_BACKLIGHT_STATUS": "Get %1 grove oled backlight status (return True or False)",
"UNIT_TIMERPWR_SET_OLED_BACKLIGHT_STATUS": "Set %1 oled backlight %2",
"UNIT_TIMERPWR_SET_WAKEUP_TRIGGER": "Set %1 wake-up trigger %2",
"UNIT_TIMERPWR_SET_SLEEP_TRIGGER": "Set %1 sleep trigger %2",
"UNIT_TIMERPWR_SLEEP_ONCE": "Set %1 %2 sleep once after %3 wake up in %4",
"UNIT_TIMERPWR_SLEEP_CYCLE": "Set %1 %2 sleep cycle after %3 wake up in %4",
"UNIT_TIMERPWR_TIME_INPUT_MSG0": "hours (0 ~ 255)",
"UNIT_TIMERPWR_TIME_INPUT_MSG1": "minutes (0 ~ 59)",
"UNIT_TIMERPWR_TIME_INPUT_MSG2": "seconds (0 ~ 59)",
"UNIT_TIMERPWR_USB_CALLBACK": "When %1 was USB %2",
"UNIT_TIMERPWR_CHARGING_CALLBACK": "When %1 %2",
"UNIT_TIMERPWR_BUTTON_CALLBACK": "When %1 button %2 was %3",
"UNIT_TIMERPWR_TICK": "%1 check event in loop",
"MODULE_LLM": "LLM",
"MODULE_LLM_INIT": "Init LLM %1 with %2 UART %3 TX %4 RX %5",
"MODULE_LLM_TICK": "Update %1 in loop",
"MODULE_LLM_CHECK_CONNECTION": "%1 is connection normal (return True or False)",
"MODULE_LLM_GET_RESPONSE_MSG_LIST": "Get %1 response msg list (return list)",
"MODULE_LLM_CLEAR_RESPONSE_MSG_LIST": "Clear %1 response msg list",
"MODULE_LLM_SYS_PING": "%1 Send ping signal",
"MODULE_LLM_SYS_RESET": "Reset %1 wait reset finish %2",
"MODULE_LLM_SYS_REBOOT": "Reboot %1",
"MODULE_LLM_SETUP": "%1 Setup LLM with %2 system prompt %3 model %4 enoutput %5 enkws %6 max token length %7 request id %8",
"MODULE_LLM_INFERENCE": "%1 LLM inference with %2 work id %3 input data %4 request id %5",
"MODULE_LLM_TTS_INFERENCE": "%1 TTS inference with %2 work id %3 input data %4 timeout %5 request id %6",
"MODULE_LLM_AUDIO_SETUP": "%1 Setup audio with %2 cap volume %3 play volume %4 request id %5",
"MODULE_LLM_TTS_SETUP": "%1 Setup TTS with %2 model %3 input %4 enoutput %5 enkws %6 request id %7",
"MODULE_LLM_KWS_SETUP": "%1 Setup KWS with %2 wake-up keyword %3 model %4 enoutput %5 request id %6",
"MODULE_LLM_ASR_SETUP": "%1 Setup ASR with %2 model %3 enoutput %4 enkws %5 wake-up no content timeout %6 ASR no content timeout %7 ASR max recognition timeout %8 request id %9",
"MODULE_LLM_BEGIN_VOICE_ASSISTANT": "%1 Begin voice assistant preset with %2 wake-up keyword %3 system prompt %4 (return True or False)",
"MODULE_LLM_KEYWORD_DETECTED_CALLBACK": "When %1 detected keyword",
"MODULE_LLM_ASR_DATA_INPUT_CALLBACK": "When %1 ASR data input %2 data %3 finish %4 index %5",
"MODULE_LLM_DATA_INPUT_CALLBACK": "When %1 LLM data input %2 data %3 finish %4 index %5",
"MODULE_LLM_GET_LATEST_LLM_WORK_ID": "Get %1 latest llm work id (return string)",
"MODULE_LLM_GET_LATEST_AUDIO_WORK_ID": "Get %1 latest audio work id (return string)",
"MODULE_LLM_GET_LATEST_TTS_WORK_ID": "Get %1 latest tts work id (return string)",
"MODULE_LLM_GET_LATEST_KWS_WORK_ID": "Get %1 latest kws work id (return string)",
"MODULE_LLM_GET_LATEST_ASR_WORK_ID": "Get %1 latest asr work id (return string)",
"MODULE_LLM_GET_LATEST_ERROR_CODE": "Get %1 latest error code (return int)",
"UNIT_PUZZLE": "Puzzle",
"UNIT_PUZZLE_INIT": "Init %1 nodes quantity is %2 (1 ~ 100)",
"UNIT_PUZZLE_SET_COLOR": "Set %1 index (1 ~ 64) %2 RGB color %3",
"UNIT_PUZZLE_SET_BRIGHTNESS": "Set %1 brightness to %2 (0 ~ 100)",
"UNIT_PUZZLE_SET_COLOR_FROM": "Set %1 from %2 to %3 RGB color %4",
"UNIT_PUZZLE_SET_COLOR_ALL": "Set %1 all RGB color %2",
"UNIT_PUZZLE_SET_SHOW_LOCK": "Set %1 show lock %2",
"UNIT_PUZZLE_SHOW": "Show %1 RGB LED",
"UNIT_PUZZLE_SET_HEXAGON_MATRIX": "hexagon matrix in"
}
64 changes: 63 additions & 1 deletion uiflow-1.x/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4345,5 +4345,67 @@
"UNIT_JOYSTICK2_SET_DEADZONE_POSITION": "%1 Set deadzone with position X %2 (0 ~ 4096) and Y %3 (0 ~ 4096)",
"UNIT_JOYSTICK2_SET_AXIS_X_MAPPING": "%1 Set mapping parameters of the x-axis with %2 min negative ADC value (0 ~ 65536) %3 max negative ADC value (0 ~ 65536) %4 min positive ADC value (0 ~ 65536) %5 max positive ADC value (0 ~ 65536) %6",
"UNIT_JOYSTICK2_SET_AXIS_Y_MAPPING": "%1 Set mapping parameters of the y-axis with %2 min negative ADC value (0 ~ 65536) %3 max negative ADC value (0 ~ 65536) %4 min positive ADC value (0 ~ 65536) %5 max positive ADC value (0 ~ 65536) %6",
"UNIT_JOYSTICK2_SET_LED_BRIGHTNESS": "%1 Set LED brightness %2 % (0 ~ 100)"
"UNIT_JOYSTICK2_SET_LED_BRIGHTNESS": "%1 Set LED brightness %2 % (0 ~ 100)",
"UNIT_TIMERPWR": "TimerPWR",
"UNIT_TIMERPWR_INIT": "Init %1 I2C address %2",
"UNIT_TIMERPWR_GET_FIRMWARE_VERSION": "Get %1 firmware version (return int)",
"UNIT_TIMERPWR_GET_BATTERY_VOLTAGE": "Get %1 battery voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_BATTERY_CURRENT": "Get %1 battery current in milliamperes (return int)",
"UNIT_TIMERPWR_GET_USB_VOLTAGE": "Get %1 usb voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_USB_CURRENT": "Get %1 usb current in milliamperes (return int)",
"UNIT_TIMERPWR_GET_GROVE_VOLTAGE": "Get %1 grove voltage in millivolt (return int)",
"UNIT_TIMERPWR_GET_GROVE_CURRENT": "Get %1 grove current in milliamperes (return int)",
"UNIT_TIMERPWR_IS_CHARGING": "%1 is battery charging (return True or False)",
"UNIT_TIMERPWR_GET_BUTTON_STATUS": "Get %1 button %2 status (return True or False)",
"UNIT_TIMERPWR_SAVE_DATA_TO_FLASH": "Save %1 data to flash",
"UNIT_TIMERPWR_GET_GROVE_OUTPUT_STATUS": "Get %1 grove output status (return True or False)",
"UNIT_TIMERPWR_SET_GROVE_OUTPUT_STATUS": "Set %1 grove output %2",
"UNIT_TIMERPWR_GET_OLED_BACKLIGHT_STATUS": "Get %1 grove oled backlight status (return True or False)",
"UNIT_TIMERPWR_SET_OLED_BACKLIGHT_STATUS": "Set %1 oled backlight %2",
"UNIT_TIMERPWR_SET_WAKEUP_TRIGGER": "Set %1 wake-up trigger %2",
"UNIT_TIMERPWR_SET_SLEEP_TRIGGER": "Set %1 sleep trigger %2",
"UNIT_TIMERPWR_SLEEP_ONCE": "Set %1 %2 sleep once after %3 wake up in %4",
"UNIT_TIMERPWR_SLEEP_CYCLE": "Set %1 %2 sleep cycle after %3 wake up in %4",
"UNIT_TIMERPWR_TIME_INPUT_MSG0": "hours (0 ~ 255)",
"UNIT_TIMERPWR_TIME_INPUT_MSG1": "minutes (0 ~ 59)",
"UNIT_TIMERPWR_TIME_INPUT_MSG2": "seconds (0 ~ 59)",
"UNIT_TIMERPWR_USB_CALLBACK": "When %1 was USB %2",
"UNIT_TIMERPWR_CHARGING_CALLBACK": "When %1 %2",
"UNIT_TIMERPWR_BUTTON_CALLBACK": "When %1 button %2 was %3",
"UNIT_TIMERPWR_TICK": "%1 check event in loop",
"MODULE_LLM": "LLM",
"MODULE_LLM_INIT": "Init LLM %1 with %2 UART %3 TX %4 RX %5",
"MODULE_LLM_TICK": "Update %1 in loop",
"MODULE_LLM_CHECK_CONNECTION": "%1 is connection normal (return True or False)",
"MODULE_LLM_GET_RESPONSE_MSG_LIST": "Get %1 response msg list (return list)",
"MODULE_LLM_CLEAR_RESPONSE_MSG_LIST": "Clear %1 response msg list",
"MODULE_LLM_SYS_PING": "%1 Send ping signal",
"MODULE_LLM_SYS_RESET": "Reset %1 wait reset finish %2",
"MODULE_LLM_SYS_REBOOT": "Reboot %1",
"MODULE_LLM_SETUP": "%1 Setup LLM with %2 system prompt %3 model %4 enoutput %5 enkws %6 max token length %7 request id %8",
"MODULE_LLM_INFERENCE": "%1 LLM inference with %2 work id %3 input data %4 request id %5",
"MODULE_LLM_TTS_INFERENCE": "%1 TTS inference with %2 work id %3 input data %4 timeout %5 request id %6",
"MODULE_LLM_AUDIO_SETUP": "%1 Setup audio with %2 cap volume %3 play volume %4 request id %5",
"MODULE_LLM_TTS_SETUP": "%1 Setup TTS with %2 model %3 input %4 enoutput %5 enkws %6 request id %7",
"MODULE_LLM_KWS_SETUP": "%1 Setup KWS with %2 wake-up keyword %3 model %4 enoutput %5 request id %6",
"MODULE_LLM_ASR_SETUP": "%1 Setup ASR with %2 model %3 enoutput %4 enkws %5 wake-up no content timeout %6 ASR no content timeout %7 ASR max recognition timeout %8 request id %9",
"MODULE_LLM_BEGIN_VOICE_ASSISTANT": "%1 Begin voice assistant preset with %2 wake-up keyword %3 system prompt %4 (return True or False)",
"MODULE_LLM_KEYWORD_DETECTED_CALLBACK": "When %1 detected keyword",
"MODULE_LLM_ASR_DATA_INPUT_CALLBACK": "When %1 ASR data input %2 data %3 finish %4 index %5",
"MODULE_LLM_DATA_INPUT_CALLBACK": "When %1 LLM data input %2 data %3 finish %4 index %5",
"MODULE_LLM_GET_LATEST_LLM_WORK_ID": "Get %1 latest llm work id (return string)",
"MODULE_LLM_GET_LATEST_AUDIO_WORK_ID": "Get %1 latest audio work id (return string)",
"MODULE_LLM_GET_LATEST_TTS_WORK_ID": "Get %1 latest tts work id (return string)",
"MODULE_LLM_GET_LATEST_KWS_WORK_ID": "Get %1 latest kws work id (return string)",
"MODULE_LLM_GET_LATEST_ASR_WORK_ID": "Get %1 latest asr work id (return string)",
"MODULE_LLM_GET_LATEST_ERROR_CODE": "Get %1 latest error code (return int)",
"UNIT_PUZZLE": "Puzzle",
"UNIT_PUZZLE_INIT": "Init %1 nodes quantity is %2 (1 ~ 100)",
"UNIT_PUZZLE_SET_COLOR": "Set %1 index (1 ~ 64) %2 RGB color %3",
"UNIT_PUZZLE_SET_BRIGHTNESS": "Set %1 brightness to %2 (0 ~ 100)",
"UNIT_PUZZLE_SET_COLOR_FROM": "Set %1 from %2 to %3 RGB color %4",
"UNIT_PUZZLE_SET_COLOR_ALL": "Set %1 all RGB color %2",
"UNIT_PUZZLE_SET_SHOW_LOCK": "Set %1 show lock %2",
"UNIT_PUZZLE_SHOW": "Show %1 RGB LED",
"UNIT_PUZZLE_SET_HEXAGON_MATRIX": "hexagon matrix in"
}
Loading

0 comments on commit b9931c6

Please sign in to comment.