From 3c5019697d464a598cf6aeca3b243e4ff8f952e5 Mon Sep 17 00:00:00 2001 From: Derek Jamison Date: Sat, 20 Apr 2024 09:45:56 -0500 Subject: [PATCH] Add note about creating .sub files --- js/flipboard/readme.md | 1 + js/flipboard/sub/Light_off.sub | 10 ++++++++++ js/flipboard/sub/Light_on.sub | 10 ++++++++++ 3 files changed, 21 insertions(+) create mode 100644 js/flipboard/sub/Light_off.sub create mode 100644 js/flipboard/sub/Light_on.sub diff --git a/js/flipboard/readme.md b/js/flipboard/readme.md index d6f30c4..d8569ec 100644 --- a/js/flipboard/readme.md +++ b/js/flipboard/readme.md @@ -19,6 +19,7 @@ This tutorial is a guide to controlling the FlipBoard using JavaScript on Flippe - Navigate to `SD Card`/`apps`/`Scripts` folder. - Right click and choose `New Folder` and name it `flipboard`. - Navigate into the `flipboard` folder. +- Copy the files from the [sub](./sub) folder into the `SD Card`/`subghz` folder; or capture your own Sub-GHz signals and save them as `Light_on.sub` and `Light_off.sub`. Alternately, you can edit the [subghz_fb.js](./scripts/subghz_fb.js) file to use different signals. - Copy all of the files from the [scripts](./scripts/) into the `flipboard` folder. - Navigate to the `SD Card`/`apps_data`/`js_app`/`plugins` folder. - Copy the files from the [fal](./fal) folder that matches your firmware (for example if you are on Momentum dev branch from mid-April [mntm-dev-2024-04-19-a2fc553](./fal/mntm-dev-2024-04-19-a2fc553/)) into the `plugins` folder. diff --git a/js/flipboard/sub/Light_off.sub b/js/flipboard/sub/Light_off.sub new file mode 100644 index 0000000..9e18644 --- /dev/null +++ b/js/flipboard/sub/Light_off.sub @@ -0,0 +1,10 @@ +Filetype: Flipper SubGhz Key File +Version: 1 +Frequency: 433920000 +Preset: FuriHalSubGhzPresetOok650Async +Latitute: 0.000000 +Longitude: 0.000000 +Protocol: Princeton +Bit: 24 +Key: 00 00 00 00 00 52 81 14 +TE: 182 diff --git a/js/flipboard/sub/Light_on.sub b/js/flipboard/sub/Light_on.sub new file mode 100644 index 0000000..149c3e9 --- /dev/null +++ b/js/flipboard/sub/Light_on.sub @@ -0,0 +1,10 @@ +Filetype: Flipper SubGhz Key File +Version: 1 +Frequency: 433920000 +Preset: FuriHalSubGhzPresetOok650Async +Latitute: 0.000000 +Longitude: 0.000000 +Protocol: Princeton +Bit: 24 +Key: 00 00 00 00 00 52 81 1C +TE: 181