Skip to content
Permalink
Browse files

Add Ikea OTA download with curl and jq

  • Loading branch information
olivertheobald authored and manup committed Jun 19, 2019
1 parent 96b1c96 commit 630ac20b687e4384fef9fed652aee52f9ef1be0d
Showing with 7 additions and 0 deletions.
  1. +7 −0 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.
You can’t perform that action at this time.