Flipper Zero
A Multi-tool Device for Geeks
Support in Gadgetbridge
It's main purpose currently is to provide an Intent-based API to Tasker and similar apps to play sub-GHz files.
In the future, file management and other features might be useful.
Using Intent based API to play a file
Check if Flipper Zero is connected:
adb shell am broadcast \
-a "nodomain.freeyourgadget.gadgetbridge.BLUETOOTH_CONNECT" \
-e "EXTRA_DEVICE_ADDRESS" "xx:xx:xx:xx:xx"
Gadgetbridge then checks if the device is already connected. If it isn't, it tries to establish a connection. Whenever the device is initialized, Gb responds with the intent nodomain.freeyourgadget.gadgetbridge.BLUETOOTH_CONNECTED
, and by reading the extra EXTRA_DEVICE_ADDRESS
I can determine whether it's the Flipper that recently connected.
If so, I send the following Intent to play the file:
adb shell am broadcast \
-a "nodomain.freeyourgadget.gadgetbridge.flipper.zero.PLAY_FILE" \
-e "EXTRA_FILE_PATH" "/ext/subghz/Vehicles/Tesla/charge_650_long.sub" \
-e "EXTRA_DURATION" "5000"
Optional parameters
Optionally, you can specify EXTRA_APP_NAMEwith
infrared,
NFCor any other app. In case of
infrared, you also need to add
EXTRA_BUTTON_NAME` with the value of a button of a remote.
I then listen for the Intent nodomain.freeyourgadget.gadgetbridge.flipper.zero.PLAY_DONE
from Gb to react to the file play finishing.
General
- Home
- FAQ
- ReadMe
- Configuration
- Notifications
- ChangeLog
- Widget
- Weather
- Data Backup
- Pairing
- Find phone
- Music info
- Permissions Explained
- Firmware Update
- Automation via Intents
Sports/Activities
- Sports Activities Workouts
- Activity Sessions List
- Activity and Sleep Charts
- Heartrate measurement
- Integrating Sports Tracking apps with Gadgetbridge Sports Activities/Workouts
Smart Device Related
- Bangle.js
- Casio devices
- FitPro
- Fossil Hybrid HR
- Garmin devices
- HPlus
- Huami devices
- Amazfit Band 5
- Amazfit Band 7
- Amazfit Bip
- Amazfit Bip Lite
- Amazfit Bip S
- Amazfit Bip U
- Amazfit Bip 3 Pro
- Amazfit Bip 5
- Amazfit Cheetah
- Amazfit Cheetah Pro
- Amazfit Cor
- Amazfit Cor 2
- Amazfit Falcon
- Amazfit GTR
- Amazfit GTR 3
- Amazfit GTR 3 Pro
- Amazfit GTR 4
- Amazfit GTR Mini
- Amazfit GTS
- Amazfit GTS 3
- Amazfit GTS 4
- Amazfit GTS 4 Mini
- Amazfit Neo
- Amazfit T-Rex
- Amazfit T-Rex 2
- Amazfit T-Rex Ultra
- Mi Band 1
- Mi Band 2
- Mi Band 3
- Mi Band 4
- Mi Band 5
- Mi Band 6
- Mi Band 7
- MyKronoz ZeTime
- Pebble
- PineTime
- Sony Wena 3
- SMA
Wireless Earbuds
Others
- iTag Keyring trackers
- Nut Keyring trackers
- UM25 USB Voltage meter
- VESC BLDC controller VESC
- Flipper Zero Multi-tool Device for Geeks
- Roidmi Roidmi/Mojietu FM Trans.
- Vibratissimo Private toy
- Shell Racing Toy RC cars
Full list of supported devices
Development
- How to Release
- Developer Documentation
- BT Protocol Reverse Engineering
- Support for a new Device
- New Device Tutorial
- Translating Gadgetbridge
- OpenTracks-API
- Intent-API
Feature Discussion
FAQ