Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 959 Bytes

File metadata and controls

28 lines (21 loc) · 959 Bytes

These scripts are used for

  1. Make a backup of map and important partition
  2. Play wave file from web

So far these scripts have been tested only on a Dreame D9 Pro vacuum. But may work on others (no gurantees)

Both of these files reside in /mnt/misc on vacuum

aplayweb.sh script need to be called from your remote server (I use node-red).

To backup, run following command..

ssh -i <sshKeypath> root@<dreame_ip> backup > "<someLocalFolder>/dreameMap-${todayDate}.tar.gz"

To play a wave file on vaccume..

ssh -i <sshKeypath> root@<dreame_ip> <full URL of wave file>

To install

  1. copy aplayweb.sh to /mnt/misc
  2. Add line to your /mnt/misc/authorized_keys using template provided in authorized_keys in this repo (you will need to generate a key pair to add. Read any guide to generate ssh key pair on your OS)
  3. Edit /data/_root_postboot.sh and add following line at the end
  cp /mnt/misc/aplayweb.sh /tmp/aplayweb.sh