Skip to content

Commit

Permalink
Add Ikea OTA download with curl and jq
Browse files Browse the repository at this point in the history
  • Loading branch information
olivertheobald authored and manup committed Jun 22, 2019
1 parent 96b1c96 commit 630ac20
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions linux/deCONZ/usr/bin/deCONZ-ikea-ota-download.sh
@@ -0,0 +1,7 @@
#!/bin/bash

curl 'http://fw.ota.homesmart.ikea.net/feed/version_info.json' | jq -r '[.[] | .fw_binary_url] | .[]' > $HOME/files.txt

cd $HOME/otau && xargs -n 1 curl -O < $HOME/files.txt

rm $HOME/files.txt

0 comments on commit 630ac20

Please sign in to comment.