Skip to content

Commit

Permalink
Update Readmes, added version to info screen
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lee committed Feb 5, 2024
1 parent 34a5851 commit 925d739
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 3 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ Wouldn't it be nicer to simply click one button and let everything happen? This
- Add pauses, becaue target systems are not always fast enough for multiple commands<br>
- Run file containing chained IR & SubGhz commands<br>

### Settings
- LED FX, allow the LED to blink
- Save settings, stores a file with your settings in it on exit
- IR time ms, the default duration of an IR signal transmission. Individual times can be set
- SubG. time ms, the default duration of a SubGhz signal. Only needed for Encoded signals, RAW files play until finished

### Limitations
SubGhz commands will stop working if you move/rename/delete the original files on your Flipper. This is because
of how the Flippers SubGhz worker expects data.
SubGhz commands will stop working if you move/rename/delete the original files on your Flipper. This is because of how the Flippers SubGhz worker expects data.

After an upgrade a crash on exit can occur, due to small improvements to the file formats. Sorry about that, it only happens once.

## How to install on Flipper Zero
- If you do not have one, download a firmware<br>
Expand Down
2 changes: 1 addition & 1 deletion application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ App(
stack_size=3 * 1024,
fap_icon="icons/xremote_10px.png",
fap_icon_assets="icons",
fap_version="2.3",
fap_version="2.4",
fap_category="Infrared",
fap_author="Leedave",
fap_description="One-Click, sends multiple commands",
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This app combines your IR and SubGhz commands into a playlist that can be run wi
- Save your command chain / playlist to flipper
- Disable LED effects if not wanted
- Configure duration of IR Signals
- Configure default duration of Encoded SubGhz Signals

## What good is this?

Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.4
- Added support for encoded SubGhz files
- Added timer for SubGhz transmission (not needed in RAW files)
- Added version number to app info screen
- Minor updates/instrutions in readme.md

## 2.3
- Fixed Crash after creating chains with SubGhz Items

Expand Down
4 changes: 4 additions & 0 deletions views/xremote_infoscreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ void xremote_infoscreen_set_callback(

void xremote_infoscreen_draw(Canvas* canvas, XRemoteInfoscreenModel* model) {
UNUSED(model);
char buffer[64];
canvas_clear(canvas);
canvas_set_color(canvas, ColorBlack);
canvas_set_font(canvas, FontPrimary);
canvas_draw_str_aligned(canvas, 64, 10, AlignCenter, AlignTop, "Cross Remote");
canvas_set_font(canvas, FontSecondary);
canvas_draw_str_aligned(canvas, 64, 22, AlignCenter, AlignTop, "Chain IR and SubGhz");
canvas_draw_str_aligned(canvas, 64, 32, AlignCenter, AlignTop, "Commands");

snprintf(buffer, sizeof(buffer), "Version: %s", XREMOTE_VERSION);
canvas_draw_str_aligned(canvas, 64, 42, AlignCenter, AlignTop, buffer);
elements_button_center(canvas, "Back");
}

Expand Down
1 change: 1 addition & 0 deletions xremote_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#define XREMOTE_TEXT_STORE_SIZE 128
#define XREMOTE_MAX_ITEM_NAME_LENGTH 22
#define XREMOTE_MAX_REMOTE_NAME_LENGTH 22
#define XREMOTE_VERSION "2.4"

#define INFRARED_APP_EXTENSION ".ir"
#define INFRARED_APP_FOLDER ANY_PATH("infrared")
Expand Down

0 comments on commit 925d739

Please sign in to comment.