UberGuidoZ / Flipper

Playground (and dump) of stuff I make or modify for the Flipper Zero
MIT License
12.82k stars 3.06k forks source link

Sleep files not delaying #514

Open mmiller7 opened 8 months ago

mmiller7 commented 8 months ago

The sleep files at https://github.com/UberGuidoZ/Flipper/tree/main/Sub-GHz/Sleep_Files no longer seem to cause the Flipper to delay in sending. When they appear in a playlist, the flipper seems to complete any amount of delay playback in much less than 1 second and move on to the next file.

martineliascz commented 5 months ago

@UberGuidoZ - How to fix this? Sleep files are no longer working in Unleashed nor Extreme fw. Thanks!

schmiernippel commented 5 months ago

Same problem here :-( Pleeeease fix it :-) greets

martineliascz commented 5 months ago

@UberGuidoZ, @mmiller7, @schmiernippel - Hey guys, I think I found a fix.. testing it atm...

schmiernippel commented 5 months ago

codeallnight / jamisonderek has found a fix....here are a 5sec file for test....rename it to .SUB sleep_5s_v2.txt

UberGuidoZ commented 5 months ago

This should work for sure - it's simply repeating the 1sec sleep file that already exists, 5 times. It's odd that the FW no longer recognizes the modified times within the SUB file. That is a bug that needs to be fixed likely with the FW itself.

Having to create SUB files that simply repeat the single second sleep for minutes will be a huge waste of space. But as long as it works for the now, that's something. Basically, as many seconds as you want to sleep, add a 1000 -999000 as a RAW per second:

1 second:

Filetype: Flipper SubGhz RAW File
Version: 1
Frequency: 433000000
Preset: FuriHalSubGhzPresetOok650Async
Protocol: RAW
RAW_Data: 1000 -999000

5 seconds:

Filetype: Flipper SubGhz RAW File
Version: 1
Frequency: 433000000
Preset: FuriHalSubGhzPresetOok650Async
Protocol: RAW
RAW_Data: 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000

10 seconds:

Filetype: Flipper SubGhz RAW File
Version: 1
Frequency: 433000000
Preset: FuriHalSubGhzPresetOok650Async
Protocol: RAW
RAW_Data: 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000 1000 -999000

And so on... now image 60 seconds. Just a lot of wasted space when it USED to work to modify the time the signal is sent instead. I'll need to test more before I change it all up. 🤔

martineliascz commented 5 months ago

@UberGuidoZ - I see. Hopefully this will be fixed in new firmware..

Meanwhile, here are all the sleep files. Tested them and seems they are working just fine..

flipper_sleep_files.zip

UberGuidoZ commented 4 months ago

Thank you. I'll post them with the caveat they are going to be quite large. I do have concerns they may crash the Flipper in certain cases, especially the larger/longer delays. I'd most certainly like to figure out why they original ones suddenly stopped working as they are fully within specs.

Maybe @darmiel has an idea?