Comments (11)
Not so easy.
The audio files are played before the hack.
And the file system is a read only squashfs.
I can't overwrite the files without flashing the whole partition.
from sonoff-hack.
You can actually change it /mnt/mtd/ipc/cfg/En.wav - change the wav file to something with no sound. If I remove that file it talk in chinese, even during reboot so the changes are if you put a silent file there you have no voice
from sonoff-hack.
And what about the 2nd wav when the connection is done?
from sonoff-hack.
Thing is, the WAV file @alekslyse mentioned isn't really a WAV file. It's simply a renamed text file.
The real WAV files are in /mnt/mtd/ipc/app/res/En
but they can't be replaced cause the file system is read-only.
Maybe you can make an option script to disable those or replace them with custom sounds @roleoroleo? I wasn't able to figure out how to replace files or mount files from the SD to replace the ones in the read-only memory on bootup.
from sonoff-hack.
We could try to turn the volume down.
from sonoff-hack.
yes sorry my fault for not checking. I just did see a wav file and assumed it was the voice. sorry for that
from sonoff-hack.
Done:
b9e2852
from sonoff-hack.
Gave it a try and it indeed works, nice!
Trying to figure out how to replace the sounds now since the SD Card seems to only get mounted pretty late into the whole boot process so trying to copy files off of it won't work as easily :(
from sonoff-hack.
Managed to do it now! Had to mount the SD Card directly in the boot.sh for a short while, then copy the files over, then umount it again. Works now :D
https://twitter.com/EpicLPer/status/1319674142036283392
from sonoff-hack.
The sd is mounted in a temporary folder (/var/sdcard if I remember correctly).
You could copy the file from /var/sdcard to /tmp and then use mount --bind.
from sonoff-hack.
Working fine in 0.09 Thanks a bunch!
from sonoff-hack.
Related Issues (20)
- HA discovery needs update for MQTT config options HOT 8
- hostname broken on upgrade to 0.1.5 HOT 3
- It control not working HOT 28
- Feature: configurable FTP port HOT 2
- S-CAM Documentation HOT 9
- ftppush.sh: uses rmdir but rmdir does not exist on S-CAM HOT 5
- GK-200MP-C 4.1.2 20220712 HOT 1
- Pre release 0.1.6 available HOT 11
- Is my (slow) web performances normal? HOT 4
- Experiemce with latest firmware V5520.2053.0505build20230320 on GK-200MP2-B HOT 1
- Preset Preview Lost HOT 6
- S-CAM ewelink doesn't receive video HOT 1
- Where are the mqtt settings?
- Sonoff Camera 50520230320
- wifi not connected HOT 15
- Discovered entities with a name that starts with the device name HOT 6
- Updating stuff in the web interface doesn't necessarily update the system configurations HOT 3
- S-Cam freeze after a few hours HOT 1
- Adjusting brightness and contrast HOT 3
- Camera stucks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonoff-hack.