Skip to content
Permalink
Browse files
Add Ikea OTA download with curl and jq
  • Loading branch information
olivertheobald authored and manup committed Jun 22, 2019
1 parent 96b1c96 commit 630ac20b687e4384fef9fed652aee52f9ef1be0d
Showing 1 changed file with 7 additions and 0 deletions.
@@ -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.